Turnkey Linux distributes Linux virtual machines in a Xen compatible format. I have a XenServer instance running and I would like to run a recently downloaded Turnkey Linux virtual machine on it. But I have never used XenServer before.
Can you point me a tutorial specific for this case, since the manual doesn't seem to cover it very well?
Installing TurnKey Linux VMs on Citrix XenServer can be really messy. The answer depends on the version of the TurnKey VM you are using:
Installing 12.0 TurnKey Linux VMs on Citrix XenServer 6.1/6.2:
Citrix XenServer console (create VM):
VM's console (configure guest):
apt-get update && apt-get upgrade && apt-get install linux-image-686-bigmem
/etc/inittab
before line1:2345:respawn:/sbin/getty 38400 tty1
:co:2345:respawn:/sbin/getty 38400 hvc0
/etc/fstab
switch from/dev/hd*
to/dev/xvd*
if neededCitrix XenServer console (change virtualisation technique for this guest from HVM to PV):
xe vm-list power-state=halted
(write down UUID for the VM)xe vm-param-set uuid=UUID HVM-boot-policy=
(leave blank after equals sign)xe vm-param-set uuid=UUID PV-bootloader=pygrub
xe vm-disk-list uuid=UUID
(find VDB disk's UUID of root partition)xe vbd-param-set uuid=VBD's UUID bootable=true
VM's console (install XenTools)
mount /dev/cdrom /mnt
/mnt/Linux/install.sh
umount /mnt
sudo reboot
Installing 13.0 rc3 TurnKey Linux VMs on Citrix XenServer 6.2:
The 13.0 rc3 finally works with XenServer 6.2.0 without any major difficulties.
apt-get
The surprising thing is that you see memory, network and performance meters in XenCenter and can reboot, suspend or shut down the machine from there, as if it was a PV guest. If you check the HVM-boot-policy and PV-bootloader params of the VM, you'll see that XenServer recognizes it as a HVM guest, but that does not have any effect on the above mentioned features. Yet, it makes sense to change these params to get a PV guest.