LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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-16-2011, 11:22 AM   #1
persson121
LQ Newbie
 
Registered: Apr 2011
Posts: 11

Rep: Reputation: 0
VFS: Cannot open root device "(null)" or unknow-block(8,1)


Hello. I got a problem with my kernel. The initramfs source is busybox, python and gcc from ubuntu. The busybox have i compiled it self. Python and gcc is from /usr/bin.

I gonna install my kernel on a i586 machine. Old yes. On the xTerm (termial) it stand "root device 8,1).


Quote:
VFS: Cannot open root device "sda1" or unknow-block(0,0)
Please append a correct "root=" boot option; here are the available partions:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)Pid: 1, comm: swapper Not tainted 2.6.38.3 #1
Call trace:

--------------------
This is my syslinux.cfg

default menu.c32
prompt 0
menu title BOOTLOADER
timeout 100

label unetbootindefault
menu label START
kernel bzImage
append root=/dev/sda1
Do you know what the problem is?
 
Old 04-16-2011, 09:52 PM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
I think you are missing your initrd file.

append initrd=initrd.gz

You are loading the kernel but not your initialization ram file, usually called initrd. That's the file that the kernel decompresses and runs in memory to load the minimal hard disk device modules - usually sata, fiber channel or ide drivers. It then mounts the root directory and continues.
 
Old 04-17-2011, 05:33 AM   #3
persson121
LQ Newbie
 
Registered: Apr 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ramram29 View Post
I think you are missing your initrd file.

append initrd=initrd.gz

You are loading the kernel but not your initialization ram file, usually called initrd. That's the file that the kernel decompresses and runs in memory to load the minimal hard disk device modules - usually sata, fiber channel or ide drivers. It then mounts the root directory and continues.
Quote:
default menu.c32
prompt 0
menu title BOOTLOADER
timeout 100

label unetbootindefault
menu label START
kernel bzImage
append root=/dev/sda
append initrd=bzImage
Like this? bzImage contains python and busybox.

Edit: I know the problem! I kernel is borken.

http://www.megaupload.com/?d=TGXSL5LI
Here is my kernel. Its for i586 CPU.

But it works on others computers.

Last edited by persson121; 04-17-2011 at 06:03 AM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
VFS: cannot open root device "sda1" or unknown-block(2,0) elninio Linux - General 2 10-29-2008 04:05 PM
Boot On Lan - Cannot VFS: Cannot open root device "<NULL>" neilneil2000 Linux - Server 6 06-30-2008 01:56 PM
VFS: Cannot open root device "<NULL>" or unknown-block(8.22) aleksanteri Linux From Scratch 1 10-30-2007 04:02 AM
VFS: Cannot open root device "805" or unknown-block(8,5) chameleonic Linux - Newbie 0 09-24-2006 03:34 PM
VFS: Cannot open root device "1601" or unknown-block(22,1) takehora Slackware 3 06-11-2004 08:34 PM


All times are GMT -5. The time now is 09:54 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration