[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Software Raid On Boot

On Wednesday 15 February 2006 05:16 pm, Nigel Wade wrote:
> /boot is /dev/md0, which comprises /dev/hda1 and /dev/hdd1. / is /dev/md1
> which comprises /dev/hda3 and /dev/hdd3. GRUB must be installed into the
> MBR of /dev/hda (for some strange reason I had to do this manually on this
> install). GRUB doesn't handle RAID1 all than well, lilo does it better as
> it understands RAID1 and installs the correct MBR on each disk. GRUB is not
> able to boot from /dev/hdd1; if /dev/hda fails I will have to either modify
> /boot/grub/grub.conf and install GRUB in /dev/hdd, or move the disk so it
> becomes /dev/hda. Because of the way lilo works it can install boot sectors
> on /dev/hda and /dev/hdd, both of which will work.

I believe it is a grub bug?

Comment #7 From Boris Mironov  	 on 2004-11-29 09:47 EST 	   	   	 

Did not mention my exact way...
1) Install Fedora 3 on RAID 1 (consists of 2 IDE HDDs). Each drive has
2 partitions (data, swap).
2) First reboot will stuck (eg., no boot device).
3) Boot from first CD of Fedora 3 as 'linux rescue'.
4) From shell start 'grub'
5) From grub execute the following:
root (hd0,0)
setup (hd0)
root (hd1,0)
setup (hd1)

This is it. The rest is up to you.
Probably these 4 commands (or some better work around) could be
implemented in anaconda, especially when user installs Linux on
software RAID.
Good luck,

Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
20:07:36 up 11:49, 2.6.15-1.1830_FC4 GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]