TurnKey Linux Virtual Appliance Library

Help converting Turnkey core 12.0rc2 from hvm to pv

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 (http://wiki.turnkeylinux.org/Reference/Citrix_XenServer) 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

Thanks

Jeremy's picture

A couple of kernel options by the look

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...

How-to...

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

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)