Hi
I've downloaded 2023-10-10-raspios-bookworm-armhf.img.xz, used unxz to extract the .img file, and I'm trying to mount it so I can have a look at some of the files in it. I was trying to avoid having to write the image to an SD card.
$ file 2023-10-10-raspios-bookworm-armhf.img
2023-10-10-raspios-bookworm-armhf.img: DOS/MBR boot sector; partition 1 : ID=0xc, start-CHS (0x40,0,1), end-CHS (0x3ff,3,32), startsector 8192, 1048576 sectors; partition 2 : ID=0x83, start-CHS (0x3ff,3,32), end-CHS (0x3ff,3,32), startsector 1056768, 9297920 sectors
$ sudo losetup -f --show 2023-10-10-raspios-bookworm-armhf.img /dev/loop0
$ sudo mount -t auto /dev/loop0 /mnt/image/ mount: /mnt/image: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.
I thought these image files were supposed to contain mountable filesystems, and I'm (almost) sure I've done this before with raspbian and Ubuntu images --- am I doing something wrong above?