LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   VFS: Cannot open root device "(null)" or unknow-block(8,1) (http://www.linuxquestions.org/questions/linux-general-1/vfs-cannot-open-root-device-null-or-unknow-block-8-1-a-875334/)

persson121 04-16-2011 12:22 PM

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?

ramram29 04-16-2011 10:52 PM

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.

persson121 04-17-2011 06:33 AM

Quote:

Originally Posted by ramram29 (Post 4326764)
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.


All times are GMT -5. The time now is 03:52 AM.