[xen-tools-discuss] Re: Xen-create-image hangs
Viswanath Thangamuthu
viswa_thangam at oneindia.in
Wed May 7 06:37:28 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 11:48:37 -0500
>
>
> Viswanath Thangamuthu wrote:
> > 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.
> Try creating a guest01.cfg in /etc/xen to boot it.
>
> They are not too hard to create.
> kernel = '/boot/vmlinuz-2.6.18-6-xen-amd64'
> ramdisk = '/boot/initrd.img-2.6.18-6-xen-amd64'
> memory = '2048'
> root = '/dev/xvda2 ro'
> disk = [
>
> 'tap:aio:/home/xen/domains/guest01/guest01-swap.img,xvda1,w',
> 'tap:aio:/home/xen/domains/guest01/guest01-disk,xvda2,w',
> ]
> name = 'guest01'
> vif = [ 'ip=172.16.0.53,mac=00:16:3E:66:94:51' ]
>
> on_poweroff = 'destroy'
> on_reboot = 'restart'
> on_crash = 'restart'
>
>
> something similar to that should work.
>
> You might need to loopmount your disk.img and fix the fstab or change
> the config so its pointing at the right devices. (xvdaX or sdaX)
My concern is why xen-create-image hangs.I just want to see its behavior.
PS I am aware of configuration file entries.
--
_______________________________________________
Visitor Medical Insurance for visitors to USA from http://www.buyamericaninsurance.com/?affiliateid=oneindia
More information about the xen-tools-discuss
mailing list