Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: polikuo on August 11, 2017, 02:55:03 AM

Title: SD card corruption
Post by: polikuo on August 11, 2017, 02:55:03 AM
I was test compiling some stuffs, nothing special, really.

When I reboot the machine it just halt.
(The screen displayed 4 raspberry logo, I'm using Pi3)

I've run fsck several times from another TC computer but it always returned with no error.

After backing up all my files, I cleaned the card and re-burnt it.

Now everything is running smoothly as if nothing ever happens.

Is it OK to keep the card ?

Or should I just buy a new one ?  ???
Title: Re: SD card corruption
Post by: curaga on August 11, 2017, 03:53:45 AM
Better get a new card. Fsck can only detect corruption in the filesystem structures, if it was inside a file fsck wouldn't say anything.

Some filesystems can detect file corruption too: zfs, btrfs, and I remember seeing patches for ext4 that would enable checksums too. But the boot partition must be fat32 IIRC, no such safeties there.
Title: Re: SD card corruption
Post by: polikuo on August 11, 2017, 04:15:09 AM
Better get a new card. Fsck can only detect corruption in the filesystem structures, if it was inside a file fsck wouldn't say anything.

At first, I only reformat the fat32 partition and copy the files (via M$)
Still it won't boot, so I end up clearing the entire card.
Guess I'll have to buy a new one.
:-\