LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-20-2003, 11:50 AM   #1
sabaka
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 Linux-WLAN.org 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 http://www.linuxquestions.org/quest...=&postid=379355 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, 04:37 AM   #2
aus9
Guru
 
Registered: Oct 2003
Posts: 5,060

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.
 
  


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


All times are GMT -5. The time now is 03:02 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration