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 05-31-2003, 03:42 AM   #1
zoon64
LQ Newbie
 
Registered: May 2003
Posts: 3

Rep: Reputation: 0
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
 
Old 05-31-2003, 03:55 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
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
 
Old 05-31-2003, 07:54 AM   #3
zoon64
LQ Newbie
 
Registered: May 2003
Posts: 3

Original Poster
Rep: Reputation: 0
/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
 
Old 05-31-2003, 08:27 AM   #4
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
you know you have to run lilo by typing,
lilo
to have the changes take effect, right?
 
Old 06-03-2003, 09:49 AM   #5
zoon64
LQ Newbie
 
Registered: May 2003
Posts: 3

Original Poster
Rep: Reputation: 0
/sbin/lilo

I have run /sbin/lilo with added both linux kernels and my windows install.
 
Old 06-03-2003, 10:42 AM   #6
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
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.
 
  


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
DSL Kernel Wont detect Flash drive on boot, cant boot =( Javahulk Linux - General 1 03-24-2005 02:59 PM
Boot process stops after custom kernel build FuzzyDuc Debian 3 11-28-2004 06:47 AM
Installing MDK 9.1 with custom BOOT kernel n03lm Mandriva 1 09-04-2003 09:07 PM
Custom Kernel Won't Boot!?!?1 martinman Linux - General 1 07-12-2003 01:10 AM
Making custom kernel..but drivers and modules wont load on boot skoal Linux - General 10 12-06-2001 06:59 PM


All times are GMT -5. The time now is 02:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration