howto fix broken grub

14 Aug 2006

howto fix broken grub

  • boot using Knoppix, Insert, etc
  • mount required partition:
 mount -o dev,rw /mnt/hda1, or

 mount -o remount,dev,rw /mnt/hda1
  • restore grub:
 grub-install --root-directory=/mnt/hda1 /dev/hda, or

 chroot /mnt/hda1 grub-install /dev/hda
  • if problems because of change of partition names, etc, boot using grub shell, then:
 vi /boot/grub/menu.lst

 update-grub
comments powered by Disqus

  « Previous: Next: »