LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-03-2003, 05:48 PM   #1
VIP3R
Member
 
Registered: Mar 2003
Posts: 99

Rep: Reputation: 15
Kernel Booting Problem


Hi, I recompiled my kernel, and it keeps giving me some messed up error messages!

# ERROR #
Kernel Panic: Unable to mount root fs or 00:00.
#########
When i try to fix that by changing the "root=LABEL=/" setting in grub to "/dev/hda5", i get a "try to pass an init= option" error.

How could I fix this, and why is it happening? I just want a working kernel that I recompiled :P! Could it be due to the fact that i'm removing SCSI options from my kernel configuration before I compile it?

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,5)
# kernel /boot/vmlinuz-version ro root=/dev/hda6
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=3
timeout=10
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20.666)
root (hd0,5)
kernel /boot/vmlinuz-2.4.20.666 ro root=LABEL=/ hdd=ide-scsi
initrd /boot/initrd-2.4.20.666.img
title Red Hat Linux (2.4.20-13.8)
root (hd0,5)
kernel /boot/vmlinuz-2.4.20-13.8 ro root=LABEL=/ hdd=ide-scsi
initrd /boot/initrd-2.4.20-13.8.img
title Red Hat Linux (2.4.18-14)
root (hd0,5)
kernel /boot/vmlinuz-2.4.18-14 ro root=LABEL=/ hdd=ide-scsi
initrd /boot/initrd-2.4.18-14.img
title Windows
rootnoverify (hd0,0)
chainloader +1
 
Old 06-03-2003, 07:30 PM   #2
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
How are you doing it??

Are you using the RedHat way? Make it an RPM and all that? Or are you doing it manually : make menuconfig, make dep && make clean bzImage modules modules_install?
 
Old 06-03-2003, 08:20 PM   #3
lokee
Member
 
Registered: Feb 2003
Distribution: Gentoo
Posts: 381

Rep: Reputation: 30
Seems like someone forgot something:
run 'man mkinitrd', and make a initrd with which you'll use with your new kernel.
 
Old 06-04-2003, 05:09 AM   #4
VIP3R
Member
 
Registered: Mar 2003
Posts: 99

Original Poster
Rep: Reputation: 15
I'm doing it the manual way on a redhat 8.0 system. And i make an initrd by doing

mkinitrd /boot/initrd-2.4.20.666.img 2.4.20.666

?

Maybe there's a missing step, or a missing option in the kernel i built because if it detects the drives, cdrom, and floppy, then it should work.
 
Old 06-04-2003, 08:54 AM   #5
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
What about...

System.map
 
Old 06-04-2003, 02:33 PM   #6
VIP3R
Member
 
Registered: Mar 2003
Posts: 99

Original Poster
Rep: Reputation: 15
umm what about a sytem map? I think i have one :S!
 
Old 06-04-2003, 03:26 PM   #7
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
OK, then....

Good Luck, vip3r.
 
Old 06-04-2003, 03:49 PM   #8
VIP3R
Member
 
Registered: Mar 2003
Posts: 99

Original Poster
Rep: Reputation: 15
?? wtf? Just like that u give up on me?
 
Old 06-04-2003, 05:25 PM   #9
je_fro
Member
 
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341

Rep: Reputation: 30
Quote:
umm what about a sytem map? I think i have one :S!
Quote:
?? wtf? Just like that u give up on me?
I don't mind helping cordial people.
Did you do a make mrproper first?
mrproper would wipe out lots of stuff. I'd try copying an old .config to the new kernel, then just change what you want.

Last edited by je_fro; 06-04-2003 at 05:30 PM.
 
Old 06-04-2003, 05:29 PM   #10
VIP3R
Member
 
Registered: Mar 2003
Posts: 99

Original Poster
Rep: Reputation: 15
Umm i don't know what you understood by "what about a system map" but I meant that "what is a system map, for what, why, and where should it be".
 
Old 08-08-2003, 11:38 PM   #11
incudie
LQ Newbie
 
Registered: Jul 2003
Location: Oxnard/CA/USA
Distribution: Debian
Posts: 12

Rep: Reputation: 0
System.map

Ok dude...
In a nutshell the system.map is a bunch of coding symbols (correct me if I'm wrong please)

and you can find it wherever you compiled your kernel (ex: /usr/src/linux/system.map)

Then you want to copy that to /boot
I would sugguest doing that with the following

"cp System.map /boot (while in soure dir)

I myself am a newbie but I do try to help people. Once again please correct me if I'm wrong on any of this.
 
  


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
problem with the new kernel booting. pal Linux - Newbie 18 01-02-2005 02:31 AM
booting new kernel. Booting new kernel dies with INIT: VFS issue, really mus335 Linux - General 0 04-21-2004 11:52 AM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 04:59 AM
Problem with booting new kernel beejayzed Linux - Newbie 9 03-03-2004 04:43 PM
Kernel booting problem chup Linux - General 3 12-27-2003 10:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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