Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-12-2003, 09:31 PM   #1
Registered: Oct 2003
Distribution: Mandrake 9
Posts: 46

Rep: Reputation: 15
New kernel fails to boot! Unsure of the cause

I have recently attempted to upgrade to 2.4.22 kernel. I configured what I needed(or so I thought) and ran all the commands to compile and install a new kernel. When I try to boot the new kernel, I get the following error while booting up:

ds: no socket drivers loaded!
VFS: Cannot open root device "LABEL=/" or 00:00
Please append a carrect "root=" boot option
Kernel panic: VFS: Unable to mount root on 00:00

Everything before that seems to work correctly. After I reach this, I go no further. My grub.conf looks like this:

# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd1,0)
# kernel /vmlinuz-version ro root=/dev/hdb2
# initrd /initrd-version.img
title Red Hat Linux (2.4.22)
root (hd1,0)
kernel /vmlinuz-2.4.22 ro root=LABEL=/ hdc=ide-scsi hde=noprobe hdg=noprobe
initrd /initrd-2.4.22.img
title Red Hat Linux (2.4.20-20.9custom)
root (hd1,0)
kernel /vmlinuz-2.4.20-20.9custom ro root=LABEL=/ hdc=ide-scsi hde=noprobe hdg=noprobe
initrd /initrd-2.4.20-20.9custom.img
title DOS
rootnoverify (hd0,0)
chainloader +1
#title Red Hat Linux (2.4.20-20.9)
# root (hd1,0)
# kernel /vmlinuz-2.4.20-20.9 ro root=LABEL=/ hdc=ide-scsi hde=noprobe hdg=noprobe
# initrd /initrd-2.4.20-20.9.img
#title Red Hat Linux (2.4.20-8)
# root (hd1,0)
# kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
# initrd /initrd-2.4.20-8.img

This seems to be an easily fixed item, but maybe I'm missing something that you can spot :). Thanks
Old 11-13-2003, 05:01 AM   #2
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 31
A suggestion

First, did you run "grub-install /dev/<your boot device>" after changing the grub.conf file? If not, you should run this command after editing the grub.conf. BUT BE CAREFUL since I do not know which one is your boot device
If you can still boot into the original kernel, try to change the "root=LABEL=/" line of your new kernel to "root=/dev/hdb1" and then run the "grub-install /dev/<your boot device>" command and restart to see whether it works.


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
Newly-Built Kernel Won't Boot, Old One Fails Kenji Miyamoto Slackware 6 05-27-2005 11:30 PM
New kernel fails to boot: It can't find modules.dep though it's there lixy Linux - General 2 04-16-2005 08:23 AM
newly compiled kernel, boot fails class_struggle Linux - Newbie 2 07-30-2004 10:10 AM
Compiling kernel for first time, unsure about 1 thing Nigh Unstoppabl Slackware 1 07-15-2004 05:23 AM
Kernel 2.6.6 upgraded - fails to boot Eux Debian 3 06-30-2004 03:51 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:20 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration