I accidentally wiped the SD card that came with my Pioneer Box. I used Etcher to try and restore the u-boot files to their original settings and it seems to have erased everything.
I’ve been having issues with my Pioneer box since I got it. I finally threw up my hands and decided to do a fresh install. The install on the hard drive is un-reachable now because the web interface cannot be reached. So I figured I needed to restart from scratch. But I had changed settings so it would go straight to the hard drive, hence why I was attempting to redo the u-boot files.
Step by step instructions please. I know just enough to get me in trouble.
If you have a GNU/Linux PC, it should be unxz freedombox-stable_pioneer_a20-olinuxino-lime2-armhf.img.xz
and then sudo dd if=freedombox-stable_pioneer_a20-olinuxino-lime2-armhf.img of=/dev/sdX where X in sdX is to be replaced by the letter under which your microSD card is seen (run lsblk before inserting the microSD card, and again after and see which /dev/sdX was newly added)
Then you can insert the microSD card in the Pioneer, connect the Pioneer to your routeur with a network cable (suggestion: try it first betwen your routeur and a computer, to make sure it works), plug the power and try accessing the web interface following suggestions at https://wiki.debian.org/FreedomBox/Manual#FreedomBox.2FManual.2FQuickStart.How_to_get_started in order to connect to the web interface from the local network.
I had changed root from the SD Card to the hard drive. So when the machine booted up it was going to the hard drive which had configuration problems. And I couldn’t re run the command to switch root back to the SD Card because the partition was too large.
I have a Pioneer with SSD on which I used ‘btrfs replace’ to move root to the SSD.
Whenever I have some problem, I boot on another microSD card that has a full Debian system installed and I run ‘btrfs check’ to fix any problem on the SSD. Then I also put the microSD card that has /boot in a reader on a computer and check the ext4 /boot file system.
When you said that you changed root from the SD card to the hard drive, did you do that via btrfs replace, or another way?
It seems you have /boot on the HDD. I did setup my freedombox from the original freedombox image and ran btrfs replace, then I still have /boot on the microSD card. So you probably did something else in order to have /boot on the HDD. I assume that the HDD is more reliable than the microSD card, so your setup looks preferable as compared with mine.