Got "RDSK id not found" when unzip on Ubuntu 20.04
CaoDuyThanh opened this issue · 9 comments
Hi, I got an error when trying to unzip a .adf file on Ubuntu 20.04, this is the error
> unadf file.adf
unADF v1.0 : a unzip like for .ADF files, powered by ADFlib (v0.7.11a - January 20th, 2007)
Error <ReadRDSKblock : RDSK id not found>
Can't mount the dump device 'file.adf'.
From what I found on internet
the RDSK is a raw device path and it contains all drives that have not yet been formatted and are thus referred to as RAW
so I check /dev
on my computer and see no /dev/rdsk
there. I guess I have no RDSK on my computer so it can not mount the content. Can I do any work around from it or am I missing anything?
Thank you.
What kind of adf is it? Is it a floppy disk or an hard disk dump? Could you share the file ?
What kind of adf is it? Is it a floppy disk or an hard disk dump? Could you share the file ?
Thanks for quick response. Yes, this is the link of the file (file size: 77.8mb) I want to extract, let's me know if you want further information
hi @lclevy , do you know how to fix this issue? I really want to extract the file. Thanks
the error you're getting comes from https://github.com/lclevy/ADFlib/blob/master/src/adf_hd.c#L703
maybe try to comment out the return error; line below it and try again ?
the error you're getting comes from https://github.com/lclevy/ADFlib/blob/master/src/adf_hd.c#L703
maybe try to comment out the return error; line below it and try again ?
I try it and it shows another error
> ./unadf arsenal2.adf
unADF v1.1 : a unzip like for .ADF files, powered by ADFlib (v0.7.11a - January 20th, 2007)
Warning <ReadRDSKBlock : size != 64>
Warning <ReadRDSKBlock : incorrect checksum>
Warning <ReadRDSKBlock : blockSize != 512>
Warning <ReadRDSKBlock : cylBlocks != sectors*heads>
Error <adfMountHd : malloc>
arsenal2.adf: can't mount as device
your file doesn't look like adf or hdf type, and it has high entropy - almost as if you cat /dev/urandom > file
your file doesn't look like adf or hdf type, and it has high entropy - almost as if you cat /dev/urandom > file
oh, that file is data file of this game Arsenal: Extended Power
, then it just has extension .adf but not actual adf file?
yes. the adf files this repo is about are "amiga disk files", i.e. image files of amiga floppies.
It seems this disk is not formatted with Amiga dos