| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
 Re: [Xen-users] how to create guest image file ?
 
To: Martti Kuparinen <martti.kuparinen@xxxxxx>,	Jeremy Fang <balanceinfotech@xxxxxxxxx>From: xen jones <xenwe@xxxxxxxxx>Date: Tue, 26 Jul 2005 15:25:58 -0700 (PDT)Cc: xen-users@xxxxxxxxxxxxxxxxxxxDelivery-date: Tue, 26 Jul 2005 22:24:38 +0000Domainkey-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=	; List-id: Xen user discussion <xen-users.lists.xensource.com> 
 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 
 |