You are not logged in.
I have a raw disk image of 16GiB on my local hard drive
when I try to mount it using :
'sudo mount -o ro,noload,loop /run/media/path_to_file/rpi4bak.raw /run/media/path_to_mountpoint/root1'
it gives an error :
mount: /run/media/path_to_mountpoint/root1: failed to setup loop device for /run/media/path_to_file/rpi4bak.raw.
And I ran modprobe loop before doing these and it is running
also trying to manually create a loop device using losetup:
sudo losetup -f -P rpi4bak.raw
it gives an error :
losetup: rpi4bak.raw: failed to set up loop device: No such file or directory
Last edited by DireWolf (2021-05-01 08:58:52)
Offline
sudo losetup -f -P /run/media/path_to_file/rpi4bak.raw
?
Offline
It worked after a reboot...
Offline
Is the image vfat or so?
The typical explanation for #3 is that you updated the kernel and couldn't mount the partition because you didn't have access to the FS modules for the running kernel anymore.
Offline
Yes it was vfat... fat 32
Offline
Though i distinctly remember not updating the kernel....
Offline