Dual boot Windows available via VirtualBox
Posted: 7. May 2018, 13:51
Hi all, first poster here.
I'm running a dual boot setup with Win7 on one disk and Debian on the other disk. This is my challenge: I wanna be able to access the Windows system through VirtualBox running on the Debian installation.
Here's how far I've gotten:
- Created VM without virtual disk.
- Created .vmdk which redirects to the physical disk (using VBoxManage internalcommands createrawvmdk -filename "</path/to/file>.vmdk" -rawdisk /dev/sda) and attached it to the VM.
- Used a live Ubuntu .iso to verify that the VM recognizes the disk, this was succesfull.
- Bootable medium wasn't found, turned out the be the EFI setting. The VM was still MBR-oriënted, switching it to EFI fixed that.
- Windows starts, but hangs on the ¨Starting Windows¨ screen. Started in safe mode, got stuck loading Classpnp.sys driver. Removing that file broke the installation to the point that I couldn't boot it if I restarted my physical machine so I put the file back.
The problem seems to be related to SCSI, but mounting the vmdk on a SCSI the VM doesn't start anymore. This is pretty much where my knowledge and experience ends. Does anyone have any tips for me?
Looking forward to your replies,
Jaapyse
I'm running a dual boot setup with Win7 on one disk and Debian on the other disk. This is my challenge: I wanna be able to access the Windows system through VirtualBox running on the Debian installation.
Here's how far I've gotten:
- Created VM without virtual disk.
- Created .vmdk which redirects to the physical disk (using VBoxManage internalcommands createrawvmdk -filename "</path/to/file>.vmdk" -rawdisk /dev/sda) and attached it to the VM.
- Used a live Ubuntu .iso to verify that the VM recognizes the disk, this was succesfull.
- Bootable medium wasn't found, turned out the be the EFI setting. The VM was still MBR-oriënted, switching it to EFI fixed that.
- Windows starts, but hangs on the ¨Starting Windows¨ screen. Started in safe mode, got stuck loading Classpnp.sys driver. Removing that file broke the installation to the point that I couldn't boot it if I restarted my physical machine so I put the file back.
The problem seems to be related to SCSI, but mounting the vmdk on a SCSI the VM doesn't start anymore. This is pretty much where my knowledge and experience ends. Does anyone have any tips for me?
Looking forward to your replies,
Jaapyse