boot error - unable to mount root fs on unknown-block(0,0) [message #21772] |
Tue, 16 October 2007 06:24 |
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 |
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 #21805 is a reply to message #21800] |
Tue, 16 October 2007 12:45 |
|
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 #21851 is a reply to message #21828] |
Wed, 17 October 2007 04:20 |
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
|
|
|