Help converting Turnkey core 12.0rc2 from hvm to pv

Eric's picture

I am trying to convert the turnkey core squeeze appliance from hvm to pv so xentools can be installed.

I have read this turnkey wiki ( and can't figure out the equivalent in debian.

Does anyone know the debian equivalent to the ubuntu's:

- "linux-image-generic-pae" package; and
- /etc/init/tty1.conf


Jeremy Davis's picture

Google suggested 2 options for a compatible (PAE) kernel: 2.6 or a backported 3.2

As for the other bit... I don't know. This is for Upstart (default in Ubuntu for some time now, but not in Debian). The Citrix wiki suggests that Debian 6 (Squeeze) is not supported here (which is surely out of date info) but goes on to say that instructions for Debian 5.0 (Lenny) should apply (find them here). They're explicitly for 64 bit but hopefully close enough...

JamesG's picture

You've probably already figured this out or moved on...But I just spent the past couple of days bashing my head against a wall to make this work.  Much thanks to Jeremy on this...The second link Jeremy provided is pretty much what you need.

A couple of notes...

I used the x86 ISO. The necessary image is linux-image-xen-686:

apt-get install linux-image-xen-686

For the console you need to edit /etc/inittab per the Citrix instructions:

co:2345:respawn:/sbin/getty 38400 hvc0

If you installed the TKL ISO with LVM, you don't need to fuss with the fstab or grub  (steps 34-36)

Follow the rest of the steps and you'll be ready to roll.

Change boot options:

xe vm-param-clear uuid=<uuid> param-name=HVM-boot-policy
xe vm-param-set uuid=<uuid> PV-bootloader=pygrub

Find disk 0 ID  (This is the VBD disk)
xe vm-disk-list uuid=<uuid>

Set the above disk to be bootable
xe vbd-param-set uuid=<uuid> bootable=true

Fire up the VM and install XEN tools.

Post new comment