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

Troubleshooting • rpi 3 with SSD boot

$
0
0
Hi guys, I need some serious help (with my RPi3!).
I recently hooked up a HDD enclosure to my RPi3 to act as a samba server. This was going all okay up until yesterday, when I noticed I couldn't reach the samba server and it wasn't mounted anymore on the Pi. So I did a sudo reboot via SSH.
Since then, it's been chaos.
Been getting the "emergency mode root account locked" error and then getting stuck on the rainbow boot screen when I've made the changes I've already tried.
What have I already tried?

adding fsck.mode=force to cmdline.txt
chaning root=PARTUUID-.... to root=/dev/sda2 (the OS partition) in cmdline.txt
adding init #/bin/sh (or similar) to cmdline.txt

adding boot_delay=1 to config.txt
adding program_USB_boot_mode=1 to config.txt
trying both at the same time

running fsck -y on both boot and rootfs (OS parition) partitions, restoring previous boot backup when prompted.

trying to find the PARTUUID variable I setup in cmdline.txt when I first setup the pi to boot up from SSD but I cannot find where I got that tutorial anymore, as its gone from my history

Using Linux Mint to go through the rootfs (raspbian OS partition) and editing the fstab to comment out the line that starts with /dev/sda1 (for some reason that line is

Code:

/dev/sda1 /media/pi    ntfs defaults 0 0
which i definitely think I added as something i got from a "auto-mount your external HDD enclosure" tutorial

oh, and trying different power supplies. I used a power supply that I KNOW can supply enough energy to the Pi and I got the rainbow screen with a lightning bolt. Which I thought only appeared if the Pi is underpowered(undervolted?) but maybe it appears when it's over?


please help this "programmer" who is slowly losing braincells over this and just due to life and age :(

what can I do that will fix this the fastest and also without losing my data on the raspbian OS, as I have pihole, home assistant and samba all setup the way I like it. Thinking about somehow just doing something like this and restoring the boot partition or something
https://raspberrypi.stackexchange.com/a/23760/41476

Statistics: Posted by magiccoupons — Thu Oct 10, 2024 7:12 pm — Replies 2 — Views 53



Viewing all articles
Browse latest Browse all 4606

Trending Articles