[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grub-bug
Subject:    Re: [Bug-grub] Problems with grub 0.90 and Promise FastTrak 100 TX2
From:       Danilo Godec <danci () agenda ! si>
Date:       2001-11-30 14:10:14
Message-ID: Pine.LNX.4.30.0111301447190.23435-100000 () duplo ! agenda ! si
[Download RAW message or body]

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.






[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic