* grub-core/kern/emu/main.c (main): Reinit LVM and RAID.

* util/grub-probe.c (main): Likewise.
	* util/i386/pc/grub-setup.c (main): Likewise.
	* util/sparc64/ieee1275/grub-setup.c (main): Likewise.
	Reported and debugged by: alexxy
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-09-05 23:24:57 +02:00
parent 294f324d89
commit 88b87c9313
5 changed files with 36 additions and 0 deletions

View file

@ -197,6 +197,13 @@ main (int argc, char *argv[])
grub_init_all ();
grub_lvm_fini ();
grub_mdraid_fini ();
grub_raid_fini ();
grub_raid_init ();
grub_mdraid_init ();
grub_lvm_init ();
/* Make sure that there is a root device. */
if (! root_dev)
{