1

I'm using VirtualBox in Ubuntu. I have an existing Windows 10 partition, I created a VMDK file like below, following the instructions from How to use a real partition with Windows 7 installed, in a virtualbox vm?

sudo VBoxManage internalcommands createrawvmdk -filename Win10.vmdk -rawdisk /dev/sda -partitions 1,2,3,4,5

Then imported it to VirtualBox. screenshot of VirtualBox

But when I run that VM, it is getting me into grub rescue command screen by showing error: unknown filesystem. How can I proceed?

Sajeer Babu
  • 111
  • 3
  • It doesn't work. –  May 20 '19 at 12:13
  • @GabrielaGarcia Why is it doesn't work? I was following the instructions I found here https://askubuntu.com/questions/168156/how-to-use-a-real-partition-with-windows-7-installed-in-a-virtualbox-vm – Sajeer Babu May 20 '19 at 12:17
  • Because the answer there assumes BIOS/Legacy, not UEFI and 2. The answer itself warns that it might not work (and it doesn't) and it shouldn't be tried anyway due to multiple issues you're likely to stumble upon, the least of them is the Windows activation problem.
  • –  May 20 '19 at 12:20
  • @GabrielaGarcia My windows is a genuine one, Can you tell me the exact way to run my existing windows installlation in virtualbox? – Sajeer Babu May 20 '19 at 12:23
  • It deosn't matter how genuine it is. You'd be using the same license in a different computer, the virtualized one. It doesn't matter if the license is OEM or retail, the former isn't transferable, the latter is but can't be used in two machines simultaneously. But activation is the least of the possible problems in that usage scenario. So, I won't be telling you how to, I said NOT to do it, that's all. Bye. –  May 20 '19 at 12:27
  • @GabrielaGarcia The process basically worked for me (with BIOS). I used a comprehensive guide from https://wiki.ubuntuusers.de/Dualboot-Windows_virtualisieren/. – Melebius May 20 '19 at 12:39