Skip to contentSkip to conversation

cannt open root device ?

DISCUSSION Bo Yang 4 participants 5 messages Mar 31, 2006

lore
Share & tools
lore

Bo Yang

author
#0 lore raw

Hello everybody :
I know maybe my question is just a piece of cake for you , but I have struggled with it for 4 days , and I didn't get any answer from the google and the archive .
So I came here !

And my problem is that :
I use VMware , and install gentoo linux on the vm which hold a scsi disk . I compile the linux kernel with scsi support in the kernel self , but when boot up the kernel panic with the bellow message :
VFS: Cannot open root device "803" or unkonw-block(8,3) Please append a correct "root=" boot option

But I have a line in my lilo.conf : root=/dev/sda3

I have recompile the kernel for many times , but it panic everytime .

Thanks in advance !

Best Regard !

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#1 lore raw
Quoted 12 lines · Bo Yang

I know maybe my question is just a piece of cake for you , but I have struggled with it for 4 days , and I didn't get any answer from the google and the archive .
So I came here !

And my problem is that :
I use VMware , and install gentoo linux on the vm which hold a scsi disk . I compile the linux kernel with scsi support in the kernel self , but when boot up the kernel panic with the bellow message :
VFS: Cannot open root device "803" or unkonw-block(8,3) Please append a correct "root=" boot option

Quoted 3 lines

But I have a line in my lilo.conf : root=/dev/sda3

I have recompile the kernel for many times , but it panic everytime .

This is actually a VMware question more than a Linux question. They have a user forum: have you tried posting about your problem there? I have a little bit of experience with VMware, but you don't provide enough information for me to take a stab at what the problem might be. First, is this a virtual disk or are you trying to use an actual scsi hardware disk for your Gentoo install? I have no expereince with using a real disk or partition for the guest OS, only with virtual disks. So I might not be able to help with that anyway. If it's a virtual partition I can't understand why you would specify it as /dev/sda3. I've always put OS's on the first partition of the virtual disk. VMware presents these virtual disks to the host OS as scsi disks, so my experience has always been with systems installed to /dev/sda1. Did you partition the (virtual?) disk and put /home and swap or something on the other 2 partitions? Anyway, I'm not even sure I can help. Probably best to try the VMware forums.

James
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

author
#2 lore raw
Quoted 2 lines

This is actually a VMware question more than a Linux question. They have a user forum: have you tried posting about your problem there? I have a little bit of experience with VMware, but you don't provide enough information for me to take a stab at what the problem might be. First, is this a virtual disk or are you trying to use an actual scsi hardware disk for your Gentoo install? I have no expereince with using a real disk or partition for the guest OS, only with virtual disks.

It is a scsi virtual disk , and VM display it as '' Hard Disk 1: (SCSI 0:0)"

Quoted 1 line

So I might not be able to help with that anyway. If it's a virtual partition I can't understand why you would specify it as /dev/sda3. I've always put OS's on the first partition of the virtual disk. VMware presents these virtual disks to the host OS as scsi disks, so my experience has always been with systems installed to /dev/sda1. Did you partition the (virtual?) disk and put /home and swap or something on the other 2 partitions? Anyway, I'm not even sure I can help. Probably best to try the VMware forums.

And I have partition the disk for 4 part .

/dev/sda1  /boot  reiserfs
/dev/sda2  swap  swap
/dev/sda3  /          reiserfs
/dev/sda4  /usr    reiserfs

So I tell the lilo to mount the root file system in the partition /dev/sda3 , is it wrong ?

Thank you for your reply !
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#3 lore raw

Hi,

I'm not sure but maby you don't have the correct modules to manage the
disk emulated by VMware in the initrd. I have a FC4 installed on a vmware machine with SCSI disk and I need that initrd loads this modules to wark fine: scsi_mod, sd_mod, mptbase, mptscsih, mptspi. Without this modules the kernel can't manage the disk and it can't create the root device to do the switchroot.

I hope it can help you.

Good Luck!!

Juanjo

El vie, 31-03-2006 a las 13:50 +0800, Bo Yang escribió:

Quoted 26 lines
Quoted 7 lines

This is actually a VMware question more than a Linux question. They have a user forum: have you tried posting about your problem there? I have a little bit of experience with VMware, but you don't provide enough information for me to take a stab at what the problem might be. First, is this a virtual disk or are you trying to use an actual scsi hardware disk for your Gentoo install? I have no expereince with using a real disk or partition for the guest OS, only with virtual disks.

It is a scsi virtual disk , and VM display it as '' Hard Disk 1:
(SCSI 0:0)"

Quoted 8 lines

So I might not be able to help with that anyway. If it's a virtual partition I can't understand why you would specify it as /dev/sda3. I've always put OS's on the first partition of the virtual disk. VMware presents these virtual disks to the host OS as scsi disks, so my experience has always been with systems installed to /dev/sda1. Did you partition the (virtual?) disk and put /home and swap or something on the other 2 partitions? Anyway, I'm not even sure I can help. Probably best to try the VMware forums.

And I have partition the disk for 4 part .

/dev/sda1  /boot  reiserfs
/dev/sda2  swap  swap
/dev/sda3  /          reiserfs
/dev/sda4  /usr    reiserfs

So I tell the lilo to mount the root file system in the partition /dev/sda3 , is it wrong ?

Quoted 6 lines

Thank you for your reply !
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#4 lore raw
In reply to Bo Yang

I would second what's been said about the VM ware forums, and add that the Gentoo Forums might also provide more relevant help to the Gentoo specific items. Also here's an article on Gentoo & VM ware:
http://www.linuxdig.com/news_page/1082673701.php

-- David

Quoted 24 lines · Bo Yang

Hello everybody :
I know maybe my question is just a piece of cake for you , but I have struggled with it for 4 days , and I didn't get any answer from the google and the archive .
So I came here !

And my problem is that :
I use VMware , and install gentoo linux on the vm which hold a scsi disk . I compile the linux kernel with scsi support in the kernel self , but when boot up the kernel panic with the bellow message :
VFS: Cannot open root device "803" or unkonw-block(8,3) Please append a correct "root=" boot option

But I have a line in my lilo.conf : root=/dev/sda3

I have recompile the kernel for many times , but it panic everytime .

Thanks in advance !

Best Regard !

Quoted 5 lines

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs