Help! Corrupted QL_BDI image on SD Card...
Posted: Fri Sep 22, 2017 11:17 pm
Hi everyone
So, I've fallen faol of my own complacency and have experienced my first corruption on the wonderful SD Card that I use in one of my QLs.
I have some older backups of the QL_BDI.BIN image file used to hold the 8MB QL filesystem and, with a few days work could recreate 95% of the files in a fresh image.
But, I wonder, are there any options open to me to try to repair the corrupted image file - even perhaps as an exercise (i.e. that might actually take longer than recreating the 95% from backups)?
Any tools to repair QuBIDE file-systems, when hosted on an SD Card, for example?
Just to be clear, the corruption is _within_ the (QL/QuBide) image filesystem, as opposed to the SD Card FAT filesystem that hosts it, which appears intact.
Some points of note:
a) The corruption occurred when one of my QL programs tried to write to the SD Card until it completely filled the available free-space.
b) Using the lovely (thought experimental) support in QXLWinReader, I can happily read the directory structure from the QL_BDI.BIN file-image.
c) In QXLWinReader, I found the offending (massive!) file and deleted it.
d) Still in QXLWinReader, any attempt to 'Copy' files from the SD Card image report 'Disk is Read Only' (which doesn't make much sense, but nevermind.)
e) Both on the QL and from within QEmuLator+BDI_BIN extension, attempting to mount the image produces 'Invalid FAT' error (which is also a bit misleading - the FAT structure on the SD Card itself is intact - Windows happily reads/writes to the card and reported no errors at the FAT FS level.)
Thanks in advance for any ideas?
So, I've fallen faol of my own complacency and have experienced my first corruption on the wonderful SD Card that I use in one of my QLs.
I have some older backups of the QL_BDI.BIN image file used to hold the 8MB QL filesystem and, with a few days work could recreate 95% of the files in a fresh image.
But, I wonder, are there any options open to me to try to repair the corrupted image file - even perhaps as an exercise (i.e. that might actually take longer than recreating the 95% from backups)?
Any tools to repair QuBIDE file-systems, when hosted on an SD Card, for example?
Just to be clear, the corruption is _within_ the (QL/QuBide) image filesystem, as opposed to the SD Card FAT filesystem that hosts it, which appears intact.
Some points of note:
a) The corruption occurred when one of my QL programs tried to write to the SD Card until it completely filled the available free-space.
b) Using the lovely (thought experimental) support in QXLWinReader, I can happily read the directory structure from the QL_BDI.BIN file-image.
c) In QXLWinReader, I found the offending (massive!) file and deleted it.
d) Still in QXLWinReader, any attempt to 'Copy' files from the SD Card image report 'Disk is Read Only' (which doesn't make much sense, but nevermind.)
e) Both on the QL and from within QEmuLator+BDI_BIN extension, attempting to mount the image produces 'Invalid FAT' error (which is also a bit misleading - the FAT structure on the SD Card itself is intact - Windows happily reads/writes to the card and reported no errors at the FAT FS level.)
Thanks in advance for any ideas?