Bug 147411

Summary: anaconda fails to install grub for RAID-1 /boot
Product: [Fedora] Fedora Reporter: Ed Swierk <eswierk>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 19:08:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ed Swierk 2005-02-07 22:02:36 UTC
Description of problem:

anaconda fails to install grub on a newly-installed machine with its
/boot partition on a RAID-1 volume.

Steps to Reproduce:
1. Start the FC3 installer.  Set up a RAID-1 volume md0 on two
partitions (say, sda1 and sda2).  Create ext3 /boot on md0.
2. Use the default grub options, and complete the FC3 install.
3. Allow the machine to reboot.
  
Actual results:

grub does not start on boot; the system sits with a blank screen.

Expected results:

grub should start on boot.

Additional info:

As a workaround, you can start the system from the install CD in
rescue mode.  Use chroot /mnt/sysimage to mount the root partition.

Unfortunately, grub-install will not work (complains about md0 not
being a BIOS drive), so you must type the following commands directly
into grub:

   # grub
   > root (hd0,0)
   > setup (hd0)
   > quit

Then Ctrl-D to reboot.  grub should start normally at this point.

Comment 1 Peter Jones 2005-03-01 18:26:36 UTC

*** This bug has been marked as a duplicate of 114690 ***

Comment 2 Hans Eric Sandström 2005-03-23 08:00:27 UTC
(In reply to comment #0)
> Description of problem:
> anaconda fails to install grub on a newly-installed machine with its
> /boot partition on a RAID-1 volume.
> Steps to Reproduce:
> 1. Start the FC3 installer.  Set up a RAID-1 volume md0 on two
> partitions (say, sda1 and sda2).  Create ext3 /boot on md0.
> 2. Use the default grub options, and complete the FC3 install.
> 3. Allow the machine to reboot.
>   
> Actual results:
> grub does not start on boot; the system sits with a blank screen.
> Expected results:
> grub should start on boot.
> Additional info:
> As a workaround, you can start the system from the install CD in
> rescue mode.  Use chroot /mnt/sysimage to mount the root partition.
> Unfortunately, grub-install will not work (complains about md0 not
> being a BIOS drive), so you must type the following commands directly
> into grub:
>    # grub
>    > root (hd0,0)
>    > setup (hd0)
>    > quit
> Then Ctrl-D to reboot.  grub should start normally at this point.


Unfortunately the above procedure only installs the bootloader on one of the 
disks. So add this to the above:
>root (hd1,0)
>setup (hd1)
To setup boot loader on your second disk also.



Comment 3 Red Hat Bugzilla 2006-02-21 19:08:08 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.