[xen-tools-discuss] Re: Xen-create-image hangs
Nick Anderson
nick at anders0n.net
Tue May 6 14:50:36 CEST 2008
Viswanath Thangamuthu wrote:
> All,
>
> I installed xen on ubuntu using apt-get-install.Then I installed xen-tools-3.9 (which I downloaded from http://xen-tools.org/software/xen-tools).xen-create-image command hangs When I tried to create guest domain.
>
> Here is the log file output
> root at xxxxx-desktop:~# tail -f /var/log/xen-tools/guest01.log
>
> Installation method: debootstrap
> Falling back to default debootstrap command
>
> Copying files from host to image.
> Copying files from /var/cache/apt/archives -> /tmp/6BpPJDGQ4M/var/cache/apt/archives
> Done
> Done
> I: Retrieving Release ===> It stopped here.
>
> Here is the xen-create-image command output when I ran on my machine
>
> root at xxxxx-desktop:/# xen-create-image --hostname=guest01 --ip=192.168.1.100 --dir=/home/xen --dist=sarge
>
> General Information
> --------------------
> Hostname : guest01
> Distribution : sarge
> Partitions : swap 128Mb (swap)
> / 4Gb (ext3)
> Image type : sparse
> Memory size : 128Mb
> Kernel path : /boot/vmlinuz-2.6.22-14-xen
>
> Networking Information
> ----------------------
> IP Address 1 : 192.168.1.100 [MAC: 00:16:3E:2F:31:C1]
> Netmask : 255.255.255.0
> Gateway : 192.168.1.1
>
>
> Creating partition image: /home/xen/domains/guest01/swap.img
> Done
>
> Creating swap on /home/xen/domains/guest01/swap.img
> Done
>
> Creating partition image: /home/xen/domains/guest01/disk.img
> Done
>
> Creating ext3 filesystem on /home/xen/domains/guest01/disk.img
> Done
> Installation method: debootstrap
>
> Kindly help me to get rid of this..
Without looking at the output when run on my machine that looks right.
What behavior are you expecting? xen-create-image creates a file system
for the specified distro. In this case debian sarge. It should have left
img files in /home/xen/domains/guest01 and it should have created a xen
config file in /etc/xen
--
Nick Anderson <nick at anders0n.net>
http://www.cmdln.org
http://www.anders0n.net
More information about the xen-tools-discuss
mailing list