I've been trying to trim the size of a backed up img file (from an 8 gig micro sd card). After win32diskimager has done its thing, i'm still stuck with an 8 gig image.
Tried : installing linux on a virtual machine using pishrink only to have a questionably sized, non bootable img.
Found a much easy way (and tested it).
1. Install a hex editor (i used hex editor neo).
2. Remove the zeros from the end of the file to the end of the code. I left a few 0's behind just incase.
3. Save file.
That's it.
Tried : installing linux on a virtual machine using pishrink only to have a questionably sized, non bootable img.
Found a much easy way (and tested it).
1. Install a hex editor (i used hex editor neo).
2. Remove the zeros from the end of the file to the end of the code. I left a few 0's behind just incase.
3. Save file.
That's it.