Bug 133975

Summary: grub does not install on both disks when installing on software raid (md0)
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Jens Benecke <jens-novell>
Component: InstallationAssignee: Olaf Dabrunz <odabrunz>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: YaST2 install logs

Description Jens Benecke 2005-11-16 11:37:26 UTC
Hello,

I installed SuSE 10 on a 64bit Opteron server system which has two 80GB S-ATA disks at sda and sdb (and a 3ware RAID at sdc). I configured sda and sdb as a 'md' style RAID1 (mirroring) and then tried configuring the boot loader to install on both disks.

However, although this option is there in the "bootload installation" tab of the bootloader configuration, it is neither default (why not? when using RAID; this is a must!) nor is the setting retained and used when I select it.

I can select it and go back and then the system summary page still says it's going to be installed just to sda. When I go back to the GRUB config page the option "master boot record on sda" is selected again.

The way to install GRUB on both disks is (according to a mailing list)

# grub
 > find /boot/grub/stage1
   hd(0,0)
   hd(1,0)

 > device (hd0) /dev/sda         (first RAID disk!)
 > root (hd0,0)
 > setup (hd0)

 > device (hd0) /dev/sdb         (second RAID disk!)
 > root (hd0,0)
 > setup (hd0)

 > quit

Please fix this for the SuSE Linux 10.1 installation, because it is a big problem when you rely on a RAID and your first disk dies, then you have an unbootable system, which is exactly what you wanted to avoid by creating the RAID.

Thanks!

Jens
Comment 1 Jens Benecke 2005-11-16 11:38:56 UTC
Created attachment 57483 [details]
YaST2 install logs
Comment 2 Jiri Srain 2005-12-15 12:12:26 UTC
Reasigning to new maintainer
Comment 3 Torsten Duwe 2006-04-03 13:29:21 UTC
I thought the primary purpose of a RAID was to prevent data loss ;-)

Anyway, we already have working code now, I hope that makes it into 10.1