LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-12-2003, 02:34 PM   #1
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
Question error on boot of new kernel. grub error.


I just recompiled the 2.4.20-9 kernel to include acpi and such. The only proble I have run into is when I boot the new kernel I get this error near the end.

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

My partition set up on this laptop is as follows.
1st partition is Windows XP
2nd partition is a fat32 shared partition
the rest of the drive is autopartitioned by Red Hat 9

My Grub.conf file looks like this

title Red Hat Linux 9-Shrike (2.4.20-acpi)
root(hd0,2)
kernel /vmlinuz-2.4.20-acpi ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-9.img
title Red Hat Linux (2.4.20-8)
root (hd0,2)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.20-8.img
title Windows XP Ho
rootnoverify (hd0,0)
chainloader +1

I know I am so close to successfully compiling my own kernel, but I have obviously screwed something up with Grub. Any kernel gurus out there have an idea where I went wrong?
 
Old 04-12-2003, 03:42 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try this

kernel /vmlinuz-2.4.20-8 ro root=/dev/hda3 hdc=ide-scsi

if this does not work you may have a problem with the kernel, most likely in the Filesystems section
 
Old 04-12-2003, 03:47 PM   #3
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Original Poster
Rep: Reputation: 46
Thanks David. I got the partition info for my drives and changed the grub.conf settings to hda5 and it worked!!!

I now have ACPI and wi-fi support. My custom kernel booted with only one error. It says during the mount phase of boot that ext3 support is not enabled in the kernel. Yet I can see and write to all my linux partitions. So the new question is, should I recompile again and see if I can fix the no ext3 thing, or is it not important?
 
Old 04-12-2003, 04:39 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
it's pretty important to me, but ext2 is a good file system. The problem is if the system suddenly goes off or hangs without shutting down properly then the filesystem can be damaged. Also fsck will need to check and repair the disk when it boots. ext3 is ext2 with a journal file that keeps track of disk writes. This makes it boot much faster and reduces the chance of a problem.

You should build support for ext3 in the kernel and not as a module.
 
Old 05-10-2003, 09:37 AM   #5
activematrix
Member
 
Registered: Dec 2001
Location: Wichita, KS
Distribution: SuSE 8.2 (work), RedHat 9 (test machine), Solaris 9 (work), Mandrake 9.1 (home)
Posts: 43

Rep: Reputation: 15
Unhappy ... panic!!

Quick addition to the topic: I am using RH 9 and attempted to recompile my kernel with P4 and my i8k (Dell Laptop) support and the recompile process seemed smooth. I rebuilt my image using bzImage and made the initial boot image (mkinitrd). However, it gets to a specific point and panics. From pausing the screen several times, it looks as if the ext3 module died (showing dozens of unresolved symbol errors)... I hate to use a stereotyped answer, but... I didn't touch it! *grin*

I tried using /dev/hda2 instead of / for the boot path, but still no go. I also attempted to add init=/bin/sh without success.

I'm gathering that the failure is causing the ext3 module to not load at all... thus, not seeing those partitions.

Any ideas?

Thanks!!

-David
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Error 17 on GRUB Boot Area51mafia Linux - General 2 07-11-2005 04:51 PM
Grub (error 17) won't boot after new motherboard/vid card.. boot disk anyone? r3dhatter Linux - Newbie 5 02-16-2005 06:52 PM
kernel upgrade/boot error with grub c_gebers Linux - Software 2 07-09-2003 04:42 AM
GRUB Error 23 on boot osiris Linux - Software 4 06-18-2003 12:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:09 PM.

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