[xen-tools-discuss] Re: Xen-create-image hangs
Viswanath Thangamuthu
viswa_thangam at oneindia.in
Tue May 6 18:22:15 CEST 2008
> ----- Original Message -----
> From: "Nick Anderson" <nick at anders0n.net>
> To: xen-tools-discuss at xen-tools.org
> Subject: [xen-tools-discuss] Re: Xen-create-image hangs
> Date: Tue, 06 May 2008 07:50:36 -0500
>
>
> 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
Thanks for your reply.
As you mentioned, there are disk.img and swap.img files are there in
/home/xen/domains/guest01 directory.But there is not config file in /etc/xen.
Without this config file I cannot start my virtual machine.
Any thoughts ?
Viswa
--
_______________________________________________
Visitor Medical Insurance for visitors to USA from http://www.buyamericaninsurance.com/?affiliateid=oneindia
More information about the xen-tools-discuss
mailing list