Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to install virtual machine with this command, but have no success:

vmbuilder kvm ubuntu --verbose --suite precise --flavour virtual \
--part partitions.txt --ip 192.168.1.3 --hostname edb1 --arch amd64 \
-o --libvirt qemu:///system --user someuser --pass somepass \
--raw /home/virtual-machines/edb1.disk1.img \
--raw /home/virtual-machines/edb1.disk2.img \
--domain somedomain.com --mem 4096 --cpus 4

This is the error:

...
I: Extracting xz-utils...
I: Extracting zlib1g...
W: Failure trying to run: chroot /tmp/tmp_JdKzu mount -t proc proc /proc
, stderr: 

The host kernel is not original but modified by server provider. Why is the chroot needed for installation?

share|improve this question

1 Answer 1

That's how vmbuilder is designed, as a shortcut to installing the image using the VM, it builds it on disk using a chroot. chroot require root access unless the administrator has made allowances for you.

https://help.ubuntu.com/12.04/serverguide/jeos-and-vmbuilder.html

Try using sudo.

share|improve this answer
    
The problem was with kernel. After I changed the kernel, I was able to create the virtual machine. –  Bruce Aug 15 '12 at 10:25

Your Answer

 
discard

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.