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

To: _sc_ <sc00@xxxxxxxxxx>
Subject: Re: [Xen-users] xen guest dont find root file system
From: Fabian Zimmermann <xen-users@xxxxxxxxxxxxxxxxx>
Date: Tue, 21 Jul 2009 12:45:21 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 21 Jul 2009 03:46:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <24585181.post@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <24584246.post@xxxxxxxxxxxxxxx> <344C12FFB720254280828B59D0532A29408DCFE342@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <24585181.post@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)
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