I am new to Linux I am running pop_OS 19.10 and I want to start using windows in a virtual machine. Currently I have windows and pop os installed on separate partitions on my thinkpad. I want to know if i can point virtual box to use my current windows installation or do i have to start from scratch?
You can. I don’t remember exactly how to do it with VirtualBox, but when you set up the hard drive, you need to point it at /dev/sdXY (your windows partition)
It’s best if windows is on a dedicated disk, not just a partition, since windows likes to make a few different partitions, and while virtualbox can be attached to a partition, a full physical disk is a much better option and will have less issues.
I’m honestly not sure if pointing it to a windows partition will even work.
Maybe an option to Image his Windows install as .VDI and boot from it… Can serve as a good backup…
I’m having a trouble finding the right terminology to search to find information. I don’t even know if virtual box is the tool I should be using.
What do you need to search for?
-
Create a Virtual Machine of Your Existing Windows Operating System
-
Create an image of a working Windows 10 install
-
Virtualize a Windows Install
Also, Are you on Linux right now or on Windows and are going to switch to Linux?
argh, nevermind I thought you were looking to pass through a gpu
now I noticed you mentioned a thinkpad
there’s many different independent software virtualization … “softwares?” that you could be using, you need to pick one.
If you’re going for GPU passthrough, then KVM+virtio+qemu (free / opensource technology) is what you probably should be using, it’s what most people use. (other option being vmware esxi, … virtualbox does’t really do passthrough).
Here’s an old guide: VFIO in 2019 -- Pop!_OS How-To (General Guide though) [DRAFT]
it might be daunting to a linux noob, … just take your time, and read ahead, read several times, then take your time. Ask here, or in the guide thread.
Guide should probably be updated for 19.10 anyway, … so if you can take some notes while doing it, so we can update the guide, great!
Thank you for this question I was able to find answers using the first phrasing you offered. I have basically switched to linux the only reason i’ve booted into windows in the last few weeks has been to play destiny 2. I want to switch completly to linux however I use a lot of niche proprietary software for audio production. So I’m just dipping my foot into the virtualization world. End goal is to get a 3900X based system and get into VFIO. (Hardware passthrough?) I’m just starting out though.
No worries man that’s the next thing i want to do i just want to dip my feet into the virtualization waters so that i can get into VFIO.
Cool, I used to run AbletonLive7/8 years ago in a virtual machine… Hven’t done it in years. Maybe when I build my next rig I’ll go all the way.
When you do get windows working in a VM on the laptop, don’t be put off by the lag/slowness. If you ever do passthrough on a larger machine, you’ll probably find the experience much, much nicer.
For now, until you can pass the existing partition through, you could just play with a temporary VHD of like 40-50 gigs, just to play with it, do an install etc. Just choose the “no key”/“I’ll add a key later” on the install bit for testing
I actually got a VHD of my current OS i just realized i didn’t leave enough space in my partition to run it… lol. So this weekend i might nuke my pop OS install and try again.