Grub Howto
From HotDec
[edit]
Booting with Grub
- From the Grub boot-menu press 'c' (for command-line).
- Enter in "root (hd0,0)" where the first 0 is the harddrive number (minus one) and the second 0 is the partition number (minus one). This command specifically sets the first partition on the first IDE disk to root.
- Enter in "kernel /boot/vm<tab> root=/dev/hda1", where the 1 in "hda1" refers to the same disk as the root command you just gave. (hda1 = hd0, hda2 = hd1, hda3 = hd2 ...) The "<tab>" represents using tab-completion to get the full filename. The full filename should be something like "/boot/vmlinuz-version-foo-bar-stuff.gz."
- Finally enter in "boot" and the computer should boot.
[edit]
The Grub Menu
To avoid entering in these commands every time you boot the computer, edit the file "/boot/grub/menu.lst" (sometimes /boot/grub/grub.conf). The syntax is pretty obvious: you just have to list out the commands that you want to run in the correct spot.
