LinuxQuestions.org
Help answer threads with 0 replies.
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-25-2004, 03:40 PM   #1
SuXnEt
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
Problem booting kernel 2.6.6


Hi!

First of all, sorry for my bad English, I'm Spanish :P

I have searched all the forums, I have watched a lot of google pages, but I don't know what's the problem.

I have compiled the new Kernel 2.6.6, but, when it boots, I get this error:

VFS: Cannot open root device "LABEL=/" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs or unknown-block(0,0)

My hd is an IDE ext3. I have turned on the ext2 and ext3 feature in the kernel, and the IDE, and the devfs, but I got always this error.

I'm sorry if anybody asked it before, I'm sure I have read that message, but I don't find any solution that works for me.

I have an AMD Athlon Thunderbird 1GHz - 128MB RAM
I'm using Fedora Core 2 with kernel 2.6.5-1.358, but I am trying to compile the kernel source of kernel.org.
My .config is here: ilu.sourceforge.net/config
EDIT: Ah! I forget my Grub configuration:
title Fedora Core (2.6.6)
root (hd1,0)
kernel /boot/vmlinuz-2.6.6 ro root=LABEL=/
initrd /boot/initrd-2.6.6.img

Can anybody help me?

Thanks!

Last edited by SuXnEt; 05-25-2004 at 03:42 PM.
 
Old 05-25-2004, 04:22 PM   #2
eyeoft
LQ Newbie
 
Registered: May 2004
Distribution: Debian
Posts: 6

Rep: Reputation: 0
It sounds to me as though maybe you're not specifying which partition your root filesystem is on. I'm not very familiar with GRUB, but judging by

VFS: Cannot open root device "LABEL=/" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs or unknown-block(0,0)

I'd say that "LABEL=/" in your GRUB configuration should probably be your root partition, /dev/hda1 or wherever it is.
 
Old 05-25-2004, 04:26 PM   #3
SuXnEt
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Not, it doesn't. All the others grub entries have this label, but only it fails. I have tried what you said, but the same happens.

But thanks for your reply
 
Old 05-25-2004, 04:33 PM   #4
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
open /boot/grub/menu.lst
replace the part that says root=/LABEL/ with root=/dev/hda2
(substitute /dev/hda for the disk and partition that your root is installed on.

also, do the same to the file /etc/fstab

that will solve that problem.
 
Old 05-25-2004, 05:29 PM   #5
SuXnEt
LQ Newbie
 
Registered: Oct 2003
Posts: 4

Original Poster
Rep: Reputation: 0
I do it, but now I got other error (very similar):

VFS: Cannot open root device "hdb1" or hdb1
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs or hdb1

But...
[root@localhost root]# df /
S.ficheros Bloques de 1K Usado Dispon Uso% Montado en
/dev/hdb1 6551272 5269988 948496 85% /

I changed my Grub config to:
title Fedora Core (2.6.6)
root (hd1,0)
kernel /boot/vmlinuz-2.6.6 ro root=/dev/hdb1
initrd /boot/initrd-2.6.6.img

And my /etc/fstab:
[root@localhost root]# cat /etc/fstab
/dev/hdb1 / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda1 /mnt/c vfat defaults 0 0
/dev/hdb2 /mnt/d vfat defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hdb3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0


Did I do anything bad?

Thanks for your reply!

Last edited by SuXnEt; 05-25-2004 at 05:35 PM.
 
  


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
problem with the new kernel booting. pal Linux - Newbie 18 01-02-2005 02:31 AM
booting new kernel. Booting new kernel dies with INIT: VFS issue, really mus335 Linux - General 0 04-21-2004 11:52 AM
Problem booting up new kernel. Kernel panic error... RHLinuxGUY Red Hat 2 04-11-2004 04:59 AM
Problem with booting new kernel beejayzed Linux - Newbie 9 03-03-2004 04:43 PM
Kernel Booting Problem VIP3R Linux - Software 10 08-08-2003 11:38 PM

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

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