LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 09-09-2003, 02:49 AM   #1
lyceum
Member
 
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229

Rep: Reputation: 30
kernel panic on reboot of newly compiled kernel


just compiled 2.4.22 and upon rebooting get the following error message:
Code:
VFS:  Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
Kernel panic:  VFS:  Unable to mount root fs on 00:00
here is my grub.conf:
Code:
# 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 (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/hda2
#          initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.22)
        root (hd0,0)
        kernel /vmlinuz-2.4.22 ro root=LABEL=/ hdc=ide-scsi
        initrd /initrd-2.4.22.img
title Red Hat Linux (2.4.20-19.23.rh9.at)
        root (hd0,0)
        kernel /vmlinuz-2.4.20-19.23.rh9.at ro root=LABEL=/ hdc=ide-scsi
        initrd /initrd-2.4.20-19.23.rh9.at.img
title Red Hat Linux (2.4.20-6)
        root (hd0,0)
        kernel /vmlinuz-2.4.20-6 ro root=LABEL=/ hdc=ide-scsi
        initrd /initrd-2.4.20-6.img
i have no problems booting into the two other kernel versions listed here.

Can anyone help me with this? Thanks in advance.

NOTE: compiled kernel according to Drozz's guide found here:
http://www.linuxquestions.org/questi...355#post379355
 
Old 09-09-2003, 03:29 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,373

Rep: Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962
i'd assume that you'd need to specifically enable ext2 label support. or just change the entry to a real /dev/hdXY entry - press e to edit the line etc....
 
Old 09-09-2003, 05:14 AM   #3
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Interesting as I am also having similar problems with this kernel seehere
 
Old 09-09-2003, 07:53 AM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Initially - I had a similar error with 2.4.22 on Red Hat 9 with LILO - I sorted it by explicitly stating what the device name of the root partition was - ie - I inserted :

root=/dev/hda3

and got rid of :

root=LABEL=/

from lilo.conf.
 
Old 09-09-2003, 09:40 AM   #5
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
same here, "/" didnt work and gave me the same error as posted above.
"/dev/hda" worked.
 
  


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
Troubleshooting Newly Compiled Kernel binarybob0001 Linux - General 2 11-20-2005 04:06 AM
Newly compiled kernel behaves as if it was the old one? grayFalcon Linux - Software 4 06-03-2004 04:52 AM
newly compiled kernel (2.4.22)caught in reboot cycle FeO Slackware 5 11-14-2003 07:07 PM
Problem with newly compiled 2.4.22 kernel Xero720 Slackware 2 09-06-2003 12:23 PM
cdrom troubles with newly compiled kernel N_A_J_M Linux - General 9 12-09-2002 04:14 AM


All times are GMT -5. The time now is 09:07 AM.

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