LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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-16-2003, 02:34 PM   #1
sabaka
LQ Newbie
 
Registered: Sep 2003
Location: Baltimore, MD, USA
Distribution: RedHat 9.0
Posts: 29

Rep: Reputation: 15
Exclamation Help! Configuring Kernal failed, GRUB can't boot new kernal, help!


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/questi...&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.

Last edited by sabaka; 09-16-2003 at 02:36 PM.
 
Old 09-16-2003, 04:51 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
You need a running Linux in order to modify your grub. If you cannot boot into your old kernel then you will have to use a rescue system to fix grub.
 
Old 09-16-2003, 05:37 PM   #3
sabaka
LQ Newbie
 
Registered: Sep 2003
Location: Baltimore, MD, USA
Distribution: RedHat 9.0
Posts: 29

Original Poster
Rep: Reputation: 15
Whats wrong, what do I need to fix?? Can I not configure the grub.conf file from GRUB? I really thought you could, I actually thought I did it once. If there is an error on boot you can open up the command-line and edit the .conf file.
 
Old 09-16-2003, 07:11 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"Can I not configure the grub.conf file from GRUB? "

Yes. But I do not know how to do that . The best I can do is give you a link to an explanation.

http://sdb.suse.de/en/sdb/html/fhass..._overview.html

Last edited by jailbait; 09-16-2003 at 09:41 PM.
 
Old 09-16-2003, 09:12 PM   #5
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Not exactly sure for now why you're getting that error, but you can press "e" in grub menu and it'll allow you to edit the entry.
 
  


Reply



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
boot hangs on configuring kernal parameters / no GUI Dalby Fedora - Installation 0 09-24-2005 10:53 AM
Trouble Installing+Configuring Kernal minm Linux - Software 4 07-26-2004 12:59 PM
Kernal modules on a Newly Compiled Kernal sethgeekx86 Slackware 4 05-03-2004 11:08 PM
GRUB can't boot my new configure kernal. What's wrong? sabaka Linux - Newbie 1 11-23-2003 03:37 AM
How do you configure the kernal, overwriting the old version of the same kernal? sabaka Linux - Newbie 13 10-04-2003 10:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:15 PM.

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
Open Source Consulting | Domain Registration