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


Share This


 


Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>