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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
06-03-2003, 05:48 PM
|
#1
|
Member
Registered: Mar 2003
Posts: 99
Rep:
|
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
|
|
|
06-03-2003, 07:30 PM
|
#2
|
Member
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341
Rep:
|
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?
|
|
|
06-03-2003, 08:20 PM
|
#3
|
Member
Registered: Feb 2003
Distribution: Gentoo
Posts: 381
Rep:
|
Seems like someone forgot something: 
run 'man mkinitrd', and make a initrd with which you'll use with your new kernel.
|
|
|
06-04-2003, 05:09 AM
|
#4
|
Member
Registered: Mar 2003
Posts: 99
Original Poster
Rep:
|
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.
|
|
|
06-04-2003, 08:54 AM
|
#5
|
Member
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341
Rep:
|
What about...
System.map
|
|
|
06-04-2003, 02:33 PM
|
#6
|
Member
Registered: Mar 2003
Posts: 99
Original Poster
Rep:
|
umm what about a sytem map? I think i have one :S!
|
|
|
06-04-2003, 03:26 PM
|
#7
|
Member
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341
Rep:
|
OK, then....
Good Luck, vip3r.
|
|
|
06-04-2003, 03:49 PM
|
#8
|
Member
Registered: Mar 2003
Posts: 99
Original Poster
Rep:
|
?? wtf? Just like that u give up on me?
|
|
|
06-04-2003, 05:25 PM
|
#9
|
Member
Registered: Nov 2002
Location: /texas/austin/home/desk
Distribution: Gentoo
Posts: 341
Rep:
|
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.
|
|
|
06-04-2003, 05:29 PM
|
#10
|
Member
Registered: Mar 2003
Posts: 99
Original Poster
Rep:
|
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".
|
|
|
08-08-2003, 11:38 PM
|
#11
|
LQ Newbie
Registered: Jul 2003
Location: Oxnard/CA/USA
Distribution: Debian
Posts: 12
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 04:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|