LinuxQuestions.org
Review your favorite Linux distribution.
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, 11: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-20-2005, 12:09 AM   #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-20-2005 at 12:14 AM.
 
Old 01-20-2005, 12:10 AM   #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, 03: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, 04: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 01:09 PM
upgrading (or not upgrading) glibc richarde Slackware 9 09-12-2005 01:56 AM
upgrading to 10 from 9.1 Fascistchicken Slackware 1 10-08-2004 07:13 PM
upgrading? clericvash Mandriva 2 09-23-2004 09:42 AM
upgrading 8.1 to 9.0 cerberus Slackware 6 05-13-2003 05:06 PM


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