vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| * 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 |
| |||
| On Sun, 17 Feb 2008 19:25:47 +0100, Huub wrote: > Hi, > > My AthlonXP running Debian Etch, had a spontaneous reboot and shows Grub > error 2. How can I recover from that? > > Thank you... http://www.uruk.org/orig-grub/errors.html |
| |||
| > http://www.uruk.org/orig-grub/errors.html > Ok. According to this link the selected disk doesn't exist. Which is rather odd. Because when I boot from the DVD and select Rescue mode, it mounts my filesystem and I can access /home under the rescue-mount /target. Lack of experience keeps me from going further. Any advise? |
| |||
| Thus spake Huub: > >> http://www.uruk.org/orig-grub/errors.html >> > > Ok. According to this link the selected disk doesn't exist. Which is > rather odd. Because when I boot from the DVD and select Rescue mode, it > mounts my filesystem and I can access /home under the rescue-mount > /target. Lack of experience keeps me from going further. > Any advise? Please post your menu.lst from /boot/grub and fstab from /etc. -- sk8r-365 And upon all the high mountains, and upon all the hills that are lifted up, -- Isaiah 2:14 |
| |||
| * Huub <"v.niekerk at hccnet.nl">: > Ok. According to this link the selected disk doesn't exist. Which is > rather odd. Because when I boot from the DVD and select Rescue mode, it > mounts my filesystem Completely different thing. It could mean that grub is looking for the stage2 file on the wrong disk (which is encoded in the bootblock, so you'd have to run grub-install to fix it, see my other posting). It could also mean that grub is looking for the kernel and/or the initrd on the wrong disk .. this is configured in menu.lst, but you can still fix it during boot as described in my other posting and edit menu.lst after successfully booting. In most cases, grub should find its files on hd0, for example in the partition (hd0,0) or (hd0,1). In either case, it has nothing to do with the root filesystem for the kernel. -- 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 |
| |||
| Thus spake Huub: >> >> Please post your menu.lst from /boot/grub and fstab from /etc. >> > > I can't because all it gives is this: > > GRUB Loading stage1.5 > > GRUB loading.... > Error 2. > > > I can't even press Esc to edit the boot menu. Sure you can; do that rescue CD thing again, write the information *carefully* to paper, unless the rescue will allow you to use a printer - MEPIS LiveCD did for me - and transcribe it here. -- sk8r-365 |
| |||
| > > Sure you can; do that rescue CD thing again, write the information > *carefully* to paper, unless the rescue will allow you to use a printer > - MEPIS LiveCD did for me - and transcribe it here. > Ok, I booted into rescue mode, but now grub is only on dvd. Unless I know how to mount /, and find the place where the menu.lst is, I can't do much. Any suggestions? |
| ||||
| Huub <"v.niekerk at hccnet.nl">: > > > > Sure you can; do that rescue CD thing again, write the information > > *carefully* to paper, unless the rescue will allow you to use a printer Do what he says. > Ok, I booted into rescue mode, but now grub is only on dvd. Unless I > know how to mount /, and find the place where the menu.lst is, I can't > do much. Any suggestions? As root: fdisk -l /dev/[sh]d[a-d] # should tell you everything 'bout ptns. mkdir /mnt/root mount -t ext3 /dev/hda1 /mnt/root # just a guess. Grub is now in /mnt/root/boot/grub/, and you're looking for menu.lst or grub.conf. -- Any technology distinguishable from magic is insufficiently advanced. (*) http://blinkynet.net/comp/uip5.html Linux Counter #80292 - - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me. |