[1677267 views]

[]

Odi's astoundingly incomplete notes

New entries | Code

grub and md raid1

There is a little trick necessary to use grub to boot from a software RAID-1 (md). Certain fakeraid devices don't boot properly if the disks don't contain the exact same data in the MBR.

So here is how to install grub on the grub shell:
# first disk
root (hd0,0)
setup (hd0)

# second disk
device (hd0) /dev/sdb
root (hd0,0)
setup (hd0)


posted on 2010-02-09 11:51 UTC in Code | 0 comments | permalink