[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] problem on cloing guest
Hi Antoine, Thanks for your advice antoine.benkemoun@xxxxxx wrote: > the error is most likely because you deleted some lines in > xen-tools.cfg. Here is xen-tools.conf # cat /etc/xen-tools/xen-tools.conf size = 4Gb # Disk image size. memory = 128Mb # Memory size swap = 128Mb # Swap size # noswap = 1 # Don't use swap at all for the new system. fs = ext3 # use the EXT3 filesystem for the disk image. dist = sarge # Default distribution to install. image = sparse # Specify sparse vs. full disk images. passwd = 1 mirror = http://ftp.au.debian.org/debian/ * end * > You don't need to use xen-create-image because you > already have the image since you copied it from a previous guest. > The solution is to directly create the .cfg file located in /etc/xen > in order to tell it to use your image :-) # ls /etc/xen/ auto xen1.satimis.com.cfg xend-pci-permissive.sxp xmexample1 qemu-ifup xen2.satimis.com.cfg xend-pci-quirks.sxp xmexample2 scripts xend-config.sxp xm-config-xenapi.xml xmexample.hvm xen1.example.com.cfg xend-config-xenapi.sxp xm-config.xml xmexample.vti * end * Whether you meant running; # cp -p /etc/xen/xen1.satimis.com.cfg /etc/xen/xen3.satimis.com.cfg then changing the content on the newly created xen3.satimis.com.cfg for xen3? And then; # mkdir /vserver/domains/xen3.satimis.com/ # cp -p /vserver/domains/xen1.satimis.com/swap.img /vserver/domains/xen3.satimis.com/ # cp -p /vserver/domains/xen1.satimis.com/disk.img /vserver/domains/xen3.satimis.com/ > You shoild be able to find > an example file easily. I have been googling around unable to find an example. All come across are running lvcreate. Unfortunately I don't have partition on HD nor running LVM. B.R. Stephen L > On 9/15/08, Stephen Liu <satimis@xxxxxxxxx> wrote: > > Hi folks, > > > > > > Host - Debian Etch > > > > > > Encountered problem on cloing guest. > > > > Remark: No partition on HD nor have LVM > > > > > > Steps performed as follows; > > > > > > # find / -name *.img > > /initrd.img > > /vserver/domains/xen1.satimis.com/swap.img > > /vserver/domains/xen1.satimis.com/disk.img > > /vserver/domains/xen2.satimis.com/swap.img > > /vserver/domains/xen2.satimis.com/disk.img > > > > > > # mount -o loop /vserver/domains/xen2.satimis.com/disk.img /mnt > > No complaint > > > > > > # xen-create-image --copy=/mnt --hostname=xen3.satimis.com > > --ip=192.168.0.113 --dist=etch > > > > General Infomation > > -------------------- > > Hostname : xen3.satimis.com > > Distribution : etch > > Fileystem Type : ext3 > > > > Size Information > > ---------------- > > Image size : 4Gb > > Swap size : 128Mb > > Image type : sparse > > Memory size : 128Mb > > Kernel path : /boot/vmlinuz-2.6.18-xen > > > > Networking Information > > ---------------------- > > IP Address 1 : 192.168.0.113 > > Netmask : 255.255.255.0 > > Gateway : 192.168.0.1 > > > > Error: No recognised installation type. > > > > Logfile produced at: > > /var/log/xen-tools/xen3.satimis.com.log > > * end * > > > > > > # tail /var/log/xen-tools/xen3.satimis.com.log > > Image type : sparse > > Memory size : 128Mb > > Kernel path : /boot/vmlinuz-2.6.18-xen > > > > Networking Information > > ---------------------- > > IP Address 1 : 192.168.0.113 > > Netmask : 255.255.255.0 > > Gateway : 192.168.0.1 > > Error: No recognised installation type. > > * end * > > > > > > What does it mean "Error: No recognised installation type"? > > > > > > Please advise how to fix the problem. TIA > > > > > > B.R. > > Stephen L > > > > Send instant messages to your online friends > http://uk.messenger.yahoo.com > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@xxxxxxxxxxxxxxxxxxx > > http://lists.xensource.com/xen-users > > > > > -- > Antoine Benkemoun > Tel : 03.51.53.57.00 > Port : 06.32.88.59.35 > Send instant messages to your online friends http://uk.messenger.yahoo.com _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |