Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've used the following command to create my vm:

vmbuilder kvm ubuntu --verbose --suite=precise --flavour=virtual --arch=amd64 -o --libvirt=qemu:///system --tmpfs=- --ip=192.168.2.1 --part=/home/shared/vm1/vmbuilder.partition --templates=/home/shared/vm1/templates --user=vadmin --name=VM-Administrator --pass=vpass --addpkg=vim-nox --addpkg=unattended-upgrades --addpkg=acpid --firstboot=/home/shared/vm1/boot.sh --mem=256 --hostname=chameleon --bridge=br0

I've been trying to follow the direction here.

My system just outputs this and it hangs at the last line:

2012-06-26 18:08:29,225 INFO    : Mounting tmpfs under /tmp/tmpJbf1dZtmpfs
2012-06-26 18:08:29,234 INFO    : Calling hook: preflight_check
2012-06-26 18:08:29,243 INFO    : Calling hook: set_defaults
2012-06-26 18:08:29,244 INFO    : Calling hook: bootstrap

How can I get vmbuilder to continue the process instead of dying right here?

I'm running 12.04.

EDIT: Adding some additional output details

When I ^C to get out of the hang I see this:

^C2012-06-26 18:19:29,622 INFO    : Unmounting tmpfs from /tmp/tmpJbf1dZtmpfs
Traceback (most recent call last):
  File "/usr/bin/vmbuilder", line 24, in <module>
    cli.main()
  File "/usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py", line 216, in main
    distro.build_chroot()
  File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 83, in build_chroot
    self.call_hooks('bootstrap')
  File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 67, in call_hooks
    call_hooks(self, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/VMBuilder/util.py", line 165, in call_hooks
    getattr(context, func, log_no_such_method)(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/VMBuilder/plugins/ubuntu/distro.py", line 136, in bootstrap
    self.suite.debootstrap()
  File "/usr/lib/python2.7/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", line 269, in debootstrap
    run_cmd(*cmd, **kwargs)
  File "/usr/lib/python2.7/dist-packages/VMBuilder/util.py", line 113, in run_cmd
fds = select.select([x.file for x in [mystdout, mystderr] if not x.closed], [], [])[0]
share|improve this question
You need to wait. This entire process takes six hours on your machine. Just start the process and go home. – Avery Chan Jun 27 '12 at 3:05

closed as too localized by fossfreedom Jun 28 '12 at 18:48

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.