Support for LVM

Asked by Niklas Hagman

So does this vm-builder (0.9-0ubuntu1) support installation onto a logical volume instead of directly to disk or file?
This is related to bug #260682 in package ubuntu-vm-builder.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu vm-builder Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Soren Hansen (soren) said :
#1

I've got preliminary code to do this.

Revision history for this message
Simon Lambourn (simon-lambourn-o) said :
#2

I have created an ubuntu image on an LVM disk using the --raw /dev/vg/lvname option. This was using vmbuilder 0.12.4

The full command was

sudo vmbuilder kvm ubuntu --suite saucy --flavour server --arch amd64 --components 'main,universe,restricted' -o --libvirt qemu:///system --dest linux --bridge br0 --hostname linuxvm --tmpfs - -v --mirror http://hostname.lan:3142/archive.ubuntu.com/ubuntu --addpkg linux-image-generic --raw /dev/vg1/rootfs2

nearly 6 years later, I hope this helps someone!

My next step is to try and separate out the swap file, so I can build the server and test it as a VM, then boot the created server on the physical machine, with the root partition remaining as an LVM logical volume.

Can you help with this problem?

Provide an answer of your own, or ask Niklas Hagman for more information if necessary.

To post a message you must log in.