Re: error for booting new compiled kernel




dharmendra wrote:

hi all,

can any body help me,
i did compilation of kernel 2.4.20 many times but it do not boot
successfully in my Red Hat linux, here is the fillowing last 4 lines
that i got when kernle boot:


ds: no socket driver loaded!
VFS: Cannot open root device " LABLE=/dev/hda6" or 00:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 00:00

i have edit grub.conf file as follow:
title Red Hat Linux ( 2.4.20-8)
root ( hd0, 5)
kernel /boot/vmlinux-2.4.20-8 ro root=LABEL=/
initrd /boot/initrd-2.4.20-8.img
########## FOLLOWING IS THE PORTION THAT I HAVE APPENDED#########
title Red Hat Linux ( 2.4.20-8)
root ( hd0, 5)
kernel /boot/bzImage-2.4.20-new ro root=LABEL=/
Try giving "root=/dev/hda6" instead of giving "root=LABEL=/". Which
filesystem "/" has ? Have you made it inbuilt?

initrd /boot/initrd-2.4.20-new.img

i went through many documentition given on net and all are almost same.
i follow the instruction they have given
but i coulnt solve this problem

please kindly help me

dharmendra

.



Relevant Pages

  • Re: Etch on USB-HD wont boot - race condition?
    ... notebook but the kernel cannot find the root filesystem. ... I had an initial problem that I think I got solved: On boot, ... Begin: Mounting root file system... ... SCSI device sda: 78140159 512-byte hdwr sectors ...
    (Debian-User)
  • Re: Grub Loader
    ... I infer from your grub.conf listing that the "default=11" specification in your grub.conf listing designates the default kernel for booting and the "fallback=9" defines the kernel for loading if the first one fails. ... title Red Hat Linux root ...
    (Fedora)
  • Re: 2.6.9-rc2-mm1
    ... Fails to boot on my Altix. ... diff between 2.6.9-rc1-mm4 and 2.6.9-rc2 indicates some kind of PCI, ... Mounted root readonly. ... -doneshowconsole: Warning: the ioctl TIOCGDEV is not known by the kernel ...
    (Linux-Kernel)
  • Re: Installing grub for a different computer
    ... > root ... > menu - I guess there's only one kernel present). ... Boot with the floppy ... After entering the commands above for root, kernel and initrd grub is ...
    (Fedora)
  • Re: booting from ISO image on HD?
    ... I'm not going to write the pivot root script, ... > through customized initrd files for each one. ... I have to insmod the loop kernel module(e.g. ... The idea is that either you build what you need to boot into your ...
    (comp.os.linux.misc)