LinuxQuestions.org
Visit Jeremy's Blog.
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 01-19-2005, 10:30 PM   #1
vkrishn1
LQ Newbie
 
Registered: Aug 2004
Location: Chicago
Posts: 9

Rep: Reputation: 0
Upgrading 2.4.21.4 to 2.6.5


Hi,

I am using Red Hat Enterprise Edition 3.0 which comes with 2.4.21-4. I decided to upgrade the kernel to 2.6.5. I downloaded the kernel source and the modutils package. I was able to build the kernel properly and I updated the lilo.conf with the proper files. When I reboot I get a kernel panic and the system says

no such device root=LABEL/ uknown block(0,0)

I changed lilo.conf to show root=/dev/sda1 but I still have the same issue.

Any ideas as to how I can fix this? Appreciate your help.

Thanks
Vish
 
Old 01-19-2005, 11:09 PM   #2
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Did you compile in all the appropriate scsi drivers and root filesystem support?

Also why an old kernel like 2.6.5?

Last edited by amosf; 01-19-2005 at 11:14 PM.
 
Old 01-19-2005, 11:10 PM   #3
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Re: Upgrading 2.4.21.4 to 2.6.5

Quote:
Originally posted by vkrishn1

I changed lilo.conf to show root=/dev/sda1 but I still have the same issue.
/dev/sda1? So your root file system is on a USB or SCSI device vs IDE? It should probably be /dev/hdaX where X is the partition # if it's an IDE drive. Anyway, did you rerun lilo after modifying the lilo.conf file? And are you sure your new kernel has built in support for the file system you are using on the root partition?
 
Old 01-22-2005, 02:31 PM   #4
vkrishn1
LQ Newbie
 
Registered: Aug 2004
Location: Chicago
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for your response

Hi,

Thanks for all your reply. My boot device is /dev/sda1. I think it is a SCSI device. Yes I did run lilo after I edited the file.

Thanks
Vish
 
Old 01-22-2005, 03:24 PM   #5
PMorph
Member
 
Registered: Sep 2003
Distribution: Debian
Posts: 213

Rep: Reputation: 31
Got all the required modules compiled IN to the kernel?
Maybe you could post the result of "grep =y .config" (given in the dir you have the kernel source).
 
  


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
Upgrading to Badger! Can't login anymore after upgrading? BellaSha87 Ubuntu 1 12-03-2005 12:09 PM
upgrading (or not upgrading) glibc richarde Slackware 9 09-12-2005 12:56 AM
upgrading to 10 from 9.1 Fascistchicken Slackware 1 10-08-2004 06:13 PM
upgrading? clericvash Mandriva 2 09-23-2004 08:42 AM
upgrading 8.1 to 9.0 cerberus Slackware 6 05-13-2003 04:06 PM

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

All times are GMT -5. The time now is 02:53 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