Difference between revisions of "Grub"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 4: Line 4:
 
= determine entry to be booted next time =
 
= determine entry to be booted next time =
 
  grub-reboot ''entry-number''
 
  grub-reboot ''entry-number''
 +
 +
= grub's command line =
 +
grub> kernel /boot/vmlinuz
 +
grub> initrd /boot/initrd
 +
grub> boot

Revision as of 16:16, 31 October 2010

reinstall grub

grub-install --recheck --no-floppy --root-directory=/path/to/root /dev/hda

determine entry to be booted next time

grub-reboot entry-number

grub's command line

grub> kernel /boot/vmlinuz
grub> initrd /boot/initrd
grub> boot