Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - terrajbbq

#1
In my case, on an APU board, the initial boot after "dd"-ing the nano image to the SD card worked fine. I had it running for a few weeks but encountered a problem that I figured a reboot might solve. It didn't boot. Attaching a serial cable would display messages about USB transmission failing, and some timeouts (I don't have the exact messages any more).

Initially I thought it was related to the bootdelay, so I tried installing the package to add that after a fresh install but the same problem happened. The only results I found when searching seemed to suggest bootdelay or AHCI related issues - I actually only found this thread after it was mentioned on Twitter!

A friend suggested using the installer rather than "dd"-ing the image.

What I did was similar to ktk, with a few slight differences:
1. Blank the SD card first (dd from /dev/zero to it) - installation failed when I didn't do this
2. "dd" the nano image onto a USB stick
3. Attach serial cable
4. Insert USB stick and boot up
5. Log in as the root user and go to the shell
6. Run "opnsense-installer"
7. Proceed with the installation (guided with GPT/UEFI)
8. After installation, remove USB stick and reboot

As an extra precaution, after I'd verified that it booted correctly I shut down, took out the card and used "dd" to make an image of the working SD card (compressing it after). I'm also making sure I periodically back up the settings now!
#2
How did you install the image? I had the same kind of problem after first reboot when I "dd" the nano image directly to an SD card. Every time I re-copied the image to the SD card, it would fail after first reboot. I'd also tried adding a boot delay etc.

In the end I put the nano image on a USB stick using the same method, and used opnsense-installer from the shell to install it onto the SD card. Similar to the methods here (which I'm about to add to):

https://forum.opnsense.org/index.php?topic=6942.0