Well now what... I don't really need the laptop but I want the data that is on the hard drive.. (oh and it would be nice to boot the drive.)
I have both VirtualBox and VMWare on my MacBook Pro with my VMWare used primarily for the Bootcamp install of Windows 10. All of that aside, I was looking for a solution that would allow me to use my Dell (Seagate) drive as a VM on my Mac. I have the software tools just need the know-how.
After a series of looking around the Internet for solutions.
First, I need a hard drive caddy. I bought one from BestBuy for $30 that is an enclosure for 2.5 inch drives and plugs into USB 3.0/2.0
Second, I had to extract the drive from the Dell Inspiron. After a bunch of screws and totally disassembling the laptop, I pulled out the drive.
Third, plug the old laptop drive into the enclosure and into my Mac. It works, and I can read the drive using the Mac Finder. I, however, still need to access programs on the disk that were installed to that Windows on the Dell.
This where the fun really began...
There are no direct ways via the GUI of either VMWare or VirtualBox to launch a bootable drive as a virtual machine using the canned processes for starting a new VM.
I had to :
1. Decide to use VirtualBox (I am using 5.1.12x)
2. Use Mac Disk utility to unmount the partitions of the drive. Otherwise you get VERR_RESOURCE_BUSY errors.
3: Run the VBoxManage tool from the command line with the specific device for the USB drive. (sudo is important here)
sudo VBoxManage internalcommands createrawvmdk -filename "/user/VirtualBox VMs/dell.vmdk" -rawdisk /dev/disk2
4: If step 3 does not work, VERR_ACCESS_DENIED occurs,
Failed to open the disk image file ~/VirtualBox VMs/dell.vmdk.
Permission problem accessing the file for the medium
then provide user and privileges to the vBox image via Mac using chown and chmod in the Terminal. Current user (presumably you) must have ownership over the vmdk file you create from the previous step and has to have -rw permissions.
5. Create a Windows 10(64bit) VM in VirtualBox
6. Attach the new vmdk image to the VirtualBox as a SATA controller.
Interesting that since my old Dell was dual boot (Ubuntu and Windows) I still have the option to boot into Ubuntu when I start up this VM.


