Booting Fedora from LVM with grub2

Jochen Schmitt Jochen at herr-schmitt.de
Thu Mar 22 18:41:16 UTC 2012


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


Hallo,

because I have read, that grub2 should be able to boot from LVM. I have
done the
following test in a VM

1.) Fresh install of Fedora 16. Unfortunately, I can't create a disk
which contains olny
a volume group, so I have taken the default partition schema to install
Fedora..

2.) An full update of the Systen (yum update)

3.) Create a /bootx directory

4.) Copy the content of /boot into /bootx

5.) unmount /boot

6.) Remove /boot from /etc/fstab

7.) Clean all content of the ummountet /boot partition

8.) Rename /bootx into /boot

9. Make a grub2-install /dev/sda to install grub2 again

10. Make a cd /boot/grub2; grub2-mkconfig -o grub.cfg to
generate the rigth entries in the grub configuration file.

11. Reboot the system succesfully.

I would like to know, if this works for other people too.

Additionally, It may be nice, if we can modifiy anaconda in the way,
that you can create a paritition schema which contains only one volume
group and allow to install grub2 as a bootloader in this case.into the
MBR.

Of corse, this will not suppoert by the legacy grub release.

Best Regards:

Jochen Schmitt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iJwEAQECAAYFAk9rckwACgkQZLAIBz9lVu9R6gP+N8DjkUQAihEFZxiUuUwCRTdj
4mVrGw8A5jE2OFeBrgD4DO8RcdUeCmWPOjPvHqdDT9R/S5TUQbhEJSxJHks3P2Ye
pgFau5OflPpgGP+A8HUsevykIyjGcvyuTzYQ2VqnoBQdE+kHTumd1zyuc7EZeM1j
1YCbk2ZJp6Z+Fj6HBLg=
=o3Jf
-----END PGP SIGNATURE-----


More information about the devel mailing list