-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rufus truncates file-names in UEFI ISOs #2534
Comments
Thanks for the report. I'm afraid Rufus doesn't support El Torito file extraction, which is where your issue occurs, except for a limited set of cases (extractions of the UEFI bootloaders themselves). We do try to extract the other files from the El Torito image where possible, but this is accomplished through the third party SysLinux FAT library, to which we added a quick and dirty fat directory extraction, that we don't really have plan to flesh out (because the cost/benefit ratio isn't that great). That's not to say we might not look into it, but I'm afraid it's going to be be very low priority for the time being. I will also add that, generally it's a very poor idea to rely on El Torito/flat images for UEFI boot, whereas one can simply have the bootloaders and all their dependency residing at first level in the ISO-9660/UDF file system itself. Case in point, you had to mount the media twice to access the files under Linux, whereas the whole point of UEFI design and UEFI boot, as opposed to BIOS boot, was to do away with stopgap solutions like El Torito, which was only ever really designed for BIOS/Legacy, and have the bootloaders resides on the prime file system of the media and accessed through regular UEFI file system calls (rather than sector by sector loading). Alas, a lot of distro maintainers didn't seem to get that message, and are still relying on archaic ways, because it does make their lives (but only their lives) easier, while, as you have experienced, actually creating issues downstream. In short, in my view, the root of the issue is with Talos completely disregarding File System Transposition, which is something that any distro maintainer should really be striving to support on the same standing as DD copy, as it would allow people to completely do away with third party utilities like Rufus of Otherwise, by continuing to only see DD as the one mode to rule them all (despite a long list of shortcomings), and using quirks, such as El Torito, that can only ever work well in DD, they will continue to drastically reduce the possibility of choice when it comes to the manner in which end-users can create their boot media, especially, again, when UEFI's goal was precisely to remove all of the pain points that fostered the use of disk images and sector by sector copy. So, for the time being, I will flag this issue as deferred. |
Thanks for the insightful reply. As someone who's not at all familiar with the inner workings of ISOs, it's a good rabbit hole to do some further research. 🙇 |
hello, please add option to create efi partition. my laptop can't boot uefi usb to install win without have small efi partition, or it can't find /EFI folder or efix64 to run windows install in uefi mode. I tried create GPT-UEFI many times with Rufus but rarely it ramdom create efi partition, very rare, I want an option. |
Checklist
<FULL LOG>
below.Rufus version: x.y.z
- I have NOT removed any part of it.Additionally (if applicable):
(✓)
button to compute the MD5, SHA1 and SHA256 checksums, which are therefore present in the log I copied. I confirmed, by performing an internet search, that these values match the ones from the official image.Issue description
When creating a USB disk from the Talos SecureBoot ISO ( https://factory.talos.dev/image/376567988ad370138ad8b2698212367b8edcb69b5fd68c80be1f2ec7d603b4ba/v1.7.0/metal-amd64-secureboot.iso ), the USB is successfully created, however, some of the file names are truncated, thus the booting fails.
Mounting the ISO in the WSL environment and comparing the two:
Notice the following naming discrepancies:
Log
The text was updated successfully, but these errors were encountered: