I reinstalled Ubuntu and want to recover the Win7 I installed in virtualbox on the previous Ubuntu. I have a Win7.vdi copied from the /home/VirtualBox VMs/Win7 folder. Is it possible to do that?

I followed the steps from https://blogs.oracle.com/oswald/importing-a-vdi-in-virtualbox. But it seems them have more than one vdi files.

2 Answers 2


Is it possible to do that?

Yes. After installing vbox you navigate to the container and select it.

/home/VirtualBox VMs/Win7

/home/ should be for USERS only. Please store those containers in your user directory in /home/


But the win7 can't start (I mean, stuck in the middle of booting).

That could be a setting in virtual box. Like too low video memory.

  • In Vbox, I use create new and then select my Win7.vdi in the hard disk step using an existing virtual hard disk file. And the setup seems done after that. But the win7 can't start (I mean, stuck in the middle of booting). It was fine on the previous Ubuntu. Do I need to configure something? Or maybe I used a different version of Vbox?
    – Z Gu
    Jan 15, 2020 at 12:13
  • Does it get stuck in the middle of Win 7 Boot or does it get stuck during the VirtualBox start up (before win 7 starts booting) ? Different Version shouldn't make difference unless you went down a version not up.
    – Oscar
    Jan 15, 2020 at 12:30
  • In the middle of Win 7 boot. At the stage of black background with "Starting Windows". I am now using the same version of Vbox.
    – Z Gu
    Jan 15, 2020 at 13:03
  • I used exactly the same setting (all default). So does it mean that I have to reinstall the Win 7 in Vbox?
    – Z Gu
    Jan 15, 2020 at 13:12
  • I'm guessing you don't have access to the original image anymore ? It looks like the issue with the windows it self rather than vbox as I have previously moved my virtual machines around on USB sticks. Might be corrupted image. Try pressing F8 during boot to see if you can recover it in safe mode.
    – Oscar
    Jan 15, 2020 at 14:11

Yes it is normally possible to Import disk image from another computer by simply copying it and selecting it in VirtualBox.

Your problem unfortunately is with the disk image it self and the installation of Windows.

Try running Recovery as per this page Disk Recovery Windows

Other than this you can also if you have access to the old image try to create a snapshot of the image and copy this one across in hopes to recover it, if you can do that I would also suggest running this command in command prompt with admin rights

sfc /scannow

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .