Converting KVM to VirtualBox
Join the DZone community and get the full member experience.
Join For FreeSo I remembered VBoxManage and apparently I hade blogged about it myselve already ..
I just hate it when I search for stuff and google points right back to me
So I converted my puppetmaster's disks
VBoxManage convertdd Emtpy-clone.img PuppetMasterroot.vdi VBoxManage convertdd puppet-var.img PuppetMastervar.vdi
Now when booting the VM in Virtualbox , obviously the kernel panicked
.. as my KVM disks are recognised as as /dev/hda and and Virtualbox
defaults to /dev/sda and LVM doesn't really like disks to be on another
names
No commandline fu here to help me, but using the VirtualBox gui to move
the disks to the IDE controller rather than the SATA controller.
Now all I need to do is wait for some smart guy who comments that you probably could use VBoxManage storagectl to achieve the same goal :)
And wait till Vagrant Up start supporting KVM , so I can move back :)
Opinions expressed by DZone contributors are their own.
Comments