tag:blogger.com,1999:blog-7143401328277522244.post8997749295703512919..comments2022-11-21T09:13:26.935+01:00Comments on ::meta synthax::: Inspecting an Atari ST hard disk image with Unix / Linux toolsEmmanuel Kasperhttp://www.blogger.com/profile/09406228937831964688noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-7143401328277522244.post-40146446376233912082020-05-02T23:48:07.225+02:002020-05-02T23:48:07.225+02:00Bonjour,
I don't know if you are french like m...Bonjour,<br />I don't know if you are french like me so I go on with (bad) english<br />I'm looking for recovering the content of my falcon hard drive.<br />I've made an image of it :<br />$dd if=/dev/sdg of=./sdg.img<br /> after that :<br />$disktype sdg.img <br /><br />--- sdg.img<br />Regular file, size 3.330 GiB (3575496704 bytes)<br />ATARI ST partition map<br />Partition 1: 500.0 MiB (524286976 bytes, 1023998 sectors from 2, bootable)<br /> Type "BGM" (Big GEMDOS)<br />Partition 2: 900.0 MiB (943716864 bytes, 1843197 sectors from 1024000)<br /> Type "BGM" (Big GEMDOS)<br />Partition 3: 950.0 MiB (996144640 bytes, 1945595 sectors from 2867197)<br /> Type "BGM" (Big GEMDOS)<br />Partition 4: 1.945 GiB (2087919104 bytes, 4077967 sectors from 4812792)<br /> Type "XGM" (Extended)<br /> Partition 5: 991.2 MiB (1039345152 bytes, 2029971 sectors from 1)<br /> Type "BGM" (Big GEMDOS)<br /> Partition 6: 0.977 GiB (1048572928 bytes, 2047994 sectors from 1)<br /> Type "BGM" (Big GEMDOS)<br /><br />ok everything sound good but :<br />$sudo parted sdg.img print<br />Error: /disque3/espace5/atari/sdg.img: unrecognised disk label<br />Model: (file) <br />Disk /disque3/espace5/atari/sdg.img: 3575MB<br />Sector size (logical/physical): 512B/512B<br />Partition Table: unknown<br />Disk Flags: <br /><br />So, as /dev/sdg1 to /dev/sdg5 exist, for every partition I've done, for x = 1 to 5 :if=/dev/sdgx of=./sdgx.img<br />Then no need for parted, just dmake a loopback device and control if created :<br />$sudo losetup --all<br />/dev/loop0: [2097]:5505026 (/disque3/espace5/atari/sdg1.img)<br />Control the loopback device :<br />$ sudo fsck.vfat /dev/loop0<br />fsck.fat 4.1 (2017-01-24)<br />/dev/loop0: 1564 files, 17997/31990 clusters<br />Sound very good but :<br />$ sudo mount /dev/loop0 /media/moebius/atari/<br />mount: /media/moebius/atari: mauvais type de système de fichiers, option erronée, superbloc erroné sur /dev/loop0, page de code ou programme auxiliaire manquant, ou autre erreur.<br /><br />Error not really defined<br />Any idea ?<br /><br />cordialement,Moebiushttps://www.blogger.com/profile/07992753677550288379noreply@blogger.com