Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-20-2003, 10:50 AM   #1
LQ Newbie
Registered: Sep 2003
Location: Baltimore, MD, USA
Distribution: RedHat 9.0
Posts: 29

Rep: Reputation: 15
GRUB can't boot my new configure kernal. What's wrong?

Help! Configuring Kernal failed, GRUB can't boot new kernal, help! ( post #1)

Hey all.

Although I am very new to linux, I have to reconfigure my kernal to allow the project to work for my wlan card. Without internet access its hard for me to do anything, so I need to get this configured kernal working.

I closely followed to attempted to configure my kernal. I am using the same source that came on my install CD (I bought RedHat 9.0 at the store), this means that the kernal I am trying to install is the SAME as the one already working. After numerous failures, I learned to rename EVERYTHING for this kernal (instead of '2.4.20-6' as the current kernal, '2.4.20-6custom' for everything). Everything seemed ok, I edited my grub.conf to use my new kernal.

HOWEVER, upon rebooting I ran into a BIG PROBLEM. GRUB can't load my new kernal. I get the following error message after GRUB tries to load RedHat:
Boot 'RedHat Linux (2.4.20-6)'

root (hd0, 0)
Filesystem type is ext2fs, partition type 0x83
kernal /vmlinuz-2.4.20-6 ro root=LABEL=/ hdc=idc-scsi
[Linux-bzImage, setup=0x1400, size=0x10f581]
initrd /initrd-2.4.20-6.img

Error 24: Attempt to access block outside partition

Press any evil key to continue

What does all this mean? Can anyone explain what is wrong and how I can fix this (without reinstalling the original RedHat kernal, to modify the grub.conf through GRUB).

ONE IMPORTANT NOTE: this error output message IS NOT WHAT I EDITED AND SAVED IN 'grub.conf' file before rebooting. When I edited 'grub.conf' I MADE EVERYTHING '-2.4.20-6custom', the error only shows '-2.4.20-6'.

Thanks for any help and sorry for making this so long.
Old 11-23-2003, 03:37 AM   #2
LQ 5k Club
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
I don't use RH. some comments are:
root (hd0,0) you are setting the /boot partition as hda1 yet your kernel (spelling check) says its hdc = drive 2 which is a primary drive on controller 2.

kernel /vmlinuz change to kernel /boot/vmlinuz
initrd /initrd.img ditto add /boot to the img file

Other bits. ro = read only which means ro until its loaded then read write occurs.
root=/dev/hdWHAT we will need your /etc/fstab file posted to confirm what partitions are what.


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
configure grub to dual boot - not working. John5788 Linux - General 8 04-12-2005 01:23 PM
Configure grub (dual boot) with 2 OP installed already fere Linux - Newbie 2 06-07-2004 10:58 PM
How do you configure the kernal, overwriting the old version of the same kernal? sabaka Linux - Newbie 13 10-04-2003 10:00 AM
Help! Configuring Kernal failed, GRUB can't boot new kernal, help! sabaka Linux - Newbie 4 09-16-2003 09:12 PM
Grub wrong can't boot *anything* Bruce Hill Linux - Newbie 3 07-23-2003 09:29 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:20 AM.

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