LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-06-2004, 12:26 PM   #1
sachin73
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
Question problems with compiling linux kernel-----help


I am trying to compile the linux kernel to enable QOS support in it but having problems since a while:

Cannont 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 what i am doing

make mrproper
make xconfig
make dep
make clean
make bzImage
make modules
make modules_install

my new kernel version name is 2.4.20-8wQOS

then for installing:
cp arch/i386/boot/bzImage /boot/bzImage-2.4.20-8wQOS
cp System.map /boot/System.map-2.4.20-8wQOS
mkinitrd /boot/initrd-2.4.20-8wQOS 2.4.20-8wQOS

ln -s /boot/System.map-2.4.20-8wQOS /boot/System.map


My grub.conf file looks like:

splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title Red Hat Linux (2.4.20-8wQOS)
root (hd0,0)
kernel /vmlinuz-2.4.20-8wQOS ro root=LABEL=/
initrd /initrd-2.4.20-8wQOS.img


However when i boot the kernel 2.4.20-8wQOS i get:

Cannont 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 output of fdisk -l /dev/hda is

Device Booot
/dev/hda1 *
/dev/hda2
/dev/hda3

I even changed the root-LABEL=/ in grub.conf to root=LABEL=/dev/hda1 but din't help

Can someone help me ?

Thanx,
Sachin
 
Old 05-06-2004, 12:54 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
yeah, I had the same problem when I tried to install a newer linux to my old pc. I didn't figure out anything and reinstalling the distro didn't either work...I only got it working when I removed all my partitions and re-wrote the whole partition table, formatted and reinstalled Linux.

don't know why this happened..it had something to do with the newer kernel too. hopefully you don't have to wipe out your partitions :/
 
  


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
problems compiling a kernel kryptonite0110 Linux - Software 4 06-26-2005 03:33 PM
Kernel 2.6 compiling problems phekno Slackware 5 01-15-2005 10:35 AM
two problems after compiling my kernel el_pajaro! Linux - Software 4 10-21-2004 07:22 AM
Problems after kernel compiling Harp00 Slackware 5 07-09-2004 06:52 PM
kernel 2.6.0 compiling problems Haiyadragon Linux - General 10 12-22-2003 04:00 AM

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

All times are GMT -5. The time now is 10:00 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