Grub
From Linuxintro
Revision as of 07:10, 16 November 2010 by imported>ThorstenStaerk
Contents
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
backup partition table
To backup your partition table:
sfdisk -d /dev/hda > hda.pt
To restore it:
sfdisk /dev/hda < hda.pt