LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   mdadm raid1 both bootable (https://www.linuxquestions.org/questions/linux-server-73/mdadm-raid1-both-bootable-710047/)

chiendarret 03-08-2009 11:25 AM

mdadm raid1 both bootable
 
How to modify the normal mdadm raid1 (or make during linux installation) so that both disks are bootable? All instances are sata 500GB debian amd64 lenny.

Is that convenient or is it preferable mdadm with only one disk bootable and, in case of failure, recover with knoppix?

thanks
chiendarret

eco 03-09-2009 07:53 AM

Hi,

This is what I did with my mirror after installing the OS:

Code:

# grub --no-floppy --device-map=/boot/grub/device.map

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

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

grub> quit

Addapt to your needs.

Hope this helps.


All times are GMT -5. The time now is 02:05 AM.