Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

I followed this guide: I managed to get 99% the way through it, but it appears the xen-netboot image doesnt install a virtual kernel (it says 'generic' at the end instead of virtual in grub menu) as shown here:

Here is my config:

name = 'client1-ubuntu-32'
memory = 512
disk = ['phy:/dev/ubu-32/xen-lvm,xvda,w']
vif = [' ']

# Comment this out if uncommenting the next section (installing)

# This section is for installing ubuntu
kernel = "/var/lib/xen/images/ubuntu-netboot/vmlinuz"
ramdisk = "/var/lib/xen/images/ubuntu-netboot/initrd.gz"
extra = "debian-installer/exit/always_halt=true -- console=hvc0"

I used the initrd and vmlinuz from the answer on this serverfault post:

To run the paravirtualized guest I need to run the 'virtual' kernel I believe. Do I have to manually copy that to the domU somehow (I have it in my dom0's /boot) or is there a way for the vm to install with it?

share|improve this question

Turns out that the user can use 'manual package selection' at the apt/task menu in order to remove the generic kernels and install the virtual one instead.

You also have to ensure that you change the default partitioning from using ext4 to using ext3 for this to work. I don't know if it's a pygrub specific issue or not.

This manual package selection is pain. Worth looking into a way to use the minimal virtual install mentioned here:

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.