RE: kernel wont boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: RE: kernel wont boot

This means that in your /boot/grub/grub.conf file you have a line that looks like this:

kernel /vmlinuz-2.4.20 ro root=<some device>,  or something similar

The "root=" part of it needs to be a valid root partition or a label that points to a valid root partition.

One thing that might be happening if you are using modules for you disk controllers, you may need to make a ramdisk, "initrd" file.  I would recommend that you do this if you have any modules that are needed to load hardware drivers.  To do this use mkinitrd.  To figure out how to use mkinitrd just read the man page.  It's pretty simple.

Regards,

Drew

-----Original Message-----
From: Ashish Samant [mailto:als1140@xxxxxxxxxx]
Sent: Tuesday, February 03, 2004 9:36 AM
To: redhat-list@xxxxxxxxxx
Subject: kernel wont boot




Hi...

I was trying to compile and install a new kernel, from a clean kernel
source (2.4.20). But looks like I messed up some step and now I cant boot
with the new kernel. I can however get back to my old one.I am going to
try redoing the whole thing, but not quite sure, what should I do
differently.

Could anybody tell me what could have gone wrong with my last attempt ? I
got the following error when I tried to boot the new kernel :

.............
VFS : cannot open root device "Label=/1" OR 00:00
Please append a correct "root=" boot option
Kernel panic :VFS Unable to mount fs on 00:00
.......

What does that above statement mean ?
If it would help, here is my lilo.conf

........
timeout=50
default=Windows98
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32

#the new kernel
image=/boot/vmlinuz-2.4.20-ph
      label=2.4.20-ph
      initrd=/boot/initrd-2.4.20-ph.img
      read-only
      append="hdc=ide-scsi root=LABEL=/1"

#existing, which boots fine
image=/boot/vmlinuz-2.4.20-8
      label=RedHat(hda3)
      initrd=/boot/initrd-2.4.20-8.img
      read-only
      append="hdc=ide-scsi root=LABEL=/1"

other=/dev/hda1
      optional
      label=Windows98(hda1)
..........

It will be great if somebody could tell me what did I botch, so that I can
avoid it the next time around :). ( Not sure, what other info should I
post here)

Thanks again for your time,

Ashish.


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux