Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376691 - Please document the domdadm boot parameter
Summary: Please document the domdadm boot parameter
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/gentoo-x...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-28 08:58 UTC by Andre Kloth
Modified: 2011-08-23 15:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Kloth 2011-07-28 08:58:37 UTC
If you follow this guide and create e.g. a RAID 1 for /boot with metadata 0.9, but swap and / RAIDs with metadata 1.2 (mdadm default value), your system won't boot after installation. You have to manually assemble the RAID 1 for / in the Busybox shell of initramfs.

However, you can circumvent this problem by adding "domdadm" to the kernel boot parameter list. The initramfs (which is created by genkernel) will then assemble all RAIDs according to the previously configured /etc/mdadm.conf.

If you don't use genkernel, you must prepare your own initramfs in order to get a / with metadata 1.2 mounted at startup. An example of such initramfs is at: http://forums.gentoo.org/viewtopic-p-6767430.html

Reproducible: Always

Steps to Reproduce:
1. Build RAID 1 with metadata 0.9 for /boot
2. Build RAID 1 with metadata 1.2 for swap and /
3. Try to boot the system according to the RAID quickinstall guide
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2011-08-23 15:00:43 UTC
Actually, the guide mentions the use of 0.90 for / and /boot, which should work (I use it on my laptop without initramfs without problems). But I'll add the domdadm information to the guide.
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2011-08-23 15:12:37 UTC
Fixed in CVS. This should show up in an hour or so online.