Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4878

Troubleshooting • Re: SD Card Wiped During Update

$
0
0
Does a once rebooted PiOS nowadays have MBR or GPT?

If MBR, some failure in fstrim or queuing or block handling or a simple zeroing of just the first sector can make the SD-card look blank.

If GPT, there is a backup at the end of the SD-card so at least CLI tool gdisk can fix it then usually.

Also a standard RPiOS created image has 2 partitions at known locations, one could create an new RPiOS default partition table.
Then you could do:
sudo fsck /dev/sdX2
and/or
sudo lsblk -f
to see if whole card is trimmed/wiped/corrupted or just blocks at the beginning.

Statistics: Posted by redvli — Mon Nov 11, 2024 6:51 pm



Viewing all articles
Browse latest Browse all 4878

Trending Articles