tjmnmk / gadget_cdrom

gadget_cdrom converts your Raspberry Pi to virtual usb cdrom
Other
94 stars 25 forks source link

UDF related issue with the ISO files. #12

Open remlei opened 2 years ago

remlei commented 2 years ago

Basically it doesnt open UDF ISO files and basically spit out a text file like this

This disc contains a "UDF" file system and requires an operating system that supports the ISO-13346 "UDF" file system specification.

CDFS formatted ISO works just fine though.

At first, it seems that these files able to mount the UDF files just fine, but after just a few reboots, it no longer works.

I was able to trigger this issue by just rebooting the PC, mount a Windows 10 ISO on my raspberry pi, boot from it and after that it will boot to windows setup and after clicking the install button, it will complain about missing drivers or something. Basically after it entered the Windows Setup, the CD Drive basically went kaput and only recognize CDFS ISO files.

The only way to fix it is basically mount 2-3 ISO files from file explorer (not from the pi itself) and unmount all of them, and all of the sudden, UDF ISOs starts to work again.

I can only speculate that CD Drive emulation is not going well with UDFS ISO files. It probably needs a proper DVD Drive emulation.

remlei commented 2 years ago

was able to get around the issue by editing the iso using a JOLIET extension instead of UFD. Works fine on Windows 7, 8.x and 10. For Windows 11 however, it cannot be done due to 1 file exceeding the filesize limit (4GB for JOLIET), that install.wim file exceeds 4gb of filesisze so it will not work.

however, due to windows 11 requirement, you migth as well just use the media creation tool over a USB flash drive and dump that as img file. After all, there's little to no benefit having a bootable DVD image if the system requirements require you to use UEFI and Secure Boot.