Fwd: [Users] boot error - unable to mount root fs on unknown-block(0, 0)

2007-10-18 Thread Ian jonhson
-- Forwarded message --
From: Ian jonhson [EMAIL PROTECTED]
Date: Oct 18, 2007 2:17 PM
Subject: Re: [Users] boot error - unable to mount root fs on unknown-block(0, 0)
To: [EMAIL PROTECTED]


Thank you very much!

I have created my own VE, however how can I login VE by ssh? I used
the IP setting described in
http://wiki.openvz.org/Installation_on_Debian.

Thanks again,

Ian

On 10/17/07, E Frank Ball III [EMAIL PROTECTED] wrote:
 On Wed, Oct 17, 2007 at 12:20:01PM +0800, Ian jonhson wrote:
  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.



 apt-cache search linux-image-2.6.18-openvz shows the openvz kernels
 for me.



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?


 If you manually downloaded it then install it with
 dpkg -i linux-image-2.6.18-openvz-13-39.1d2-686_028.39.1d2_i386.deb


 --

E Frank Ball[EMAIL PROTECTED]

___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: Fwd: [Users] boot error - unable to mount root fs on unknown-block(0, 0)

2007-10-18 Thread Kirill Korotaev
Ian,

just like to any other usual machine using
ssh from your workstation.

1. assign IP address to some VE using
ve0# vzctl set VEID --ipadd VEIP --save

2. just in case, check that VE is pingable from your workstation:
ws# ping VEIP

3. just in case, check that VE is running sshd service:
ve0# vzctl exec VEID ps axf | grep sshd

if it is not running sshd then enter to VE using vzctl enter command
and install/start sshd service.

4. don't forget to set root user password
ve0: vzctl set VEID --userpasswd root:mypassword

5. now you can login to VE as to usual machine using it's IP

Kirill


Ian jonhson wrote:
 -- Forwarded message --
 From: Ian jonhson [EMAIL PROTECTED]
 Date: Oct 18, 2007 2:17 PM
 Subject: Re: [Users] boot error - unable to mount root fs on unknown-block(0, 
 0)
 To: [EMAIL PROTECTED]
 
 
 Thank you very much!
 
 I have created my own VE, however how can I login VE by ssh? I used
 the IP setting described in
 http://wiki.openvz.org/Installation_on_Debian.
 
 Thanks again,
 
 Ian
 
 On 10/17/07, E Frank Ball III [EMAIL PROTECTED] wrote:
 
On Wed, Oct 17, 2007 at 12:20:01PM +0800, Ian jonhson wrote:
 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.



apt-cache search linux-image-2.6.18-openvz shows the openvz kernels
for me.



   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?


If you manually downloaded it then install it with
dpkg -i linux-image-2.6.18-openvz-13-39.1d2-686_028.39.1d2_i386.deb


--

   E Frank Ball[EMAIL PROTECTED]

 
 ___
 Users mailing list
 Users@openvz.org
 https://openvz.org/mailman/listinfo/users
 

___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: Fwd: [Users] boot error - unable to mount root fs on unknown-block(0, 0)

2007-10-18 Thread Ian jonhson
Thank you very much~~

But it seems that I can not connect internet in VE. It is OK when ping
to its host system, however when ping external IP address, it dumps. I
google the internet to find how to set the netwrok in VE, but I can
not find any hint to do it.

Could anybody give some advices how to configure network?

Thanks again,

Ian

On 10/18/07, Kirill Korotaev [EMAIL PROTECTED] wrote:
 Ian,

 just like to any other usual machine using
 ssh from your workstation.

 1. assign IP address to some VE using
 ve0# vzctl set VEID --ipadd VEIP --save

 2. just in case, check that VE is pingable from your workstation:
 ws# ping VEIP

 3. just in case, check that VE is running sshd service:
 ve0# vzctl exec VEID ps axf | grep sshd

 if it is not running sshd then enter to VE using vzctl enter command
 and install/start sshd service.

 4. don't forget to set root user password
 ve0: vzctl set VEID --userpasswd root:mypassword

 5. now you can login to VE as to usual machine using it's IP

 Kirill


 Ian jonhson wrote:
  -- Forwarded message --
  From: Ian jonhson [EMAIL PROTECTED]
  Date: Oct 18, 2007 2:17 PM
  Subject: Re: [Users] boot error - unable to mount root fs on 
  unknown-block(0, 0)
  To: [EMAIL PROTECTED]
 
 
  Thank you very much!
 
  I have created my own VE, however how can I login VE by ssh? I used
  the IP setting described in
  http://wiki.openvz.org/Installation_on_Debian.
 
  Thanks again,
 
  Ian
 
  On 10/17/07, E Frank Ball III [EMAIL PROTECTED] wrote:
 
 On Wed, Oct 17, 2007 at 12:20:01PM +0800, Ian jonhson wrote:
  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.
 
 
 
 apt-cache search linux-image-2.6.18-openvz shows the openvz kernels
 for me.
 
 
 
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?
 
 
 If you manually downloaded it then install it with
 dpkg -i linux-image-2.6.18-openvz-13-39.1d2-686_028.39.1d2_i386.deb
 
 
 --
 
E Frank Ball[EMAIL PROTECTED]
 
 
  ___
  Users mailing list
  Users@openvz.org
  https://openvz.org/mailman/listinfo/users
 


___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: Fwd: [Users] boot error - unable to mount root fs on unknown-block(0, 0)

2007-10-18 Thread Kir Kolyshkin
Have you enabled IP forwarding (as per 
http://wiki.openvz.org/Quick_installation#sysctl)? Are you using real IP 
for your VE?


Ian jonhson wrote:

Thank you very much~~

But it seems that I can not connect internet in VE. It is OK when ping
to its host system, however when ping external IP address, it dumps. I
google the internet to find how to set the netwrok in VE, but I can
not find any hint to do it.

Could anybody give some advices how to configure network?

Thanks again,

Ian

On 10/18/07, Kirill Korotaev [EMAIL PROTECTED] wrote:
  

Ian,

just like to any other usual machine using
ssh from your workstation.

1. assign IP address to some VE using
ve0# vzctl set VEID --ipadd VEIP --save

2. just in case, check that VE is pingable from your workstation:
ws# ping VEIP

3. just in case, check that VE is running sshd service:
ve0# vzctl exec VEID ps axf | grep sshd

if it is not running sshd then enter to VE using vzctl enter command
and install/start sshd service.

4. don't forget to set root user password
ve0: vzctl set VEID --userpasswd root:mypassword

5. now you can login to VE as to usual machine using it's IP

Kirill


Ian jonhson wrote:


-- Forwarded message --
From: Ian jonhson [EMAIL PROTECTED]
Date: Oct 18, 2007 2:17 PM
Subject: Re: [Users] boot error - unable to mount root fs on unknown-block(0, 0)
To: [EMAIL PROTECTED]


Thank you very much!

I have created my own VE, however how can I login VE by ssh? I used
the IP setting described in
http://wiki.openvz.org/Installation_on_Debian.

Thanks again,

Ian

On 10/17/07, E Frank Ball III [EMAIL PROTECTED] wrote:

  

On Wed, Oct 17, 2007 at 12:20:01PM +0800, Ian jonhson wrote:


  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.
  


apt-cache search linux-image-2.6.18-openvz shows the openvz kernels
for me.





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?
  

If you manually downloaded it then install it with
dpkg -i linux-image-2.6.18-openvz-13-39.1d2-686_028.39.1d2_i386.deb


--

  E Frank Ball[EMAIL PROTECTED]



___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users

  


___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users
  


___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: Fwd: [Users] boot error - unable to mount root fs on unknown-block(0, 0)

2007-10-18 Thread Ian jonhson
Hi,

I guess maybe some configuration in VE is wrong. So I reseted my VE
network as follows.
If there are something wrong, please correct me. Thank you very much.

I booted my system and selected the openvz environment, then

# cat /etc/network/interfaces
...
The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.8.54
netmask 255.255.255.0
network 10.61.0.0
broadcast 10.61.0.255
gateway 192.168.8.1
dns-nameservers 10.61.0.254
dns-search anqin-test-debian4
auto eth0

Before I started VE, I set the network by vzctl command,

# vzctl set 777 --ipadd 192.168.8.60 --nameserver 10.61.0.254
--hostname anqin-test-debian4  --save

OK, then I started VE:

# vzctl start 777
# vactl enter 777
# ping 192.168.8.1

The ping command said it can not connect to gateway:192.168.8.1. However,

# ping 192.168.8.54

is OK, VE can connect to VPS.

What is wrong with my setting?

On 10/18/07, Ian jonhson [EMAIL PROTECTED] wrote:
  Have you enabled IP forwarding (as per
  http://wiki.openvz.org/Quick_installation#sysctl)? Are you using real IP
  for your VE?

 In where I should enable the IP forwarding, host system or VE (Sysem
 image file)?
 I enabled the IP forwarding in /etc/sysctl.conf in host system (by
 copying configuration directly from
 http://wiki.openvz.org/Quick_installation#sysctl), but it isn't work;
 it is same when enabled in VE.

 I used the real IP. For example, host IP address is 192.168.8.54, and
 I set the IP of VE is
 192.168.8.55. Both are effective IP addresses.

 Then, I started VE.

 Under above setting, I entered VE and run  apt-get update. However, I
 got error message.
 No matter what IPs I pinged, all can not make connection.


___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] boot error - unable to mount root fs on unknown-block(0, 0)

2007-10-16 Thread Marcin Owsiany
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 [EMAIL PROTECTED]  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
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] boot error - unable to mount root fs on unknown-block(0, 0)

2007-10-16 Thread Ian jonhson
 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
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] boot error - unable to mount root fs on unknown-block(0, 0)

2007-10-16 Thread Kir Kolyshkin

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
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users
  


___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] boot error - unable to mount root fs on unknown-block(0, 0)

2007-10-16 Thread E Frank Ball III
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[EMAIL PROTECTED]
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users


Re: [Users] boot error - unable to mount root fs on unknown-block(0, 0)

2007-10-16 Thread Ian jonhson
   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
___
Users mailing list
Users@openvz.org
https://openvz.org/mailman/listinfo/users