Closed peevishkiwi closed 7 months ago
Hi, I have not tried it myself yet but maybe this can help: https://superuser.com/questions/693158/can-i-expand-the-size-of-a-file-based-disk-image
Thanks for the link! Using the command "dd if=/dev/zero bs=1 count=4096 >> ./piusb.bin" from your link i was able to make the .bin 4GB bigger. This was verified using the other commands from the forum.
However the share is still 2GB. I restarted the PI and also tried formating it again, still shows 2GB. Last thing i tried was to unmount the share and remount it --> Windows is still showing 2GB.
Will try to experiment a bit in the next days. Seems to be way more complex than expected.
I experimented a bit but couldn't really get the size of the share in Windows up, despite Linux telling me the size of the file has been increased successfully. So i reinstalled and just modified the install.sh script by replacing 2048 with the number i wanted (4096 in my case). And now i have a 4GB in windows share which is working fine.
Did not go above 4GB, as i had trouble with my printer registering USB sticks which are larger then 4GB, but would be interesting to test if this will be the same for a share. Anyway, working for me now with the desired 4GB. Thank you so much for this handy script. Marking this as closed!
Not an issue, a question! First of all, thank you for sharing. This makes my life much easier as my printer is located in another room.
I choose the automatic installation and it worked great. Now i am just wondering if it is possible to change the size of the fileshare afterwards from count=2048 to count=4096 for example. Did some reasearch bit did not find anything which would help. Or do i need to reinstall using the manual way?