shrinkwrap
shrinkwrap copied to clipboard
Failed to set up loop device
Linux:/RasPi Images/Backups$ ./shrinkwrap/shrinkwrap.sh RasPi.img
Disk RasPi.img: 14.94 GiB, 16021192704 bytes, 31291392 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
RasPi.img1 8192 31291391 31283200 14.9G c W95 FAT32 (LBA)
START of partition:
losetup: RasPi.img: failed to set up loop device: Device or resource busy
When I run your script, I get an error that the device is busy. I checked lsof grepped for my file but nothing comes up.
I'd like for this to work, and I'm willing to help but I'm not a coder. If there's anything that you would like for me to check on while I have it in this state, let me know. Otherwise I can think a few things to try like, reboot.