OpenVZ Forum


Home » Mailing lists » Users » boot error - unable to mount root fs on unknown-block(0,0)
boot error - unable to mount root fs on unknown-block(0,0) [message #21772] Tue, 16 October 2007 06:24 Go to next message
Ian jonhson is currently offline  Ian jonhson
Messages: 11
Registered: October 2007
Junior Member
Hi,

It is my first time to use the openvz. I downloaded stuff
(kernel-patch, vzctl vzquota) by apt-get on my Debian4 and installed
them according the instructions of

http://wiki.openvz.org/Installation_on_Debian

However, when I rebooted my computer, I got a error message in system booting:

....
[  10.543572] VFS:Cannot open root device "sda1" or unknown-block(0,0)
[  10.543635] Please appedn a correct "root=" boot option
[  10.543697] Kernel panic - not syncing : VFS: Unable to mount root
fs on unknown-block(0,0)

what is matter with it?

My running environment is Debian4 on VMware 5.5.


Thanks!


Best washes,

Ian
Re: boot error - unable to mount root fs on unknown-block(0, 0) [message #21779 is a reply to message #21772] Tue, 16 October 2007 08:25 Go to previous messageGo to next message
porridge is currently offline  porridge
Messages: 23
Registered: October 2007
Location: London, UK
Junior Member
On Tue, Oct 16, 2007 at 02:24:51PM +0800, Ian jonhson wrote:
> Hi,
> 
> It is my first time to use the openvz. I downloaded stuff
> (kernel-patch, vzctl vzquota) by apt-get on my Debian4 and installed
> them according the instructions of
> 
> http://wiki.openvz.org/Installation_on_Debian
> 
> However, when I rebooted my computer, I got a error message in system booting:
> 
> ....
> [  10.543572] VFS:Cannot open root device "sda1" or unknown-block(0,0)
> [  10.543635] Please appedn a correct "root=" boot option
> [  10.543697] Kernel panic - not syncing : VFS: Unable to mount root
> fs on unknown-block(0,0)
> 
> what is matter with it?

You probably configured your kernel incorrectly (missing initrd, device
of filesystem drivers?). Try installing a pre-built kernel image
instead, it's more likely to be bootable without problems.

regards,

-- 
Marcin Owsiany <marcin@owsiany.pl>              http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216
 
"Every program in development at MIT expands until it can read mail."
                                                              -- Unknown
Re: boot error - unable to mount root fs on unknown-block(0, 0) [message #21800 is a reply to message #21779] Tue, 16 October 2007 12:06 Go to previous messageGo to next message
Ian jonhson is currently offline  Ian jonhson
Messages: 11
Registered: October 2007
Junior Member
> You probably configured your kernel incorrectly (missing initrd, device
> of filesystem drivers?). Try installing a pre-built kernel image
> instead, it's more likely to be bootable without problems.
>

Where can I get the pre-built kernel image?

After install the kernel-patch, the system compiled the kernel and
created the optional item in
/boot/grub/menu.lst. What I had done is under the instructions of
openvz wiki. Is there something wrong?

Thanks in advance.


Best Regards,

Ian
Re: boot error - unable to mount root fs on unknown-block(0, 0) [message #21805 is a reply to message #21800] Tue, 16 October 2007 12:45 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Ian jonhson wrote:
>> You probably configured your kernel incorrectly (missing initrd, device
>> of filesystem drivers?). Try installing a pre-built kernel image
>> instead, it's more likely to be bootable without problems.
>>
>>     
>
> Where can I get the pre-built kernel image?
>   
http://debian.systs.org I suppose. The wiki page you referred gives info 
about how to configure this.
> After install the kernel-patch, the system compiled the kernel and
> created the optional item in
> /boot/grub/menu.lst. What I had done is under the instructions of
> openvz wiki. Is there something wrong?
>   
These instructions are OpenVZ-specific, i.e. they only recommend 
openvz-specific options in kernel config. Any other kernel config 
options (there are a lot of) are on your own. One simple example of what 
could be done wrong -- if you haven't enabled support for SATA disks, 
and your HDD is SATA you are in trouble.

So, if you are not experienced in kernel recompilation, you'd be better 
of with precompiled kernel.
> Thanks in advance.
>   
Hope that helps,
  Kir.
>
> Best Regards,
>
> Ian
Re: boot error - unable to mount root fs on unknown-block(0, 0) [message #21828 is a reply to message #21800] Tue, 16 October 2007 16:30 Go to previous messageGo to next message
efball is currently offline  efball
Messages: 41
Registered: September 2006
Location: Santa Rosa, California
Member
On Tue, Oct 16, 2007 at 08:06:01PM +0800, Ian jonhson wrote:
 > > You probably configured your kernel incorrectly (missing initrd, device
 > > of filesystem drivers?). Try installing a pre-built kernel image
 > > instead, it's more likely to be bootable without problems.
 > >
 > 
 > Where can I get the pre-built kernel image?

http://download.openvz.org/debian/dists/etch/main/binary-i386/base/

In your sources list add:

deb http://download.openvz.org/debian etch main

I'm using linux-image-2.6.18-openvz-13-39.1d2-686_028.39.1d2_i386.deb



-- 

   E Frank Ball                efball@efball.com
Re: boot error - unable to mount root fs on unknown-block(0, 0) [message #21851 is a reply to message #21828] Wed, 17 October 2007 04:20 Go to previous message
Ian jonhson is currently offline  Ian jonhson
Messages: 11
Registered: October 2007
Junior Member
>  > Where can I get the pre-built kernel image?
>
> http://download.openvz.org/debian/dists/etch/main/binary-i386/base/
>
> In your sources list add:
>
> deb http://download.openvz.org/debian etch main
>

I added the line in source.list, but apt-cache search said it can not
open the website.

> I'm using linux-image-2.6.18-openvz-13-39.1d2-686_028.39.1d2_i386.deb
>

I opened the link given above and found the image file, but I don't
know how to use it after download the image file.

Could you give me some advices?

Thanks

ian
Previous Topic: 2.6.22.ovz00x spec file
Next Topic: OpenVz + DRBD
Goto Forum:
  


Current Time: Wed Jul 24 22:26:14 GMT 2024

Total time taken to generate the page: 0.02772 seconds