[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Need help to resurrect a Falcon + CT60

Am 27.07.2015 um 10:47 schrieb Miro Kropáček:
Maybe this also works but I doubt it: sudo mount <your image file> <some empty folder> -o loop.

Unfortunately, Linux loop devices do not support byte swapping.

However, it should work here since he dd'ed the image with conv=swab. But it's not as simple as just mounting a loop device, because the image probably contains more than just a single partition. You first need to setup the image apropriately:

losetup -P  /dev/loop0 image_file

-P forces the kernel to scan the new device for partition information so you can later on mount slices of it as separate file systems. This will only work if your kernel has Atari partition support (which Ubuntu kernels usually have).

If not, you'll need to extract the partition information manually (with an Atari tool under Aranym, for example). Once you know the partition start sector(s), you can set up loop devices with offsets into the image (which will skip the root sector for the first partition, the first partition for the second, and so on).

Partition type to mount should be either "fatfs" (for TOS partitions) or "ext2" (for MiNT ext2 filesystems).