All pastes #242777 Raw Edit

Untitled

public text v1 · immutable
·published 2006-11-07 18:02 UTC
rendered paste body
I have 10 hard drives.
All SATA - /dev/sd[a-j]
My system installed on /dev/sdi and /dev/sdj
Each drive is partitioned the same and mirrored
A 100MB partition (mirrored as /dev/md0) as /boot
The rest of the drive is a configured as /dev/md1 and managed with lvm
e.g. the root file system is on /dev/vghost/lv_root, etc.
I want to create a cfg file something like:
 # Timeout for menu
 set timeout=10
 # Set default boot entry as Entry 0
 set default=0
 # Entry 0 - Load Linux kernel
 menuentry "Fedora Core (2.6.18-1.2798.fc6xen)" {
 set root=(hd8,1)
     kernel /xen.gz-2.6.18-1.2798.fc6 
     module /vmlinuz-2.6.18-1.2798.fc6xen ro root=/dev/vghost/lv_root
     module /initrd-2.6.18-1.2798.fc6xen.img
 }
 I've installed grub2 (1.95) from source
 How do I install grub to each of the hard drives so I can boot my O/S on hard drives 9 & 10 (/dev/sdi, /dev/sdj) ?