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

Re: install grub to second hard drive after raid installation



Hello Rodney

Your strategy to mount grub to boot from a second HDD is right.

Some comments:

You'll need a hardware capable of booting from another HDD.
Most of the modern PC BIOS allow to choose your boot media (HDD, CD, FLOPPY, even USB).


> /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
>

If you are building a RAID-1, you might configure a second entry in your grub menu
to boot using your second disk as root. If your first disk is gone and you get to
boot grub in your second disk, you'll need to run a root partition in the second
disk, dont you?


Regards,
Josep SERRANO.



Reply to: