[Bf-committers] Booting Fedora from LVM with grub2

Jochen Schmitt Jochen at herr-schmitt.de
Wed Mar 21 21:36:22 CET 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/

iJwEAQECAAYFAk9qO8UACgkQZLAIBz9lVu/UAgQAhV4isX42qhj7P8xBAepURDkp
NZe9IgEWH3guMLU9q4xNAUp20IJZJPtzxIWqBLft4+vOk6wjM3oIhgGg9Gw8nTTU
bydukT8OUwHANaHYPm/Jj3FPSuBg+dVGw4IWR9rw8ZjeIs+YrF+2WhCc+oO98nOn
0AxXbK9cmaNc4VjkXxM=
=hvFm
-----END PGP SIGNATURE-----



More information about the Bf-committers mailing list