OVH Community, your new community space.

Ubuntu LFS - KVM VM creation not working, help?


Myatu
15-09-2013, 20:51
Good to know. Here's a little How-To, to install a stock kernel without the need to re-image it (in case you had everything "just so"): http://forum.ovh.co.uk/showthread.php?t=5616

shubb
15-09-2013, 14:39
Solved - this is an OVH specific problem.

OVH suggest that we use the 'ovh kernel', which is a special build of the linux kernel they have tested against their computers.

The OVH kernel lacks some capability needed to mount proc in a chroot (at least in the way the ubuntu vm builder was trying to do it).

FIX - request a re-image of your system, select the kernel that comes with the OS, not the OVH one.

Sam

shubb
14-09-2013, 20:21
So, I post this here in case it is OVH specific, although most likely I am simply doing something wrong.

I am trying to create a VM to run under KVM using the Ubuntu VM builder script. The purpose of this VM is to be a container I can install Zimbra in.

When I run e.g.

Code:
vmbuilder kvm ubuntu --suite=precise --flavour=virtual --arch=amd64 --mirror=http://de.archive.ubuntu.com/ubuntu -o --libvirt=qemu:///system
I get the error:
Code:
...
I: Extracting python2.7-minimal...
I: Extracting sed...
I: Extracting sensible-utils...
I: Extracting sysv-rc...
I: Extracting sysvinit-utils...
I: Extracting tar...
I: Extracting tzdata...
I: Extracting udev...
I: Extracting upstart...
I: Extracting util-linux...
I: Extracting xz-utils...
I: Extracting zlib1g...
W: Failure trying to run: chroot /tmp/tmpDHueG_ mount -t proc proc /proc
, stderr:
And if I paste
Code:
chroot /tmp/tmpDHueG_ mount -t proc proc /proc
I get a permission denied error.

I'm running as root on a totally fresh install of Ubuntu precise (LTS).

Anyone seen this before?
How do I make it work?