Ubuntu 22.04 Host Win 10 Guest VERR_NOT_SUPPORTED opening ISO or "The Directory Name Is Not Valid"

Discussions related to using VirtualBox on Linux hosts.
Post Reply
ArrivalRate
Posts: 1
Joined: 10. Sep 2022, 05:35

Ubuntu 22.04 Host Win 10 Guest VERR_NOT_SUPPORTED opening ISO or "The Directory Name Is Not Valid"

Post by ArrivalRate »

Greetings folks,

VirtualBox 6.1.38
Ubuntu 22.04 Host
Windows 10 Guest

Overview: Intent is to extract files from either of 2 ISO files on USB storage (exfat filesystem). The ISOs are dd images of a Windows 10 disk or partition.

Source device:
USB (3.2 Gen 2) storage /dev/sdb1 formatted as exfat filesystem, contains 2 ISO files created using Linux dd utility.

Both ISOs are an image of a Windows 10 disk:

* One ISO (name D1 in this discussion) is a dd image of the entire disk, all boot/recovery partitions
* 2nd ISO (name P4 in this discussion) is a dd image of just the C:\ partition of the same disk

Configuring ISO access by the Windows guest:

VirtualBox Devices.. Optical Drives.. Choose a disk file, able to open the USB storage and see both ISO files.

--> Choosing ISO file "P4": Failed to open the disk image file (file path) - VERR_NOT_SUPPORTED

Could not get the storage format of the medium (file path) (VERR_NOT_SUPPORTED).

Result Code: VBOX_E_IPRT_ERROR (0x80BB0005)
Component: MediumWrap
Interface: IMedium {ad47ad09-787b-44ab-b343-a082a3f2dfb1}
Callee: IVirtualBox {d0a0163f-e254-4e5b-a1f2-011cf991c38d}
Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)

1. Search of "Linux Host" community subsection did not find "VERR_NOT_SUPPORTED". Can a VBox engineer speak to specifics of this error?


--> Choosing ISO file "D1": The Windows 10 guest displays this error: "D:\ The directory name is invalid."

2. The filenames of the ISOs contain no spaces or unusual characters:
a. yyyymmdd_Win10_nvme0n1_dd.iso ("D1" for this discussion)
b. yyyymmdd_Win10_nvme0n1p4_dd.iso ("P4" for this discussion)

Can a VBox engineer speak to what is behind this error? I realize it is a Windows error. Hoping anyone has experience with it.


Thanks!
-- ArrivalRate
AndyCot
Posts: 296
Joined: 29. Feb 2020, 03:04

Re: Ubuntu 22.04 Host Win 10 Guest VERR_NOT_SUPPORTED opening ISO or "The Directory Name Is Not Vali

Post by AndyCot »

You need to buy a commercial Oracle Virtualbox license to get VB engineer as these forums are for the free version.

ISO's need to be the official Windows bootable ISO files that are used for installing Windows. As such you will not be able to use your DD "ISO" file.

Search for a "DISK2VHD" as this may be what you are after, but before you use it serarch the forums for how to use the app with VB.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Ubuntu 22.04 Host Win 10 Guest VERR_NOT_SUPPORTED opening ISO or "The Directory Name Is Not Vali

Post by mpack »

ArrivalRate wrote:The ISOs are dd images of a Windows 10 disk or partition.
No, they are not.

An ISO is an image of a data CD/DVD/BluRay. Period. It has no other meaning. The word ISO itself refers to the original ISO-9660 filesystem on data CDs.

A raw image of a Windows hard disk is - a raw image of a Windows hard disk. It has no magical properties. If it didn't include an OS installer before you imaged it then it doesn't contain one after.

If your image file is an image of a hard disk then it can't be read in an (virtual) optical drive, because it isn't an (image of an) optical disk. It doesn't matter what extension you give to the file.

DD images of a whole disk can be converted into a virtual image around which you might be able to build a VM. DD images of partitions aren't useful for anything really.
Post Reply