TITLE : Configuring the grub boot loader OS LEVEL : Linux (any version) DATE : 27/11/2003 VERSION : 1.0 AUTHOR : Hubertus A. Haniel (hubba@unixcook.com) ------------------------------------------------------------------------------- Assuming you already have grub installed on your system and /boot is part of your root filesystem you would use the following steps to configure your system to boot using grub. Execute "grub" to drop into the grub shell and use the following commands to setup grub on the Master boot record (first disk of the system): Set the root partition (first disk, first partition): grub> root (hd0,0) Install the boot record on the MBR: grub> setup (hd0) Leave the grub shell: grub> quit If you don't want to install grub on the MBR (master boot record) and if root would be on the second partition on the same disk the commands would be be altered in the following way: grub> root (hd0,1) Put the boot record on the second partition: grub> setup (hd0,1) Leave the grub shell: grub> quit Now you will have to create your /boot/grub/grub.conf or on later versions the /boot/grub/menu.lst which will need the following as a minimum: default 0 timeout 5 title=Linux kernel (hd0,0)/boot/vmlinuz root=/dev/hda1 initrd (hd0,0)/boot/initrd The above example defines that after a 5 second delay we are booting the kernel /boot/vmlinuz on the first partition of the first IDE drive in your system and we load the initrd at the same location. Obviously if the root partition is at a different place the location (hdX,X and the /dev/disk entry) has to be modified Unlike lilo where lilo has to be reinstalled on the boot record everytime /etc/lilo.conf is modified in grub all modifications are automatically read during reboot.