On Thu, 29 Nov 2001, Jason Thomas wrote:

> > boot form hda
> > => hda is (hd0), hde is (hd1), hdg is (hd2)
> > invoke grub
> > root (hd1,0)
> > install /grub/stage1 (hd1) /grub/stage2
> >
> > reboot, remove hda form bios
>
> you need to create a grub boot disk, "cat stage1 stage2 > /dev/fd0"

Is it somehow possible to install grub on a second disk (that will become
the first disk) without using a floppy or a cdrom? I often have to deal
with machines with no floppy or cdrom.

> the only concern now is todo with your raid setup, and I know nothing
> about booting raid with grub.

In 0.90 software RAID shouldn't be a problem as long as /boot is RAID1
array and carries ext2 filesystem. The partition type 'fd' (Linux SW RAID)
is also recognized as ext2 partition (this is a dumb trick, but it worked
for me).

After you have /boot partition (/dev/md0) synced, you can install grub on
the second disk. I do that like this:

root (hd1,0)
install /boot/grub/stage1 (hd1,0) /boot/grub/stage2 0x8000 (hd0,0)/boot/grub/menu.lst
install /boot/grub/stage1 d (hd1) /boot/grub/stage2 0x8000 (hd0,0)/boot/grub/menu.lst

This way the machine can boot even if the first disk fails or is removed.


  D.





_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to