Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

To run Ubuntu 10.04 32-bit and 64-bit servers under Citrix XenServer 5.6, which kernel should I use for the best performance? For new installations, can I specify that kernel in the boot option for the installer?

share|improve this question
up vote 1 down vote accepted

The "virtual" kernel leaves out drivers that aren't useful in a VM - i don't know that it increases performance as such, but it'll be a bit smaller. To choose it, make sure you're booting the "Server" CD / ISO and at boot-time (ie. before you hit return to "Install Ubuntu Server), hit F4 ("modes") and choose "Install a minimal virtual machine".

If you set up PXE boot and a preseed file, you can tell it to install the "virtual" kernel by adding the line d-i base-installer/kernel/image string linux-virtual - this is how I've been setting up my Ubuntu VMs under VMware and KVM, lately.

Alternatively, you could use the "netboot" mini iso (about 13MB) which provides enough of an installer to fetch the rest of the system from the internet - with this and the PXE option, if you have some kind of proxy like apt-cacher-ng installed somewhere nearby, installs after the first one will be really fast.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.