-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 freeze on "Scanning image" with iso opnsense #1575
Comments
Just tested. Rufus doesn't freeze. It's just that the OpnSense maintainers decided to shove thousands of files onto an ISO (as opposed to what other live distros do, which is to create a single squashfs archive with all the content that then gets mounted), so, of course, scanning the ISO takes forever. If you do wait, you will see Rufus complete its scan... and tell you that the ISO can't be converted to bootable USB, since it uses a custom boot method that is neither GRUB nor Syslinux nor EFI (and yes, I know they say EFI boot is supported, but they certainly did not add any I think there's probably a reason why https://opnsense.org/download/ also proposes, besides the ISO installer, which appears to be squarely aimed at creating a bootable DVD optical media, the following option:
If a distro proposes both an ISO and a USB image, it usually means that the ISO image they provide can't be used for anything but optical media, and that, if you want to create a USB bootable media, you should not use that image but the USB one... Now, that's not to say I may not try to see if I can improve the way Rufus scans ISOs so that it might be faster for ones with loads of files and subdirectories. But, considering that there is no actual freezout, and that the image you are attempting to use is should clearly not be used for USB boot (because, even if it had the boot loaders, the conversion from Ridge Rock to FAT32 would probably leave the file system unusable anyway, since symbolic links and important file attributes would not be preserved), I will consider that there is no actual underlying problem to fix here and close this issue. |
* ISOs with tons of Rock Ridge deep directory entries (such as OPNsense) can be very slow to scan due to the nature of deep directory parsing, which requires processing the whole ISO9660 fs, for each deep directory file, in order to find the relevant LSN entry. * Since we don't expect much of the content we care about to reside in a deep directory entry, we amend the code to cut short the scan of any directory that contains such elements. * Note that this only applies for ISO scan and it does nothing to speed up the ISO extraction process. * Related to issue #1575
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. |
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 i try to load the opnsense iso "OPNsense-20.1-OpenSSL-dvd-amd64.iso" which can be found here https://opnsense.org/download/ amd64/dvd, rufus is blocked on "Scanning image" and i can't flash it.
Log
The text was updated successfully, but these errors were encountered: