6
3
I just bought a new laptop. The first thing I did was take out the unbooted OEM Windows-10 hard disk and put in my pre-existing Linux hard disk from my last laptop. So far so good.
The OEM drive is now attached to my (new) laptop via USB, and I see 5 partitions:
/dev/sdb1 2048 534527 532480 260M EF00 EFI System
/dev/sdb2 534528 567295 32768 16M 0C01 Microsoft reserved
/dev/sdb3 567296 1918849023 1918281728 914.7G 0700 Microsoft basic data
/dev/sdb4 1918849024 1920856063 2007040 980M 2700 Windows recovery environment
/dev/sdb5 1920856064 1953511423 32655360 15.6G 0700nMicrosoft basic data
What I'd like to do is take that hard disk and import the image(s) somehow into VirtualBox 5.2.8 (in a dynamic-sized vdi, because I don't have 1TB to spare) as though I had booted the laptop for the first time the way Microsoft expected me to. Ideally, this would leave the actual hard drive in its current pristine and unbooted condition. Unfortunately, between VirtualBox, UEFI, and the lack of installation CD, I don't know how Windows gets installed anymore.
Is it possible to do what I'm trying to do, and if so, can somebody guide me?
(At this time, I'm not looking at licensing issues. I'll jump off that bridge when I come to it. Right now, I just want to install.)
2If you’re not worried about licensing issues, what would be the purpose of doing this? Anybody can download the windows media creation tool and create an .iso file to install Windows 10, on any computer or virtual machine. Unless you actually want the completely useless, mostly hardware specific junk the OEM included with your laptop, I can’t imagine why you want to do this. Btw, even if you clone your drive and boot it on a VM it won’t be licensed and won’t be any more useful than a trial of Windows 10 is. The license is embedded in the hardware of your laptop. – Appleoddity – 2018-04-12T04:28:57.850
@Appleoddity That's an interesting question. I figured: I don't currently have anything running Windows 10, I'm not familiar with it, I've (probably) paid for it in the price of my laptop, I don't use or want Windows enough to purchase a license out-of-pocket, I didn't realize the license is embedded in the laptop itself (i thought it was just a code i typed in)... so it's very possible that I'm just using outdated knowledge and asking the wrong question. – hymie – 2018-04-12T12:54:13.703