[TriLUG] fsck'ing an image vs a partition

Brian via TriLUG trilug at trilug.org
Tue Oct 25 17:29:21 EDT 2022


On 10/25/22 11:15, Pete Soper wrote:
 >    How was p1.img created?

Hey Pete,

p1.img was created by taking a good, working SD card, imaging the first 
partition (~32 GB), then using resize2fs -M on that image file.

On 10/25/22 16:50, Scott Lambdin wrote:
 >    Maybe do not use -f with the sda?

Hey Scott,

AFAIK, the -f just tells fsck to do a complete check even if it isn't 
required (if the fs claims to be clean).  If I don't use -f, fsck 
doesn't do anything at all.



If I go ahead and mount the SD partition, it /seems/ OK...

-B



More information about the TriLUG mailing list