[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: grub-pc mdadm root



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10.01.2012 00:13, Marc Auslander wrote:
> Is it possible to boot a raid root file system.  I'm having trouble
> finding up to date documentation.
> 
> Some searchs talk about a separate /boot partition - I don't 
> understand why that is needed or relevant.
> 
> I'm assuming I'd make a mdadm v 1.2 raid 1 partition for root.
> 
> Can someone either tell me if this is workable, or point me at 
> documentation.  (the current grub-pc info is silent about mdadm).
> 
> google search lead to various bug reports.
Hi,

- From my experience it works with grub2 out of the box. Iirc, you do
not need to do anything special, just setup the raid in the installer,
install the system and let the installer setup grub2.

The stuff about /boot is for users with grub1 or other bootloaders not
capable to boot directly from mdadm-volumes (or lvm or whatever).
Another situation where you have to think about /boot is if your going
to encrypt your root using cryptsetup.
Afaik you even should even be able to use LVM on raid without much
trouble, but i never actually tried to do that.

Greetings
HP
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8MJZ4ACgkQjLvx8ViUjYL91wCeOFbj9F/CKwl5C4KW2jjWITKZ
39IAnRhrlv5CMjw70oN1QvFNCH3UdDCD
=V5lH
-----END PGP SIGNATURE-----


Reply to: