View Single Post
Old 16th October 2008, 16:16
marchost marchost is offline
Junior Member
Join Date: Feb 2008
Posts: 27
Thanks: 1
Thanked 4 Times in 4 Posts

Did you try with xen tools :

xen-create-image --size=2Gb --swap=256Mb --ide --ip= --netmask= --gateway= --force --dir=/home/xen --memory=256Mb --arch=amd64 --kernel=/boot/vmlinuz-2.6.24-19-xen --initrd=/boot/initrd.img-2.6.24-19-xen --install-method=debootstrap --dist=hardy --mirror= --passwd

And after that you need to replace "file:" with "tap:aio" in the cfg file.

This will create you an image file but you can mount it and copy the content to a partition afterward. You simply need to change the line "file:/home/xen.../disk.img" with something like "phy:/dev/md3,hda1,w"

Hope it helps...

More details :
Reply With Quote