How to Run an Existing Linux Partition in VirtualBox

Video is ready, Click Here to View ×

This is just a tutorial showing the process. Before you attempt this, read the full instructions and all the warnings that come with it:

Lifehacker: Tips and downloads for getting things done.

20 thoughts on “How to Run an Existing Linux Partition in VirtualBox

  1. brilliant! but my ubuntu is installed on my 32 gb flashdrive after I done all of these VM gives me error:
    no bootable medium found
    probably because it's a removable drive. How can I fix it?

  2. VBoxManage.exe: error: Cannot open the raw disk '\.PhysicalDrive0': VERR_SHARING_VIOLATION
    VBoxManage.exe: error: The raw disk vmdk file was not created
    Vboxmanage internalcommands createrawvmdk -filename "F:ubuntu.vmdk" -rawdisk \.PhysicalDrive0

  3. Hi would you be able to do a video the other way around? i.e. booting an existing Windows 10 partition from VirtualBox running on Linux? I can't find one anywhere! Thanks.

  4. hey lifehacker. Can you also make a video doing this the other way around.. I am searching a way to login to my existing windows HD on linux. So from linux into windows.
    I see ppl making a copy of there HD and then load that one up.

    But just as in this video i want to make a direct connection.. so if i make a change in windows on VB on linux.. That it actually phisicly changes the windows partition.

    Anyone know how to do that

  5. In the part to create a boot.iso file, I do not have a linux OS on my system with VB. I'm using Win7. and I have a Debian HDD in a USB dock. I created the Debian.vmdk, can I not run this in virtual box?

  6. Alright, so I have 3 drives. SSD with windows, SSD with Linux, and a 3TB drive with all my data on it. Both auto mount the data drive on boot. Would this cause problems when launching the virtualbox?

  7. Just tried it and it works… but if I can't access my Windows partition from Ubuntu, it kind of defeats the purpose of doing this for me. It's been two years since this tutorial, is there some way that it would work now?

  8. Thanks for the great tutorial, I am definitely going to try this with Win7x64 and Debian soon. But since I am a noob and somewhat clumsy frome time to  here time: is there any way like some command or script that rejects any mounting requsts while acive?

  9. I got a problem with my Virtual Box it will not boot any of my iso files ( windows, Linux like xubuntu , mint, pclinux and Ubuntu ) from my folder on my desktop.
    do I need to run it as a administrator ?

Leave a Comment

Your email address will not be published. Required fields are marked *