|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] how to create guest image file ?
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
|
|
|
|
|