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.
|
 |
05-31-2003, 03:42 AM
|
#1
|
LQ Newbie
Registered: May 2003
Posts: 3
Rep:
|
Custom kernel on RedHat9 wont boot
This is the first time I have tried to compile a custom kernel and it went pretty well. Then I tried to reboot and it gives me this error
VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
Kernel panic: VFS unable to mount rootfs on 00:00
This is my Lilo.conf file
prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32
image=/boot/vmlinuz-2.4.20-8custom
label=2.4.20-8custom
initrd=/boot/initrd-2.4.20-8custom.img
read-only
root=/dev/hda5
image=/boot/vmlinuz-2.4.20-8
label=linux
initrd=/boot/initrd-2.4.20-8.img
read-only
append="root=LABEL=/"
other=/dev/hda1
optional
label=DOS
|
|
|
05-31-2003, 03:55 AM
|
#2
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306
Rep:
|
append="root=LABEL=/"
why do you have that?
i don't think it's booting your custom kernel.
it's bootint your standard kernel with that messed up
append.
dump that append line and
add root=/dev/hda5
|
|
|
05-31-2003, 07:54 AM
|
#3
|
LQ Newbie
Registered: May 2003
Posts: 3
Original Poster
Rep:
|
/dev/hda5
Tried that but does the same maybe I missed something when choosing the kernel modules.
Is there any way I can use one of the preconfigured athlon kernel's that are supplied with redhat 9
|
|
|
05-31-2003, 08:27 AM
|
#4
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306
Rep:
|
you know you have to run lilo by typing,
lilo
to have the changes take effect, right?
|
|
|
06-03-2003, 09:49 AM
|
#5
|
LQ Newbie
Registered: May 2003
Posts: 3
Original Poster
Rep:
|
/sbin/lilo
I have run /sbin/lilo with added both linux kernels and my windows install.
|
|
|
06-03-2003, 10:42 AM
|
#6
|
Senior Member
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,306
Rep:
|
you can add almost any kernel you want from any
distribution and see if it works. i have the knoppix and
gentoo kernels in my current redhat, for testing purposes.
just don't install them. extract them yourself, and then
copy them. mc on most distributions will extract an
rpm for you, or use rpm2tgz.
|
|
|
All times are GMT -5. The time now is 12:01 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
|
|