Grub1 Notes

by Scott, Revised on October 26, 2009 (Linux)

Grub boot file (/boot/grub/menu.1st) addition:

title title_name
rootnoverify (hd0,[2,3,...])
chainloader +1

Grub installation on a root partition of /dev/sda3 (ie. from a current linux on /dev/sda1 for an OS on /dev/sda3 currently mounted on /media/sda3):

grub-install --root-directory=/media/sda3 /dev/sda3

Grub installation on the MBR (ie. from a current linux on /dev/sda3 for an OS on /dev/sda1 currently mounted on /media/sda1)

grub-install --root-directory=/media/sda1 /dev/sda

Tags: Linux