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] how to create guest image file ?

To: Martti Kuparinen <martti.kuparinen@xxxxxx>, Jeremy Fang <balanceinfotech@xxxxxxxxx>
Subject: Re: [Xen-users] how to create guest image file ?
From: xen jones <xenwe@xxxxxxxxx>
Date: Tue, 26 Jul 2005 15:25:58 -0700 (PDT)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 26 Jul 2005 22:24:38 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=xFEBfnYYq9W/QgRgGzYRkOJ/z+m9zoGwwNymf+ncAqS6CHPpkZDenuD+s/LFHNnFqJi6vfvpnB2V4l1yvdYKcObadUnMfioJ1dZwe7NILh2rRFZDLpbFbk+6M5zp9AUW+Mgg9YZ3QrlpD+gQbw7p/RuNOZdIgBASNUNNV9ONzK0= ;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42E604AD.6020802@xxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks Martti.
 
I had the typo for disk = ['file:/root/sda2.img,sda2,w']
which is really disk = ['file:/root/sda7.img,sda2,w']
 
I figured it out that the image file has to be in domain0 partition. The one I posted is trying to boot off from the guest OS partition in this case it is sda2 in which sda7.img file resides.
After I move it into /dev/sda1, than everything is working.
 
Thanks,
 
Jeremy


Martti Kuparinen <martti.kuparinen@xxxxxx> wrote:
Jeremy Fang wrote:

> mount /dev/sda2 /temp // /dev/sda2 have enough space
> dd if=/dev/sda7 of=/temp/sda7.imge bs=64k
...
> disk = ['file:/root/sda2.img,sda2,w']
...
> [root@xen auto]# xm create sda2_img -c
> Using config file "sda2_image".
> Error: Error creating domain: vbd: Segment not found:
> uname=file:/root/sda2.img

Shouldn't you have

disk = ['file:/temp/sda7.img,sda2,w']

in the configuration file? After all, that's where you
saved the image of /dev/sda7, not in the /root directory...

Martti

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

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>