ISO files under a directory that needs to be sanitized don't get extracted
Trying to install an ISO ( http://www.icarosdesktop.com/icarosfiles/IcarosLight_2_0_0.7z ) to an USB Pen, Rufus failed near the end, on a specific file (I tried 2 times: same problem at the same position):
Extracting: E:\Utilities\Cinnamon Writer\Dictionary\English|en-uk\Dictionary (702.9 KB)
File name sanitized to 'E:/Utilities/Cinnamon Writer/Dictionary/English_en-uk/Dictionary'
Unable to create file: [0x00000003] Impossibile trovare il percorso specificato.
I think that it shouldn't stop when just an error is found, and should continue copying the remaining files and folders, maybe generating a specific log file for the missing stuff. That's because many times you can still your the USB pen even if something is missing, because it's not crucial.
I'm afraid I'm not going to do what you suggest, on account that:
- your issue looks like an actual application problem that should be fixed in Rufus (but won't be in time for 1.4.12, which I'm about to release now)
- if I were to try to sweep these kind of things under the carpet, as you advise, I wouldn't get reports like yours telling me that something could be improved (but not in the way that you suggested). I very much depend on Rufus users to report problems, and problems that are hidden don't get reported...
In this case, besides people creating ISOs with characters that aren't allowed on a Windows filesystem (bad idea), I believe that the issue is that Rufus is trying to use the sanitized name when looking for a subdirectory, where it should instead be using the unsanitized one. This is the actual problem that needs to be addressed, and that I'll try to fix for 1.5.0.
I'm sorry for the misleading information. Yes, the primary problem I think is the "sanitized operation", which seems to be related to the pipe | character used on 2 folders and 2 files of the ISO (BTW, there's a reduced version, if you need to check it: http://www.icarosdesktop.com/icarosfiles/IcarosLight_2_0_0.7z It's around 250MB, and presents the same issue).
I want to remark that it was/is not my intention to silence problems. Of course, what I reported are errors related to a badly generated ISO image. Unfortunately not all tools are compliant with the standards, and issues happen, especially using an o.s. which has a case-sensitive filesystem (and easily generates duplicated entries).
So, effectively this is a feature request: give the possibility to continue the USB creation, but allowing the user to know it, and maybe reporting a simple list of files/folders which were not copied.
That's only to be more precise (I read your message before posting this).
Thanks a lot for your incredible work, and I wait for such improvements. :)
I understand your point, but the filename sanitization process of Rufus is precisely to allow the extraction to continue in case we can't use the exact same filenames as the ones on the ISO due to filesystem limitations. In other words, Icaros should have completed just fine, but didn't because there's something that needs to be fixed in the way Rufus processes sanitized directory names.
So this is the what I am planning to fix, as, if sanitization worked as designed, you shouldn't have experienced that issue in the first place.
Once this is fixed however, I definitely don't want to allow users to continue a process that reports a file creation or write error, as this is usually indicative of a real hardware problem, and not something that should be brushed aside. If a file can't get created or written, you have a major issue and you really shouldn't try to use that USB to install anything. If you still insist, then I don't want to have anything to do with trying to support what is most likely flaky hardware, and as such, I will not let you complete that task with Rufus (but you can try your luck with some other tools if you feel like taking a chance).
OK, It's clear, and I totally agree.
Note that, while this issue is now closed, I placed an early ALPHA of Rufus here if you feel like testing (and yes, I'm afraid the annoying ALPHA popup is here to stay). If you see an issue with this version, please let me know.
Hi Pete,
I really thank you. Sorry for the late answer but, as you can imagine, I did a lot of tests before replying.
I confirm that the problem is fully solved. Now I'm able to install AROS x64 on my USBPen.
Unfortunately the 32-bit version doesn't work, because my laptop only boots 64-bit boot images with UEFI, while for 32-bit one the only option is to use the old/legacy BIOS mode. However, selecting "MBR partition scheme with BIOS or UEFI" makes Rufus complains with the usual "FAT/FAT32 can be used only for ISO images based on isolinux or if the destination is UEFI". But that's not Rufus fault: it's how Rufus works and expects the ISO.
Anyway, at least I can try and experiment with AROS x64, which is a great thing.
Thank you very much for your invaluable tool and how quickly you've fixed the issue. Great!
Cesare
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.