I've a .img file containing two partitions. I'd like to shrink one
partition (that is ext4) and so create a smaller .img file to burn to an
SD card that is smaller than the current .img file. There is sufficient
space for the reduction. However I can't work out how to shrink it when
it is offline (it refuses to shrink it while online on a loop device)
because it doesn't appear as though resize2fs can take a file or an
offset. Can anyone suggest how I might do this?
Thanks,
Leo
--
Please post to: Hampshire@???
Web Interface:
https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL:
http://www.hantslug.org.uk
--------------------------------------------------------------