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

Troubleshooting • Very strange /etc/fstab on Raspberry Pi Zero on first boot

$
0
0
I have a Raspberry Pi Zero that had Debian Buster and I'm trying to make a new install. I tried using both Raspberry Pi Imager and dd to create the SD card, but both methods had the same problem: it's failing to boot with many messages about fstab errors. The content of /etc/fstab on the SD card surprised me:

Code:

l(f, decode=False, stripquotes=False)    return float(s)floatnl = ArgumentDescriptor(              name='floatnl',              n=UP_TO_NEWLINE,              reader=read_floatnl,              doc="""A newline-
It seems to be some Python code.

The Pi Zero is currently stuck on a boot loop with many messages about /etc/fstab errors, then generating SSH keys, then it warns it will reboot in 5 seconds. It reboots and does this constantly.

Here is a screenshot I took using a capture card (ignore everything starting from the 22 seconds message as that was because I removed the SD card). The second screenshot is before the Generating SSH keys.

Even if I edit /etc/fstab on my computer, on the next boot the content of /etc/fstab becomes this Python code again.

I tried using the Raspberry Pi OS (32-bit) image, with 1,1 GB.
piBug2.jpg

piBug.png

Statistics: Posted by FurretUber — Thu Dec 19, 2024 4:28 pm



Viewing all articles
Browse latest Browse all 4969

Trending Articles