-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Support extraction of El Torito HD image content #63
Comments
Rufus also presently does not extract all contents from EFI.img (El-Torito) to the resulting USB flash drive which means bootloaders like Systemd-boot (formerly gummiboot) wont work as the loader entries are missing. When UEFI booting in HDD mode the EFI.img isn't used at all and there is no way the bootloader would be aware of it. Essentially these .ISO images have to be written in DD mode (ISOHybrid) as that is the only way they are going to work. |
The current handling of Still, if you can provide the URL of an ISO that highlights the issue you are describing, I'll see what I can do... |
Note that Rufus 3.6 will introduce full extraction of |
Suscribed to this, I'm curious if your note would support the burning of the Lenovo .iso files they provide for BIOS upgrades. https://support.lenovo.com/us/en/downloads/ds105487 When you try these now you just get an error "Failed to scan image" |
@ryanturcotte, you might be interested with this entry from the FAQ. Looking at the content of the Lenovo ISOs, what you need to do is create a DOS drive (which you can do in Rufus), then extract the relevant content from the ISO onto it (BIOS data + DOS flashing application) and run the relevant command, which you should be able to pick from |
@pbatard, your above instructions seem to involve steps that you cannot perform with Rufus alone, right? It would be nice if Rufus included the functionality from geteltorito so that Lenovo BIOS ISOs can be directly written to USB sticks. Edit: In my case, I'm specifically talking about the ISO at https://download.lenovo.com/pccbbs/mobiles/r0zuj09wd.iso. |
That's the whole point of this Enhancement Request. However, I have no idea if/when I'll ever get around to add this feature, on account that the number of people this would actually benefit is small, and therefore this is a low priority enhancement. Hence the reason why it's been open for about 8 years now... |
I'm actually not so sure if the number of effected users really is that small. After all, Lenovo is on of the biggest PC manufacturers and notebooks usually don't have optical drives these days, so the use of bootable USB sticks to flash BIOSes should be rather common. Maybe it's a silent majority, or the affected end-users simply are not developer-ish enough to upvote issues on GitHub... but I freely admit that's just speculation. |
I'm sure. I've seen the number of requests I've got for El Torito extraction compared to other features, and it is small. At any rate, I have to prioritize the features I can work on, and while I understand that each user wishing for a specific one would like to see it make the top of the list, there's just no way I can make everybody happy, and I'm afraid that no amount of "But I want it now!" coming from a single user is enough to make me reconsider, especially as the Rufus FAQ has a rather solid workaround for this feature. You also have to realize that the feature you'll get when/if I ever add it will be far from the magic bullet you expect it to be (i.e. Rufus doing all the setup, and the user just having to press a button for everything to work)... In fact part of the reason I'm not unhappy about delaying this is that I can tell, with absolute confidence that, the minute add El Torito support support to Rufus, I'll start receiving complaints of "But it doesn't work for THIS specific ISO from manufacturer XYZ! ". |
Does that mean you'd be opposed to accepting a contribution that adds this feature? |
Not at all. But I want it to be done "right" so I'll be pushing back contributions that only add support for a specific type of scenario (the one the submitter specifically wants to solve) and lack the genericity to address other scenarios. If someone submits a pull request for this, then I will expect them to come up with a "This PR should work for more cases, including the ones I am not directly interested in, because I understand this is meant to be provided as a generic feature" rather than "I added extraction and patchup that I need for my specific case. You sort out the rest!". In other words, I want people who may submit a PR for this feature to look a bit further than their immediate issue with the lack of El Torito support, and spend some time investigating other images and other extraction scenarios, because that's what I'm going to be doing when/if I add the feature. |
I have an ISO which has an El Torito structure. It appears to be a bootable floppy image written at the start of the ISO, much like say the Windows 98 CD has. There is no other content on the disc. Running the ISO via VirtualBox you can see the contents mounted in to A: which is where the autoexec is. It would be great to have this convert to USB so this comment is written to simply add my interest in having El Torito structure supported in a future version. I guess in the meantime, I need to somehow extract the boot part of the ISO only to get access to the files and then copy these on to a regular FreeDOS boot USB? |
Yes, that's more or less what's described in this section of the FAQ. |
Ah thanks, I didn't spot that. |
FYI for future users [no help needed] I followed the "seatools" instructions of FAQ. It took a few tries so here are the settings that worked In your bios remember to restore your settings once you are done booting from usb |
Recent Ubuntu and Arch have moved the FAT image to a separate partition outside the ISO 9660 filesystem (keeping /EFI/BOOT there for the USB case -- thank God...): https://gitlab.archlinux.org/archlinux/archiso/-/issues/49 |
I'm going to consider that, with the number of people interested by this feature dwindling at about the same rate that BIOS/Legacy boot is still being used, the cost of adding this feature is no longer worth the benefits, especially as the detailed workaround I provide in the FAQ consisting of creating a DOS drive and extracting the boot image there, should work in most cases. As such, I am going to close this feature request. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query. |
Such as the one from DOSUSB ISO, as well a regular DOS ISO data.
Basically, this would copy what are expected to be DOS files to a DOS bootable USB.
We may also want to handle pure image executables such as the ones used on Memtest86+ ISOs, through Syslinux's image load or something...
Might also be able to use something similar to this script:
geteltorito.pl
Might also want to look at the EFI Lenovo BIOS update images, which 7-zip has trouble to extract, such as
Lenovo BIOS Update n1eur34w.iso
...The text was updated successfully, but these errors were encountered: