fl0at Posted September 22, 2019 Share Posted September 22, 2019 (edited) This isn't exactly an Unraid KVM question, but maybe someone has had a need and can tell me how to proceed. I need to pull a VM off Unraid, and run it as a VM on my laptop. My laptop is currently running Windows 10. I was hoping there was a quick way to migrate to virtual box. I need to stay in Windows, because I need to run visual studio simultaneously. If the hest way to do this is VirtualBox->Unraid->Target VM then I can do that, but if direct VirtualBox->Target VN is feasible that would be preferred. It also doesn't have to be VirtualBox, it just needs to run in windows, so... Edited September 23, 2019 by fl0at Quote Link to comment
JonathanM Posted September 22, 2019 Share Posted September 22, 2019 Quick google gave a couple links, at least a place to start your investigation. https://blogs.msdn.microsoft.com/virtual_pc_guy/2015/06/22/handy-tool-for-converting-kvm-vmware-images-to-hyper-v/ https://superuser.com/questions/806839/how-to-boot-a-kvm-virtual-machine-raw-image-to-virtualbox Quote Link to comment
fl0at Posted September 22, 2019 Author Share Posted September 22, 2019 (edited) 18 minutes ago, jonathanm said: Quick google gave a couple links, at least a place to start your investigation. https://blogs.msdn.microsoft.com/virtual_pc_guy/2015/06/22/handy-tool-for-converting-kvm-vmware-images-to-hyper-v/ https://superuser.com/questions/806839/how-to-boot-a-kvm-virtual-machine-raw-image-to-virtualbox I have tried those before posting. I'm looking for experience, not top search returns. But thanks. If nobody has any experience, then I'll just spin up a VM of unRaid in virtualbox, instead of converting. Let me edit to say I did not do Hyper-V (microsoft link) because I'm not running HyperV, but the conversion to VDI is a fail. As both use qemu-img convert, those links are the same thing, just different toggles. Edited September 22, 2019 by fl0at Quote Link to comment
fl0at Posted September 23, 2019 Author Share Posted September 23, 2019 I think I've got this solved. Will test on larger VM tonight, but I made a temp Debian 10 VM of relatively no size. VM settings in unRaid were RAW so I used raw to vdi conversion: qemu-img convert -f raw vdisk1.img -O vdi vdisk1.vdi Created a new VirtualBox vm, and used the vdisk1.vdi as the harddisk. If you boot this, you'll get a FATAL non-bootable medium error (if using UEFI), so go to settings in VB, and check EFI boot. When it boots, it'll look like it failed, showing the startup screen, but need to find your disk (my single disk was FS0) and then find the boot file, so, inside of the booted VM: > FS0: (or whatever the drive is) FSO> ls (shows dir) FSO> cd EFI\boot\ (or something similar) FSO\EFI\boot> grub64.efi (or whatever the boot file is called) It might lock up on the first boot. I resetted, executed again, chose Advanced boot and went from there, and was able to boot my test image. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.