"Error EINVAL reading file" extracting files from an Aaruf image of a Zip 100 disk #525

Closed
opened 2026-01-29 15:21:23 +00:00 by claunia · 1 comment
Owner

Originally created by @TheRogueArchivist on GitHub (Nov 11, 2020).

Prerequisites

  • Are you running the latest version?
  • Can you reproduce the problem in the debug version?

Check and fill as appropriate:

  • I was running Aaru under Xubuntu 20.04...
  • ...in 64-bit

Description

When trying to extract files from a Zip 100 Aaruf image, some files can't be extracted due to the error "Error EINVAL reading file".

Exact command line used:

aaru fs extract Zip-100_aaru_5.2.aaruf 0

Output of command execution with debug output enabled

aaru 5.1.99.3216+6877589c built by silas-All-Series in Debug, modified
Copyright © 2011-2020 Natalia Portillo

Image format identified by Aaru Format.
1 partitions found.

Partition 0:
Identifying filesystem on partition
Identified by Microsoft File Allocation Table.
Written 4079 bytes of file README.TXT to 0/FAT16/ZIP-100/README.TXT
Written 1012 bytes of file FINDER.DAT to 0/FAT16/ZIP-100/FINDER.DAT
Written 5330 bytes of file Desktop DF to 0/FAT16/ZIP-100/Desktop DF
Written 2048 bytes of file Desktop DB to 0/FAT16/ZIP-100/Desktop DB
Error EINVAL reading file DesktopPrinters DB
Created subdirectory at 0/FAT16/ZIP-100/RESOURCE.FRK
Written 286 bytes of file DESKTO~3 to 0/FAT16/ZIP-100/RESOURCE.FRK/DESKTO~3
Written 286 bytes of file OPENFO~1 to 0/FAT16/ZIP-100/RESOURCE.FRK/OPENFO~1
Error EINVAL reading file OpenFolderListDF_
Written 43440556 bytes of file Take One.wav to 0/FAT16/ZIP-100/Take One.wav
Written 128 bytes of file FILEID.DAT to 0/FAT16/ZIP-100/FILEID.DAT
Created subdirectory at 0/FAT16/ZIP-100/TheVolumeSettingsFolder
Written 276 bytes of file FINDER.DAT to 0/FAT16/ZIP-100/TheVolumeSettingsFolder/FINDER.DAT
Error EINVAL reading file DesktopPrinters DB
Created subdirectory at 0/FAT16/ZIP-100/TheVolumeSettingsFolder/RESOURCE.FRK
Written 286 bytes of file DESKTO~1 to 0/FAT16/ZIP-100/TheVolumeSettingsFolder/RESOURCE.FRK/DESKTO~1
Written 286 bytes of file OPENFO~1 to 0/FAT16/ZIP-100/TheVolumeSettingsFolder/RESOURCE.FRK/OPENFO~1
Error EINVAL reading file OpenFolderListDF_
Created subdirectory at 0/FAT16/ZIP-100/System Volume Information
Written 76 bytes of file IndexerVolumeGuid to 0/FAT16/ZIP-100/System Volume Information/IndexerVolumeGuid
Originally created by @TheRogueArchivist on GitHub (Nov 11, 2020). ### Prerequisites * [X] Are you running the latest version? * [X] Can you reproduce the problem in the debug version? ### Check and fill as appropriate: * [X] I was running Aaru under Xubuntu 20.04... * [X] ...in 64-bit ### Description When trying to extract files from a Zip 100 Aaruf image, some files can't be extracted due to the error "Error EINVAL reading file". ### Exact command line used: `aaru fs extract Zip-100_aaru_5.2.aaruf 0` ### Output of command execution with debug output enabled ``` aaru 5.1.99.3216+6877589c built by silas-All-Series in Debug, modified Copyright © 2011-2020 Natalia Portillo Image format identified by Aaru Format. 1 partitions found. Partition 0: Identifying filesystem on partition Identified by Microsoft File Allocation Table. Written 4079 bytes of file README.TXT to 0/FAT16/ZIP-100/README.TXT Written 1012 bytes of file FINDER.DAT to 0/FAT16/ZIP-100/FINDER.DAT Written 5330 bytes of file Desktop DF to 0/FAT16/ZIP-100/Desktop DF Written 2048 bytes of file Desktop DB to 0/FAT16/ZIP-100/Desktop DB Error EINVAL reading file DesktopPrinters DB Created subdirectory at 0/FAT16/ZIP-100/RESOURCE.FRK Written 286 bytes of file DESKTO~3 to 0/FAT16/ZIP-100/RESOURCE.FRK/DESKTO~3 Written 286 bytes of file OPENFO~1 to 0/FAT16/ZIP-100/RESOURCE.FRK/OPENFO~1 Error EINVAL reading file OpenFolderListDF_ Written 43440556 bytes of file Take One.wav to 0/FAT16/ZIP-100/Take One.wav Written 128 bytes of file FILEID.DAT to 0/FAT16/ZIP-100/FILEID.DAT Created subdirectory at 0/FAT16/ZIP-100/TheVolumeSettingsFolder Written 276 bytes of file FINDER.DAT to 0/FAT16/ZIP-100/TheVolumeSettingsFolder/FINDER.DAT Error EINVAL reading file DesktopPrinters DB Created subdirectory at 0/FAT16/ZIP-100/TheVolumeSettingsFolder/RESOURCE.FRK Written 286 bytes of file DESKTO~1 to 0/FAT16/ZIP-100/TheVolumeSettingsFolder/RESOURCE.FRK/DESKTO~1 Written 286 bytes of file OPENFO~1 to 0/FAT16/ZIP-100/TheVolumeSettingsFolder/RESOURCE.FRK/OPENFO~1 Error EINVAL reading file OpenFolderListDF_ Created subdirectory at 0/FAT16/ZIP-100/System Volume Information Written 76 bytes of file IndexerVolumeGuid to 0/FAT16/ZIP-100/System Volume Information/IndexerVolumeGuid ```
claunia added the bugfilesystem labels 2026-01-29 15:21:23 +00:00
Author
Owner

@TheRogueArchivist commented on GitHub (Jan 20, 2021):

Found another image that does this, this one of a USB flash drive. Image: https://we.tl/t-4EcrhL3fpK

Copyright c 2011-2021 Natalia Portillo

Image format identified by Raw Disk Image.
1 partitions found.

Partition 0:
Identifying filesystem on partition
Identified by Microsoft File Allocation Table.
Created subdirectory at 12\FAT32\NO NAME\RECYCLED
Written 65 bytes of file DESKTOP.INI to 12\FAT32\NO NAME\RECYCLED\DESKTOP.INI
Written 20 bytes of file INFO2 to 12\FAT32\NO NAME\RECYCLED\INFO2
Created subdirectory at 12\FAT32\NO NAME\SPYWARE
Written 2150574 bytes of file AAW6181.EXE to 12\FAT32\NO NAME\SPYWARE\AAW6181.EXE
Written 1017003 bytes of file antispy10.zip to 12\FAT32\NO NAME\SPYWARE\antispy10.zip
Written 1675406 bytes of file Free-SpyWareScan.exe to 12\FAT32\NO NAME\SPYWARE\Free-SpyWareScan.exe
Written 18837024 bytes of file Office2003SP1-kb842532-client-enu.exe to 12\FAT32\NO NAME\SPYWARE\Office2003SP1-kb842532-client-enu.exe
Written 75678752 bytes of file Office2003SP1-kb842532-fullfile-enu.exe to 12\FAT32\NO NAME\SPYWARE\Office2003SP1-kb842532-fullfile-enu.exe
Written 4354084 bytes of file spybotsd13.exe to 12\FAT32\NO NAME\SPYWARE\spybotsd13.exe
Created subdirectory at 12\FAT32\NO NAME\TEST
Error EINVAL reading file AUTORUN.INF
Error EINVAL reading file NirLauncher.cfg
Error EINVAL reading file NirLauncher.exe
Created subdirectory at 12\FAT32\NO NAME\TEST\NirSoft
Error EINVAL reading file advancedrun.chm
Error EINVAL reading file advancedrun.exe
Error EINVAL reading file alternatestreamview.chm
Error EINVAL reading file alternatestreamview.exe
Error EINVAL reading file altstreamdump.chm
Error EINVAL reading file altstreamdump.exe
Error EINVAL reading file appcrashview.chm
Error EINVAL reading file appcrashview.exe
Error EINVAL reading file AWATCH.CHM
Error EINVAL reading file AWATCH.EXE
Error EINVAL reading file AXHELPER.CHM
Error EINVAL reading file AXHELPER.EXE
Error EINVAL reading file batteryinfoview.chm
Error EINVAL reading file batteryinfoview.exe
Error EINVAL reading file bluescreenview.chm
Error EINVAL reading file bluescreenview.exe
Error EINVAL reading file bluetoothcl.chm
Error EINVAL reading file bluetoothcl.exe
Error EINVAL reading file bluetoothlogview.chm
Written 8206624 bytes of file adwcleaner_7.0.7.0.exe to 12\FAT32\NO NAME\adwcleaner_7.0.7.0.exe
Written 50368079 bytes of file HD.IQM to 12\FAT32\NO NAME\HD.IQM
Created subdirectory at 12\FAT32\NO NAME\System Volume Information
Written 76 bytes of file IndexerVolumeGuid to 12\FAT32\NO NAME\System Volume Information\IndexerVolumeGuid
Written 12 bytes of file WPSettings.dat to 12\FAT32\NO NAME\System Volume Information\WPSettings.dat```
@TheRogueArchivist commented on GitHub (Jan 20, 2021): Found another image that does this, this one of a USB flash drive. Image: https://we.tl/t-4EcrhL3fpK ```aaru 5.2.99.3380-alpha+a784b554 built by DESKTOP-8B4K7NM in Debug, modified Copyright c 2011-2021 Natalia Portillo Image format identified by Raw Disk Image. 1 partitions found. Partition 0: Identifying filesystem on partition Identified by Microsoft File Allocation Table. Created subdirectory at 12\FAT32\NO NAME\RECYCLED Written 65 bytes of file DESKTOP.INI to 12\FAT32\NO NAME\RECYCLED\DESKTOP.INI Written 20 bytes of file INFO2 to 12\FAT32\NO NAME\RECYCLED\INFO2 Created subdirectory at 12\FAT32\NO NAME\SPYWARE Written 2150574 bytes of file AAW6181.EXE to 12\FAT32\NO NAME\SPYWARE\AAW6181.EXE Written 1017003 bytes of file antispy10.zip to 12\FAT32\NO NAME\SPYWARE\antispy10.zip Written 1675406 bytes of file Free-SpyWareScan.exe to 12\FAT32\NO NAME\SPYWARE\Free-SpyWareScan.exe Written 18837024 bytes of file Office2003SP1-kb842532-client-enu.exe to 12\FAT32\NO NAME\SPYWARE\Office2003SP1-kb842532-client-enu.exe Written 75678752 bytes of file Office2003SP1-kb842532-fullfile-enu.exe to 12\FAT32\NO NAME\SPYWARE\Office2003SP1-kb842532-fullfile-enu.exe Written 4354084 bytes of file spybotsd13.exe to 12\FAT32\NO NAME\SPYWARE\spybotsd13.exe Created subdirectory at 12\FAT32\NO NAME\TEST Error EINVAL reading file AUTORUN.INF Error EINVAL reading file NirLauncher.cfg Error EINVAL reading file NirLauncher.exe Created subdirectory at 12\FAT32\NO NAME\TEST\NirSoft Error EINVAL reading file advancedrun.chm Error EINVAL reading file advancedrun.exe Error EINVAL reading file alternatestreamview.chm Error EINVAL reading file alternatestreamview.exe Error EINVAL reading file altstreamdump.chm Error EINVAL reading file altstreamdump.exe Error EINVAL reading file appcrashview.chm Error EINVAL reading file appcrashview.exe Error EINVAL reading file AWATCH.CHM Error EINVAL reading file AWATCH.EXE Error EINVAL reading file AXHELPER.CHM Error EINVAL reading file AXHELPER.EXE Error EINVAL reading file batteryinfoview.chm Error EINVAL reading file batteryinfoview.exe Error EINVAL reading file bluescreenview.chm Error EINVAL reading file bluescreenview.exe Error EINVAL reading file bluetoothcl.chm Error EINVAL reading file bluetoothcl.exe Error EINVAL reading file bluetoothlogview.chm Written 8206624 bytes of file adwcleaner_7.0.7.0.exe to 12\FAT32\NO NAME\adwcleaner_7.0.7.0.exe Written 50368079 bytes of file HD.IQM to 12\FAT32\NO NAME\HD.IQM Created subdirectory at 12\FAT32\NO NAME\System Volume Information Written 76 bytes of file IndexerVolumeGuid to 12\FAT32\NO NAME\System Volume Information\IndexerVolumeGuid Written 12 bytes of file WPSettings.dat to 12\FAT32\NO NAME\System Volume Information\WPSettings.dat```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: aaru-dps/Aaru-aaru-dps#525