theio
Posts: 13
Joined: Tue May 11, 2021 9:00 am

Raspberry Pi 64-bit wiped my filesystem - how to fix? (RESOLVED)

Wed Jul 28, 2021 8:44 am

As the title suggests, I have a problem. If this is the wrong forum for raising it, let me know.

I have a Raspberry Pi 4, which had been running Raspberry Pi OS 32-bit (installed via the Imager) without any trouble, but I wanted to try the 64-bit version as well. So I got a PNY Performance Plus 64GB microSD card, downloaded the Raspberry Pi OS 64-bit from here (https://downloads.raspberrypi.org/raspi ... 021-05-28/), installed it to the card, set up the Pi, process worked through fine, and I had a nice new fresh 64-bit OS.

Then I turned it off and on again.

When it turned back on, it looked like this:
very no filesystem.jpg
very no filesystem.jpg (55.97 KiB) Viewed 333 times
Turned it off, put the SD card in my PC to see what had happened. Turned out that it was both write-protected and missing a filesystem. I can't remove write protection without reformatting it. I can't reformat the filesystem without removing write protection.

What should I do? Is it a problem with the OS? The board? The SD card itself? I am massively confused at what's happened it, and yet it's happened.

EDIT: Bought a new Sandisk SD card, and that's managed to reboot without problem. Still keeping an eye on it, but for now it works.
Last edited by theio on Wed Jul 28, 2021 1:07 pm, edited 1 time in total.

User avatar
jahboater
Posts: 7320
Joined: Wed Feb 04, 2015 6:38 pm
Location: Wonderful West Dorset

Re: Raspberry Pi 64-bit wiped my filesystem - how to fix?

Wed Jul 28, 2021 8:50 am

I think your SD card as died.
Nothing to do with the 64-bit OS.
Try a new Sandisk A1 class card (say 32 or 64 GB), they are cheap, fast, and reliable.

theio
Posts: 13
Joined: Tue May 11, 2021 9:00 am

Re: Raspberry Pi 64-bit wiped my filesystem - how to fix?

Wed Jul 28, 2021 8:55 am

jahboater wrote:
Wed Jul 28, 2021 8:50 am
I think your SD card as died.
Nothing to do with the 64-bit OS.
Try a new Sandisk A1 class card (say 32 or 64 GB), they are cheap, fast, and reliable.
I considered the card; I'm just confused given that I've got an identical card on a Pi 3B with 32-bit and that's survived several reboots, whereas a fresh card with a 64-bit has gone kaput basically instantly.

fruitoftheloom
Posts: 27226
Joined: Tue Mar 25, 2014 12:40 pm

Re: Raspberry Pi 64-bit wiped my filesystem - how to fix?

Wed Jul 28, 2021 8:56 am

jahboater wrote:
Wed Jul 28, 2021 8:50 am
I think your SD card as died.
Nothing to do with the 64-bit OS.
Try a new Sandisk A1 class card (say 32 or 64 GB), they are cheap, fast, and reliable.

https://www.jeffgeerling.com/blog/2019/ ... rison-2019
Take what I advise as advice not the utopian holy grail, and it is gratis !!

User avatar
jahboater
Posts: 7320
Joined: Wed Feb 04, 2015 6:38 pm
Location: Wonderful West Dorset

Re: Raspberry Pi 64-bit wiped my filesystem - how to fix?

Wed Jul 28, 2021 10:00 am

theio wrote:
Wed Jul 28, 2021 8:44 am
So I got a PNY Performance Plus 64GB microSD card, downloaded the Raspberry Pi OS 64-bit from here
If this was a brand new card, it must have been faulty. Perhaps return it to the vendor.

"Installing" the Raspberry Pi OS, is in fact a simple, single, file copy.
It is the same for the 32 and 64 bit OS's.

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 6389
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Raspberry Pi 64-bit wiped my filesystem - how to fix?

Wed Jul 28, 2021 12:28 pm

theio wrote:
Wed Jul 28, 2021 8:55 am
jahboater wrote:
Wed Jul 28, 2021 8:50 am
I think your SD card as died.
Nothing to do with the 64-bit OS.
Try a new Sandisk A1 class card (say 32 or 64 GB), they are cheap, fast, and reliable.
I considered the card; I'm just confused given that I've got an identical card on a Pi 3B with 32-bit and that's survived several reboots, whereas a fresh card with a 64-bit has gone kaput basically instantly.
FWIW, I've passed the card's CID, as reported in the bootloader diagnostics screenshot, through my cid-decoder tool with somewhat strange results:

Code: Select all

trevor@raspiP400gPiOS64:~/usdcard_tools-0.0 $ ./src/cid_decoder -rawCID 009f5449202020202000000000000147 -LX -tag theio
cid_decoder.c Version 0.01 {Exp}, [12/06/2019], (c) F_Trevor_Gowen
		<--| Package usdcard_tools_0.0 |-->
<cid_decoder.arg>	fopen: No such file or directory
cid_decoder.arg not found
Initialising cid ...
Logging to ... raspiP400gPiOS64_theio_cid.log
grawcid = 009f5449202020202000000000000147
raspiP400gPiOS64 sdcard cid status:
RAWCID 009f5449202020202000000000000147
MID    0x00
OID    0x9f54 (�T)
PNM    0x4920202020 (I    )
PRV    0x20 (2.0)
PSN    0x00000000
RSVD   0x0
MDT    0x001 (1/2000)
CRC+1  0x47
Although it's possible that there's an extra or missing byte given that "5449" --> TI is, IIRC, a valid OID (for Texas Instruments?) IIRC
FWIW, compare the above with a working card that was in use with the P400 I'm posting from before I moved to USB (SSD) boot:

Code: Select all

trevor@raspiP400gPiOS64:~/usdcard_tools-0.0 $ cat raspiP400gPiOS64_cid.log
raspiP400gPiOS64 sdcard cid status:
RAWCID 03534453443030383000000000013201
MID    0x03
OID    0x5344 (SD)
PNM    0x5344303038 (SD008)
PRV    0x30 (3.0)
PSN    0x00000000
RSVD   0x0
MDT    0x132 (2/2019)
CRC+1  0x01
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B, B+, and a A+) but Buster on the P3B+, P4B's & P400. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

User avatar
kerry_s
Posts: 2278
Joined: Thu Jan 30, 2020 7:14 pm

Re: Raspberry Pi 64-bit wiped my filesystem - how to fix?

Wed Jul 28, 2021 12:53 pm

on mine, sometimes when it wont boot, i would pull the sdcard out clean the sd card pins(gold part on sd card) then put back in & try again.

theio
Posts: 13
Joined: Tue May 11, 2021 9:00 am

Re: Raspberry Pi 64-bit wiped my filesystem - how to fix? (RESOLVED)

Wed Jul 28, 2021 1:07 pm

Bought a new Sandisk SD card, and that's managed to reboot without problem. Still keeping an eye on it, but for now it works.

wildfire
Posts: 852
Joined: Sat Sep 03, 2016 10:39 am
Location: Dundee, Scotland

Re: Raspberry Pi 64-bit wiped my filesystem - how to fix? (RESOLVED)

Wed Jul 28, 2021 2:16 pm

theio wrote:
Wed Jul 28, 2021 1:07 pm
Bought a new Sandisk SD card, and that's managed to reboot without problem. Still keeping an eye on it, but for now it works.
Virtually everything is stored on the card (not on the Pi), so simply transferring one card for another would not cause a problem, except if the replacement...

1) does not have a suitable (up to date) operating system.
2) has been corrupted (eg by not shutting down/unmounted correctly) and just pulled out.
3) has simply failed, possibly due to being a counterfeit.
E8 85 A2 40 C9 40 81 94 40 81 95 40 89 84 89 96 A3
Still NF Shirls

Return to “Troubleshooting”