LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-18-2003, 10:59 AM   #1
c_gebers
LQ Newbie
 
Registered: Jun 2003
Distribution: Redhat
Posts: 1

Rep: Reputation: 0
kernel upgrade/boot error with grub


wotcher,

I've just upgraded my kernel to 2.4.21 & patched for the new APCI (power management) functionality. The kernel upgrade & patch went without a hitch. I've added a grub file entry as follows:

title Red Hat Linux [ACPI Enabled] (2.4.21)
root (hd0,2)
kernel /boot/vmlinuz-2.4.21 ro root=LABEL=/
initrd /boot/initrd-2.4.21.img

Basically this is identical to all previous grub entries barring the kernel version number.

However when I try and boot with the new kernel, while everything starts ok, before long I get a kernel panic with the following error:

VFS: cannot open root device "LABEL=/" or 00:00
Please append a correct "root = " boot option

and blam! over she goes...

Any ideas here - it seems like a simple syntax error in the grub file but as I said the entry is identical to all previous entries.

The only other thing that's different is I don't have a module-info file in /boot/ for the new kernel. I'm told this doesn't matter however.

Any leads/directions before I start suspecting the APCI modules are at fault?

Cormac
 
Old 07-09-2003, 12:45 AM   #2
softcore26
Member
 
Registered: Jul 2003
Location: columbia
Distribution: Linux+XP
Posts: 40

Rep: Reputation: 15
if your root is mounted on "hda3" then your settings are correct. otherwise just use (hd0,root-partition-number-1).

in case if you are doing correctyly then try this

title Red Hat Linux [ACPI Enabled] (2.4.21)
root (hd0,2)
kernel (hd0,2)/boot/vmlinuz-2.4.21 ro root=LABEL=/
initrd (hd0,2)/boot/initrd-2.4.21.img

OR

title Red Hat Linux [ACPI Enabled] (2.4.21)
root (hd0,2)
kernel /boot/vmlinuz-2.4.21 ro root=LABEL=/ hdd=ide-scsi
initrd /boot/initrd-2.4.21.img
 
Old 07-09-2003, 04:42 AM   #3
softcore26
Member
 
Registered: Jul 2003
Location: columbia
Distribution: Linux+XP
Posts: 40

Rep: Reputation: 15
i was wrong above...but the most accurate answer is given below

instead of root=LABEL=/
do root=/dev/hdax (where x is the root partition number)

that should fix your problem
 
  


Reply



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
Kernel Audit Support Unavaible error when booting after kernel upgrade abefroman Red Hat 2 03-21-2013 08:32 AM
Gentoo-Im dumb and deleted /boot/boot Grub Says: Error 26 : Too many symbolic links smehi Linux - Software 5 06-24-2006 06:25 AM
Grub (error 17) won't boot after new motherboard/vid card.. boot disk anyone? r3dhatter Linux - Newbie 5 02-16-2005 06:52 PM
Box wont boot after kernel upgrade "Dump Card State Ends" error with scsi card abefroman Mandriva 0 03-25-2004 03:42 PM
error on boot of new kernel. grub error. Pcghost Linux - General 4 05-10-2003 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:45 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration