Wednesday, September 7, 2016

12.04 - Xen - install fully paravirtualized Ubuntu - no virtual kernel in bootloader

I followed this guide:
https://help.ubuntu.com/community/Xen
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:
http://img1.uploadscreenshot.com/images/orig/1/1605372042-orig.png



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)
#bootloader="/usr/bin/pygrub"

# 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: http://gb.archive.ubuntu.com/ubuntu/dists/precise/main/installer-i386/current/images/netboot/xen/



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?

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...