WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] xen guest dont find root file system

tnk Fabian,
in both cases I get:

mount: Mounting /sys on /root/sys failed: No such file or directory
mount: Mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init



Fabian Zimmermann-2 wrote:
> 
> Hi _sc_,
> 
>> name = "myvirtualmachine"
>> uuid = "d024a3c0-f19a-d32e-d1bb-56de2c94dee4"
>> maxmem = 1024
>> memory = 1024
>> vcpus = 1
>> kernel = "/vmlinuz-2.6.18-5-xen-amd64"
>> ramdisk = "/initrd.img-2.6.18-5-xen-amd64"
>> extra = "4"
>> on_poweroff = "destroy"
>> on_reboot = "restart"
>> on_crash = "restart"
>> disk = [ "phy:/dev/sda6,xvda1,w", "phy:/dev/sda7,xvda2,w" ]
>> vif = [ 'ip=192.168.0.54' ]
>> # vif = [ "mac=52:54:00:75:14:49,bridge=xenbr0" ]
> 
> Try to add
> 
> root        = '/dev/xvda1 ro'
> 
> or if your problem still exists, try:
> 
> disk = [ "phy:/dev/sda6,sda1,w", "phy:/dev/sda7,sda2,w" ]
> root        = '/dev/sda1 ro'
> 
> Bye,
> Fabian
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/xen-guest-dont-find-root-file-system-tp24584246p24586543.html
Sent from the Xen - User mailing list archive at Nabble.com.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users