LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Grub error 25 (https://www.linuxquestions.org/questions/linux-newbie-8/grub-error-25-a-332821/)

Joe Soap 06-12-2005 03:00 PM

Grub error 25
 
Evening Folks

I've got Kanotix 2005-03 installed on my machine and everything was going swimmingly until I had to reboot and the dreaded "error 25" popped up. This is before I got the splash screen from which I can choose what to boot. I see the "stage 1.5" message and immediately thereafter the "error 25" is displayed.

I tried to boot from my rescue floppy & go the exact same result.

I booted from the Kanotix live cd and ran reiserfs on my primary partition (/dev/hda1) but that did not report any errors.

What can I do to fix this problem (or at least properly diagnose it)? Can anybody help, please?

Here are my menu.lst and device.map files:

menu.lst
----------------------------------------------------------------------------------------------
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 5

# Pretty colours
color cyan/blue white/blue
gfxmenu (hd0,0)/boot/message

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default optons below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specifiv kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/hda1 ro ramdisk_size=100000 lang=us apm=power-off nomce vga=0x317

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=false

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery mode) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all

## ## End Default Options ##

title Debian GNU/Linux, kernel
root (hd0,0)
kernel /boot/vmlinuz root=/dev/hda1 ro ramdisk_size=100000 lang=us apm=power-off nomce vga=0x317
initrd /boot/initrd.img
boot

title Debian GNU/Linux, kernel 2.6.11-kanotix-11
root (hd0,0)
kernel /boot/vmlinuz-2.6.11-kanotix-11 root=/dev/hda1 ro ramdisk_size=100000 lang=us apm=power-off nomce vga=0x317
initrd /boot/initrd.img-2.6.11-kanotix-11
boot

### END DEBIAN AUTOMAGIC KERNELS LIST
---------------------------------------------------------------------------------

device.map
----------------------------------------------------------------------------------
(hd0) /dev/hda
(hd1) /dev/hdc
(hd2) /dev/hdd
(hd3) /dev/sda
----------------------------------------------------------------------------------

Thanks for all help.

Cheers
Joe

comprookie2000 06-12-2005 03:15 PM

Did you update the kernel or anything?

Joe Soap 06-12-2005 03:50 PM

Nope. I installed Kanotix on my hd. It was up and running for a couple of days when I got i/o errors on another drive (I live in a very dusty area). I switched off the pc, cleaned everything and rebooted, right into this "error 25".

Cheers
Joe

Emmanuel_uk 06-13-2005 01:32 AM

This could be a loose connection inside your PC?
Check the HD ribbon is well in place, and fully inserted at both ends.
While you are at it check all connections.
I now it sounds like a dumb suggestion, but that is a start.

Joe Soap 06-16-2005 06:01 AM

Hey Emmanuel, thanks for the suggestion. It's something that I have to do with an irritating frequency :(

Anyhoo, I managed to get the error 25 changed to an error 17. So I gave up in disgust and reinstalled (the well-known "sledge hammer approach"). Bingo. Everything works. Go figure.

Cheers
Joe


All times are GMT -5. The time now is 10:41 AM.