Hi,
I am trying to use the script with a samba share mount. The samba share mount seems to work fine when I operate on it with the pi user.
Yet when I run the script is produces the following error message:
Create /mnt/fritz/test.img (y/n)? y sfdisk: cannot open /mnt/fritz/test.img: Invalid argument sfdisk: cannot open /mnt/fritz/test.img: Invalid argument losetup: /mnt/fritz/test.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 samba share is mounted with the following command:
sudo mount -t cifs //fritz.nas/FRITZ.NAS/Raspi_Back /mnt/fritz -o rw,noserverino,username=myuser,password=xxx,workgroup=WORKGROUP,uid=pi,gid=pi,noatime
Hi, I am trying to use the script with a samba share mount. The samba share mount seems to work fine when I operate on it with the pi user. Yet when I run the script is produces the following error message:
Create /mnt/fritz/test.img (y/n)? y sfdisk: cannot open /mnt/fritz/test.img: Invalid argument sfdisk: cannot open /mnt/fritz/test.img: Invalid argument losetup: /mnt/fritz/test.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 samba share is mounted with the following command:
sudo mount -t cifs //fritz.nas/FRITZ.NAS/Raspi_Back /mnt/fritz -o rw,noserverino,username=myuser,password=xxx,workgroup=WORKGROUP,uid=pi,gid=pi,noatime