From LedHed's Wiki
Jump to: navigation, search
Line 3: Line 3:
  
 
=== Install ===
 
=== Install ===
Within XenServer Create a new VM using the "Other Install Media".
+
Within XenServer Create a new VM using the "Other Install Media".<br>
 +
''NOTE:'' XenServer 5.5 doesn't support booting from the ''ext4'' file system!  During the install process make sure to format the ''/'' partition as ''ext3'' or create a separate ''/boot'' partition formatted as ''ext3'' so that XenServer can access the boot images.
 +
 
 +
 
 
Make sure to enable OpenSSH either during the install or upon first boot.
 
Make sure to enable OpenSSH either during the install or upon first boot.
 
After the install is finished, boot the new VM.
 
After the install is finished, boot the new VM.
Line 10: Line 13:
  
  
=== Modifications ===
+
=== Modifications to the Guest OS ===
 +
We need to create console for Xen, the easiest way to do this is to copy tty1.conf to hvc0.conf
 +
 
 +
Duplicate ''/etc/init/tty1.conf''
 +
cd /etc/init
 +
sudo cp tty1.conf hvc0.conf
 +
 
 +
Do an inline find and replace with sed
 +
sudo sed -i 's/tty1/hvc0/g' hvc0.conf
  
  

Revision as of 17:33, 26 May 2010

Ubuntu 10.04 LTS

Install

Within XenServer Create a new VM using the "Other Install Media".
NOTE: XenServer 5.5 doesn't support booting from the ext4 file system! During the install process make sure to format the / partition as ext3 or create a separate /boot partition formatted as ext3 so that XenServer can access the boot images.


Make sure to enable OpenSSH either during the install or upon first boot. After the install is finished, boot the new VM. If you didn't enable SSH access during install, now is the time to do it:

sudo apt-get install openssh-server


Modifications to the Guest OS

We need to create console for Xen, the easiest way to do this is to copy tty1.conf to hvc0.conf

Duplicate /etc/init/tty1.conf

cd /etc/init
sudo cp tty1.conf hvc0.conf

Do an inline find and replace with sed

sudo sed -i 's/tty1/hvc0/g' hvc0.conf


Files

Reference HowTo in PDF
Media:Ubuntu_10.04_XenServer_HowTo.pdf

XenServer Host Script for making a VM a PV.
Media:Makepv.sh


References

http://www.bishopbarrington.net/wiki/howto/lucidonxenserver