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

install grub to second hard drive after raid installation



After reading, it seems all I may have to do to make the second disk
bootable is to do this:

grub
grub> device (hd0) /dev/sdb
grub> root (hd0,0)
grub> setup (hd0)
grub> quit


However, I'd rather not make the test system unbootable, so I thought
I'd confirm here.

Current system below

/etc/fstab
proc            /proc           proc    defaults        0       0
/dev/md0        /               ext3    defaults,errors=remount-ro 0       1
/dev/md1        none            swap    sw              0       0
/dev/hda        /media/cdrom0   iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0


/boot/grun/menu.list

title           Debian GNU/Linux, kernel 2.6.8-2-686-smp
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.8-2-686-smp root=/dev/md0 ro
initrd          /boot/initrd.img-2.6.8-2-686-smp
savedefault
boot

title           Debian GNU/Linux, kernel 2.6.8-2-686-smp (recovery mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.8-2-686-smp root=/dev/md0 ro single
initrd          /boot/initrd.img-2.6.8-2-686-smp
savedefault
boot


/boot/grub/device.map
(hd0)   /dev/sda
(hd1)   /dev/sdb




-- 
Highest Regards,

Rodney Richison
RCR Computing
http://www.rcrnet.net
118 N. Broadway
Cleveland, OK  74020
918-358-1111



Reply to: