LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2005, 04:00 PM   #1
Joe Soap
Member
 
Registered: Sep 2001
Location: Switzerland
Distribution: Debian, Sidux
Posts: 225

Rep: Reputation: 30
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
 
Old 06-12-2005, 04:15 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Did you update the kernel or anything?
 
Old 06-12-2005, 04:50 PM   #3
Joe Soap
Member
 
Registered: Sep 2001
Location: Switzerland
Distribution: Debian, Sidux
Posts: 225

Original Poster
Rep: Reputation: 30
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
 
Old 06-13-2005, 02:32 AM   #4
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
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.
 
Old 06-16-2005, 07:01 AM   #5
Joe Soap
Member
 
Registered: Sep 2001
Location: Switzerland
Distribution: Debian, Sidux
Posts: 225

Original Poster
Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 11:29 AM
Grub Error 17: Cannot mount selected partition and other Grub problems Sebastian Naitsabes Linux - General 1 07-05-2005 09:33 AM
GRUB bootloader spits out "GRUB hard disk error" Crampedson Linux - Software 2 01-26-2005 07:34 PM
GRUB Section2 load error, partition error. Ryle Linux - General 1 06-27-2004 03:55 PM
GRUB error? DriveReady SeekComplete DataRequest Error sth Linux - Hardware 3 02-26-2003 06:10 PM


All times are GMT -5. The time now is 02:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration