windows icon indicating copy to clipboard operation
windows copied to clipboard

Migration from a VirtualBox

Open jurgenhaas opened this issue 11 months ago • 2 comments

This project is awesome, thanks for making it available. I'm a hundred percent Linux user, with 1 exception:

I currently still maintain a VirtualBox Win7 instance for an old application that I have to keep around. I can't re-install that application, I can only continue using it in that VM.

Now, with this project it is very tempting to replace that VM with a container. Is there any way to build a container on top of the available discs from the VM? Or otherwise copy stuff over, bearing in mind that components could be found in the registry.

jurgenhaas avatar Feb 28 '24 12:02 jurgenhaas

I am not sure. If it was a QEMU VM it would be easier, because then your VM would have had the same Virtio drivers already. But I think VirtualBox does use different drivers for disks/network/etc.

If you can convert the VirtualBox harddrive image to qcow2 or raw format, you could maybe install the Virtio MSI file from here https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.248-1/ while still in VirtualBox. And then move the image over and see if it boots.

In theory that should work, see also here https://github.com/dockur/windows/issues/185

kroese avatar Feb 28 '24 12:02 kroese

Oh, thank you so much for your really fast and comprehensive feedback. I'll see if I can get into that rabbit hole and will report back.

jurgenhaas avatar Feb 28 '24 14:02 jurgenhaas