scottgus1 wrote:In your last message reporting that the vmdk process worked, it then had the Access Denied message. This happens because Virtualbox must be Run As Administrator on Windows hosts to do Raw Disk Access. Additionally, the disk that is being Raw-accessed must be offline in the Windows Disk Management. Web-search how to do these things, they are Windows procedures.
Regarding the question on how to replace the "USB" vmdk with a vdi for a test in the previous post, you figured it out. The fact that the guest continued to operate shows the ISO is apparently good, and the issue you were having is related to the vmdk, not the ISO or Virtualbox.
Use the vmdk as shown in the last post, offline the USB disk in Disk Management, and Run Virtualbox as Administrator. This should remove normal obstacles to Raw Disk Access that happen on Windows hosts. I don't know if you will have further obstacles, though. If so please post back.
Thank you for all your help so far but I am still having issues,
I have been using virtualbox as administrator this whole time, if I don't the vm gives this error message immediately:
Failed to open a session for the virtual machine usb debian.
Could not open the medium 'C:\Hard Disks\sdcard.vmdk'.
VD: error VERR_ACCESS_DENIED opening image file 'C:\Hard Disks\sdcard.vmdk' (VERR_ACCESS_DENIED).
Result Code: E_FAIL (0x80004005)
Component: MediumWrap
Interface: IMedium {ad47ad09-787b-44ab-b343-a082a3f2dfb1}
Could you elaborate on what you mean by offline the disk? to do that is it just going to Windows disk management and eject the USB that I have been working on like so:

- win10 disk management - eject.png (26.75 KiB) Viewed 3544 times
after ejecting and trying to launch the virtual machine it gives this error message:
Failed to open a session for the virtual machine usb debian.
VD: error VERR_INVALID_FUNCTION opening image file 'C:\Hard Disks\sdcard.vmdk' (VERR_INVALID_FUNCTION).
Failed to open image 'C:\Hard Disks\sdcard.vmdk' in read-write mode (VERR_INVALID_FUNCTION).
AHCI: Failed to attach drive to Port0 (VERR_INVALID_FUNCTION).
Result Code: E_FAIL (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
If that is not the way to offline the drive then I am unsure how to do it, I found a separate forum post on the Windows Server forum, my account is too new to post URLs but here is the answer:
it appears that making a disk online/offline is not supported on removable media(USB drive), it’s by design, we can’t switch external drive’s online/offline state via disk management UI.
I'm beginning to think i should start a new thread because I solved the original issue of getting stuck on the CDrom prompt and now need to find a way to correctly partition the drive on initial boot