I have this error when trying to create image on samba share:
>sudo ./image-backup -i /mnt/NAS/TEMP/pp2.img
sfdisk: cannot open /mnt/NAS/TEMP/pp2.img: Invalid argument
sfdisk: cannot open /mnt/NAS/TEMP/pp2.img: Invalid argument
losetup: /mnt/NAS/TEMP/pp2.img: Warning: file is smaller than 512 bytes; the loop device may be useless or invisible for system tools.
Unable to create image BOOT filesystem
the fstab row for mount is the following one:
//192.168.1.1/NAS /mnt/NAS cifs guest,_netdev,x-systemd.automount,vers=1.0 0 0
Is there any way to get it working?
Does the backup succeed using a local device (SD card, USB, or M.2) as the destination instead of the NAS?
Statistics: Posted by RonR — Fri May 02, 2025 9:00 pm