Linux - SoftwareThis 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.
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
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.