no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


ubuntu_xen [2016/02/04 18:03] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Ubuntu Xen ======
  
 +  * [[Ubuntu]]
 +  * [[Xen]]
 +
 +Install the Xen hypervisor tools and kernel:
 +
 +<code>
 +aptitude -y install xen-hypervisor-amd64
 +</code>
 +
 +Download the Ubuntu 14.04 / trusty kernels to do a netboot off of, the one with the most recent updates [[http://ubuntu.cs.utah.edu/ubuntu/dists/trusty-updates/main/installer-amd64/current/images/netboot/xen/|here]].
 +
 +Sample configuration, using a netboot kernel:
 +
 +<code>
 +kernel        = '/etc/xen/kernels/trusty-updates/vmlinuz'
 +ramdisk       = '/etc/xen/kernels/trusty-updates/initrd.gz'
 +memory  = 4096
 +vcpus   = 4
 +name    = 'ubuntu-xen1'
 +disk    = ['phy:/dev/xvg/ubuntu-xen1-root,xvda,rw','phy:/dev/xvg/ubuntu-xen1-swap,xvdb,rw']
 +vif     = ['bridge=br0']
 +</code>
 +
 +Once the installation is finished, disable the ''kernel'' and ''ramdisk'' settings, and set the ''bootloader'' to pygrub:
 +
 +<code>
 +bootloader = 'pygrub'
 +# kernel        = '/etc/xen/kernels/trusty-updates/vmlinuz'
 +# ramdisk       = '/etc/xen/kernels/trusty-updates/initrd.gz'
 +</code>

Navigation
QR Code
QR Code ubuntu_xen (generated for current page)