LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Custom kernel on RedHat9 wont boot (https://www.linuxquestions.org/questions/linux-software-2/custom-kernel-on-redhat9-wont-boot-62840/)

zoon64 05-31-2003 03:42 AM

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

whansard 05-31-2003 03:55 AM

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

zoon64 05-31-2003 07:54 AM

/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

whansard 05-31-2003 08:27 AM

you know you have to run lilo by typing,
lilo
to have the changes take effect, right?

zoon64 06-03-2003 09:49 AM

/sbin/lilo
 
I have run /sbin/lilo with added both linux kernels and my windows install.

whansard 06-03-2003 10:42 AM

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 07:38 AM.