So, I set up a 4Gb Pi 4 with an M2 SSD a few months back as an InfluxDB and Grafana server and it ran perfectly fine. The SSD card was set up so that it booted from this instead of the SD Card. Over the weekend I tried to add in NGINX and Wordpress so it could serve a website. I had all kinds of trouble with this and eventually decided I had already wasted way too many hours on the issues and that I would probably save myself time by wiping and reflashing the drives.
So I formatted the SD Card and the SSD device ten set about setting the SSD back up as the boot drive as per this guide : https://www.tomshardware.com/uk/news/bo ... 39782.html
That is when things got weird. So even though the USB SSD was wiped clean when I ran sudo fdisk -l it was still showing up as the boot device. When I unplugged it and restarted the device the Pi kept coming up with errors that it couldn't find the boot drive or would boot to the CLI only even though Desktop was set using raspi-config. It is like it still think the SSD is the boot drive, even though they have been wiped clean and I have NOT done the commands in the guide to make the SSD the boot drive yet. I therefore believe some kind of setting is getting left in EEPROM that is causing these issues and that the whole system is not acting like new hardware as it was when I first bought it.
Can anyone please explain what might be going on and what I can do to wipe the EEPROM of these settings and make it like a new Pi 4 ?