Was this page helpful?

Citrix XenServer

    Below are directions for converting a Ubuntu 10.04 LTS-based Turnkey Linux appliance from running on Citrix XenServer in HVM-mode to PV-mode, enabling the install of Xen Tools.  Instructions assume the TKL Appliance is already installed with the Ext3 filesystem and running on Citrix XenServer.

    Please note, directions were adapted from those used to convert the mainstream Ubuntu 10.04 LTS distribution. However, the TKL appliance is modified slightly, so it is unknown still what the official conversion method should be. Appliances appear to be stable.

    Comments are in parenthesis below.

    Ubuntu Guest Console (Configure Guest):
    1. apt-get update && apt-get install linux-image-generic-pae
    2. cp /etc/init/tty1.conf /etc/init/hvc0.conf
    3. nano -w /etc/init/hvc0.conf (replace all tty1 with hvc0)
    4. shutdown -P now
    Citrix XenServer Console (Configure XenServer):
    1. xe vm-list power-state=halted (write down UUID for TKL VM)
    2. xe vm-param-set uuid=<UUID> HVM-boot-policy= (leave blank after equals sign)
    3. xe vm-param-set uuid=<UUID> PV-bootloader=pygrub
    4. xe vm-disk-list uuid=<UUID> (find VB disk UUID)
    5. xe vbd-param-set uuid=<VBD UUID> bootable=true
    6. Start appliance and restart XenCenter Manager
    Ubuntu Guest Console (Install XenTools)
    1. mount /dev/xvdd /mnt (OR mount /dev/cdrom /mnt)
    2. dpkg -i /mnt/Linux/xe-guest-utilities*i386.deb (OR dpkg -i /mnt/Linux/xe-guest-utilities*amd64.deb for 64-bit appliances)
    3. umount /mnt
    4. sudo reboot

    http://www.turnkeylinux.org/forum/general/20100819/turnkey-linux-and-tklpatch

    Was this page helpful?
    Tag page (Edit tags)
    • No tags
    Page statistics
    8018 view(s), 4 edit(s), and 679 character(s)

    Comments

    You must login to post a comment.

    Attach file

    Attachments