Fails to create partition table
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
VMBuilder |
Incomplete
|
Low
|
Unassigned |
Bug Description
When I try to run vmbuilder, I get the following:
$ sudo ../vmbuilder/
2009-03-02 09:49:03,448 INFO Creating disk image: /tmp/vmbuilder6
2009-03-02 09:49:03,451 INFO Adding partition table to disk image: /tmp/vmbuilder6
2009-03-02 09:49:03,456 INFO Cleaning up
Traceback (most recent call last):
File "../vmbuilder/
VMBuilder.run()
File "/home/
frontend.run()
File "/home/
vm.create()
File "/home/
raise e
VMBuilder.
, stderr:
Looks like creating the partition table is failing. Running on a fully updated Gentoo ~x86 system.
I mount my /tmp as a tmpfs. Would that make any difference?
Changed in vmbuilder: | |
status: | Confirmed → Incomplete |
Yes, trying to do this on a tmpfs is very likely the problem. As a workaround, try remount it like so: mount -o remount,dev /tmp
VMBuilder should check for this and bail out very early saying that it won't work, and tell the user what they can do to fix it.