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

Troubleshooting • SD Card Wiped During Update

$
0
0
Pi5 8GB, SD Card, Headless, Wireless, Kernel8. CLI/SSH

Weird one last night, during the large apt full-upgrade I got an error.

Code:

........Preparing to unpack .../08-libsqlite3-0_3.40.1-2+deb12u1_arm64.deb ...Unpacking libsqlite3-0:arm64 (3.40.1-2+deb12u1) over (3.40.1-2) ...dpkg: error processing archive /tmp/apt-dpkg-install-huZliO/08-libsqlite3-0_3.40.1-2+deb12u1_arm64.deb (--unpack): unable to stat './usr/share/doc/libsqlite3-0/README.Debian' (which was about to be installed): Bad messagedpkg: unrecoverable fatal error, aborting: unable to fsync updated status of 'libsqlite3-0:arm64': Input/output error
Lost ssh access, tried a reboot but it wouldn't boot, fan stayed on full.

Put a screen on it and nothing was output.

Tried booting without card, after a while I found it was only outputting on HDMI1????

Put card on a another machine, Gparted showed the whole card was "unallocated"

Tried FSCK and got

Code:

sudo fsck /dev/sdcfsck from util-linux 2.38.1e2fsck 1.47.0 (5-Feb-2023)ext2fs_open2: Bad magic number in super-blockfsck.ext2: Superblock invalid, trying backup blocks...fsck.ext2: Bad magic number in super-block while trying to open /dev/sdcThe superblock could not be read or does not describe a valid ext2/ext3/ext4filesystem.  If the device is valid and it really contains an ext2/ext3/ext4filesystem (and not swap or ufs or something else), then the superblockis corrupt, and you might try running e2fsck with an alternate superblock:    e2fsck -b 8193 <device> or    e2fsck -b 32768 <device>

Re-imaged the card and everything worked fine, output was then ok on HDMI0 with or without card.

Statistics: Posted by pidd — Mon Nov 11, 2024 5:26 pm



Viewing all articles
Browse latest Browse all 3847

Trending Articles