LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-07-2005, 04:14 PM   #1
htamayo
Member
 
Registered: Jan 2005
Location: san salvador, el salvador
Distribution: Debian Stable, UbuntuStudio Karmic Koala
Posts: 190

Rep: Reputation: 30
kernel compilation error


So, after follow all steps in this tuto: "digitalhermit.com/linux/Kernel-Build-HOWTO.html" whe I rebooted my pc I obtained this error message:

VFS cannot open root device "LABEL=/" or unknown-block(0,0)
please append a correct "root=" boot opt

kernel panic-not syncing:VFS: Unable to mount root fs on unknown-block (0,0)

so what is that? what did I wrong?

thanks for your advices
 
Old 01-07-2005, 04:17 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Have you compiled the FileSystem into your kernel or have you made it a module? This is the most common mistake that causes this error.

It has to be compiled in for root, since you can't mount root to read the module.
 
Old 01-07-2005, 04:33 PM   #3
htamayo
Member
 
Registered: Jan 2005
Location: san salvador, el salvador
Distribution: Debian Stable, UbuntuStudio Karmic Koala
Posts: 190

Original Poster
Rep: Reputation: 30
Filesystem as a module or into the kernel

Thanks Ieonscape but, forgive me, I don´t understand what do you mean?, do you talk about some options in "make menuconfig" step?, I think that you´re trying to tell me that the filesystems option I put it as a "module", and It has to be as a root, is it right?, if it doesn´t, can you explain me?

thanks
 
Old 01-07-2005, 05:15 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Okay I'll try and explain, as I wasn't to clear before

The filesystem of root ( ext2, ext3, reiserfs etc.. ) has to be compiled into the kernel ( marked with a * ), and not made as a module ( marked with a M ). when you do make menuconfig.

Otherwise the kernel can't read the root partition.

If you think about it you'll see that the kernel reads the modules from root.
Now if you've compiled the filesystem of root as a module, then the kernel can't read root to get the module to read root. Its hard to explain, but read it again and you'll get it

The other reason to get this error is a configuration error in your bootloader either LILO or GRUB, but thats less common.
 
  


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
Kernel compilation error: Error 15: File not found Niceman2005 Linux - General 9 10-04-2007 04:45 AM
kernel compilation error bond_7942 Linux - Newbie 2 02-02-2005 02:14 PM
kernel compilation error bond_7942 Linux - General 1 02-02-2005 05:35 AM
kernel compilation error in 2.4.20-8 cranium2004 Linux - Software 1 11-24-2004 07:04 AM
Kernel 2.2.21 compilation error incudie Linux - Newbie 3 08-10-2003 03:04 PM

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

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