Didier Kryn: > Le 20/01/2016 13:14, Simon Hobson a écrit : ... > > AIUI, if you use md and raid1, with metadata version 0.9, for > > /boot - then each member of the raid set contains a complete > > image of /boot which is safe to use read-only. So the bootloader > > doesn't need to understand md, and the rest can be taken care of > > in the initramfs/initrd (it's OK if said quickly and I slam the
You don't have to use initramfs to boot from md, just add root=/dev/md2 md=2,/dev/sda2,/dev/sdb2 or similar to your boot cmdline or use CONFIG_MD_AUTODETECT=y in your kernel config; see <kernel_source>/Documentation/md.txt. > > lid back down before the worms crawl out !) ... > Dunno enough about metadata version, but, yes, I experimented this > setup with md1 and it worked. If boot fails from the first disk, you can > ask the BIOS to boot from the other one and it works. It worked for > Grub-0.9 as well. Regards, /Karl Hammar ----------------------------------------------------------------------- Aspö Data Lilla Aspö 148 S-742 94 Östhammar Sweden +46 173 140 57 _______________________________________________ Dng mailing list [email protected] https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
