Partition
Size Disk 1
Disk 2 18000MB / hda1 or sda1 / hdb1 or sdb1 (please note hd = IDE and sd = sata) 1000MB swap hda2 or sda2 swap hdb1 or sdb2 (May vary depending on physical mem) 100MB /boot hda3 or sda3 /boot (Good practice is 100MB) |
md0 - /boot md1 - swap md2 - / |
[root@bob
root]# grub 1) grub> find /grub/stage1 (hd0,0) (hd1,0) 2) grub> device (hd0) /dev/sdb 3) grub> root (hd0,0) Filesystem type is ext2fs, partition type 0xfd 4) grub> setup (hd0) Checking if "/boot/grub/stage1" exists... no Checking if "/grub/stage1" exists... yes Checking if "/grub/stage2" exists... yes Checking if "/grub/e2fs_stage1_5" exists... yes Running "embed /grub/e2fs_stage1_5 (hd0)"... 15 sectors are embedded. succeeded Running "install /grub/stage1 (hd0) (hd0)1+15 p (hd0,0)/grub/stage2 /grub/grub .conf"... succeeded Done. 5) grub> quit |
1) Shows where the
grub setup files are located (/boot is the root partition for grub) 2) Specifies secondary disk as primary disk ( /dev/sdb for sata and /dev/hdb for IDE - this may vary depending on where your drive is situated) 3) Specify where your /boot partition resides 4) Setup grub on secondary disk (note: stage one doesn't exist) 5) quit or exit |