cimryan / teslausb

Steps and scripts for turning a Raspberry Pi into a useful USB drive for a Tesla
MIT License
572 stars 484 forks source link

Fixes this error message: losetup: /dev/loop0: failed to set up loop device: No such file or directory #160

Closed randallzapata closed 4 years ago

randallzapata commented 4 years ago

Fixes this error message: losetup: /dev/loop0: failed to set up loop device: No such file or directory Also, the whole reason, I was working this issue because I could not mount cam. "mount /mnt/cam/"

Here is what I did to produce the error: ./create-backingfiles.sh 90% 0% /backingfiles create-backingfiles: starting create-backingfiles: cam: 90%, music: 0%, mountpoint: /backingfiles archiveloop: no process found umount: /mnt/cam: not mounted. umount: /mnt/music: no mount point specified. create-backingfiles: Allocating 215409891K for /backingfiles/cam_disk.bin... losetup -o 1048576 loop0 /backingfiles/cam_disk.bin losetup: /dev/loop0: failed to set up loop device: No such file or directory