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 03-15-2004, 12:04 PM   #1
liangjz
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Rep: Reputation: 0
Unable boot multiple kernel versions off of Redhat machine


I've used linux for a while, but am a newbie when it comes to admin stuff

I have a Redhat 8.0 box that I'd like to setup to boot both Linux 2.4 and 2.6.0, but have not had much luck in adding support for 2.6

I compiled my 2.6 kernel with mostly default settings, adding only debugging support and tried doing a make install. When I did this, the makefile replied that I had no module support for advansys. I looked up .config and found that advansys is a type of SCSI device. The funny thing is that /proc/scsi tells me that I have no scsi devices. (I also happen to know that I have no SCSI devices)

I reran "make xconfig" and unchecked advansys support, looked at the .config to confirm that it was commented out, and did a "make clean && make dep && make && make modules && make modules_install" After that succeeded, I tried a make install

Despite this, it still complained about advansys. I shrugged and manually copied bzImage to /boot and added an entry in my grub configuration, but could not create a new initrd file because mkinitrd also complained about advansys module support being missing.

I tried booting without the initrd file and got

VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 00:00

I'm not sure how to go from here. Suggestions?

BTW: I'm aware there's a related post from Aug 2003 about this, but it seemed to stop before a solution was mentioned.
 
Old 03-15-2004, 04:16 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,342

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
"I compiled my 2.6 kernel with mostly default settings, adding only debugging support and tried doing a make install. When I did this, the makefile replied that I had no module support for advansys. I looked up .config and found that advansys is a type of SCSI device. The funny thing is that /proc/scsi tells me that I have no scsi devices. (I also happen to know that I have no SCSI devices)"

Are you using ide-scsi for a CD-RW or CD-R?

"VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 00:00"

You can either:
create an initrd.

Or make all of the modules that the initrd normally loads resident in the bootable kernel and dispense with initrd. This is what I always do when I compile a kernel.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 03-15-2004, 05:24 PM   #3
liangjz
LQ Newbie
 
Registered: Mar 2004
Posts: 2

Original Poster
Rep: Reputation: 0
"You can either:
create an initrd"

I could not create a new initrd file because mkinitrd complained about advansys module support being missing.

I just noticed after doing a make mrproper and makeconfig that the makefile complains saying
/boot/config-2.4.18-14:2047: trying to assign nonexistent symbol HZ

The thing is, I'm running in the /usr/src/linux-2.6.0 Why would it complain about editing the 2.4 config file?

Also, I don't appear to have a /boot/config-2.6.0 How do I create one?
 
Old 03-16-2004, 10:01 AM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,342

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
"The thing is, I'm running in the /usr/src/linux-2.6.0 Why would it complain about editing the 2.4 config file? "

You are probably mixing the 2.6.0 and 2.4 initrd processes somehow but I don't know where the mixup occurs.

"Also, I don't appear to have a /boot/config-2.6.0 How do I create one?"

Copy it from /usr/src/linux

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


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
RedHat kernel versions emorrell Red Hat 2 04-30-2005 10:09 AM
kernel versions in Redhat 9 slogal Linux - Newbie 2 04-19-2005 06:55 AM
why there is different kernel versions from RedHat? linux_lover2005 Linux - Newbie 2 12-31-2004 08:09 AM
Unable to boot up the machine vr76413 Red Hat 2 09-23-2004 02:52 AM
Do multiple versions of Apache on one machine affect each other? mlhammer Linux - Software 0 11-28-2003 06:33 PM

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

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