Red Hat Bugzilla – Bug 106389
grub is not installed properly when using software raid + LVM
Last modified: 2007-11-30 17:10:31 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1) Gecko/20031003
Description of problem:
Ran through a new install of test2 over the weekend. I have two 200 GB Maxtor
drives (hde and hdg on a promise TX133 controller).
Using Disk Druid, I created a three partitions on each drive. The partitions are:
the rest of the drive.
I created md0 (RAID1) using the two 256 MB partitions and set the mount point to
/boot (it is shown as being at the front of the disk).
I created md1 (RAID1) using the two 2000 MB partitions and set the type to swap.
I created md2 (RAID1) using the last two partitions.
I then set md2 as a physical volume.
I then used the LVM button to create Logical Volumes /, /home, /var, /tmp, /usr,
/dev/hda is my boot device. This is plugged into the IDE built into the motherboard.
Install finished normally without any errors, but when I rebooted GRUB did not load.
I rebooted with the the install CD using "linux rescue" and chrooted into the
I tried running grub-install --recheck and then rebooting. It didn't work.
I rebooted with the install CD again, then ran 'grub --batch'...
When I rebooted again (without the CD) grub was working.
Let me know if you need any more info.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install Fedora test2 to md (RAID1)/LVM combo described above.
Actual Results: won't boot on restart
Expected Results: will boot on restart.
Can you attach the /boot/grub/device.map and /boot/grub/grub.conf generated by
Closing due to lack of activity. Please reopen if you have further
information to add to this bug report.