Thread: grub error 2
View Single Post

   
  #2 (permalink)  
Old 02-18-2008, 04:30 AM
Felix M. Palmen
 
Posts: n/a
Default Re: grub error 2

* Huub <"v.niekerk at hccnet.nl">:
> My AthlonXP running Debian Etch, had a spontaneous reboot and shows Grub
> error 2. How can I recover from that?


I really don't know what "error 2" could mean, but more important: When
does it happen? Do you still get the boot menu? In that case, edit your
boot configuration (hit 'e') and delete the last line "savedefault" (by
hitting 'd' on that line). Then hit 'b' to boot the modified config.
This often succeeds when the filesystem is in an inconsistent state,
because it is still readable, but grub won't write to it any more.

If this doesn't help or if you don't get a boot menu at all, you'll need
to boot in a rescue system (e.g. the Debian CD/DVD or Knoppix, Kanotix,
etc), chroot to your installed system and run grub-install on your
harddisk.

--
Felix M. Palmen (Zirias) \ -PGP- <fmp@palmen.homeip.net> /"\ ASCII Ribbon
web: http://zirias.ath.cx/ \ http://zirias.ath.cx/pub.txt \ / Campaign
my open source projects: \ FP ED9B 62D0 BE39 32F9 2488 X Against HTML In
http://zirias.ath.cx/?pg=pro \ 5D0C 8177 9D80 5ECF F683 / \ Mail And News
Reply With Quote