Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
[HOWTO] Installing 17.7 (and probably above) on APU2/APU3 boards & SD card
« previous
next »
Print
Pages: [
1
]
Author
Topic: [HOWTO] Installing 17.7 (and probably above) on APU2/APU3 boards & SD card (Read 10513 times)
ktk
Newbie
Posts: 13
Karma: 3
[HOWTO] Installing 17.7 (and probably above) on APU2/APU3 boards & SD card
«
on:
January 20, 2018, 11:20:50 am »
It looks like there are some issues with installing current OPNsense on PC Engines APU2/APU3 boards on an SD card so I thought I will summarize what worked and what doesn't so others can save some time.
What does NOT work: I first tried to
dd
the NANO image directly to the SD card. While it does boot it screws up on the next reboot. As soon as I rebooted with a proper configuration I got tons of READ errors from the SD card very early in the boot process. Apparently something goes wrong with the disk layout and breaks the install.
This process was how I did it the past years since I started on PFsense and I guess many were used to this. It did work with OPNsense as well until recently.
How to install:
Install the AMD64 "serial" image on an USB stick.
dd
is your friend
Plug serial console to your device
Put the USB stick into the USB port and boot. If it does not boot from the stick directly, press F10 in the beginning and choose USB
Login with install user
Plug your SD card and start the install process (guided worked fine for me)
Select the SDHC card as target
Select GPT/UEFI mode
Finish install & reboot without USB stick
That's it, like this I did not had any problems booting from SD card anymore. Hope this works for everyone.
«
Last Edit: January 20, 2018, 05:03:14 pm by ktk
»
Logged
namezero111111
Jr. Member
Posts: 93
Karma: 10
Re: [HOWTO] Installing 17.7 (and probably above) on APU2/APU3 boards & SD card
«
Reply #1 on:
January 21, 2018, 02:00:17 pm »
I'd like to add that the following works for the Alix series, which is incapable of booting off of USB:
1. Start a VM (I used VirtualBox) with the installer ISO (i386) and CF Card (via reader) attached
2. Do a normal install by logging in with user installer/opnsense
3. Ensure Alix LBA mode is activated in BIOS (press 's' during memory count)
4. It'll boot off the CF card.
- Note: The Output dies after the boot selector, but the machine is actually booting!
- Be very patient, it will eventually come up after 5-10 min at the latest
- Log in to the WebGUI and
a. Configure the console output to serial again System: Settings: Administration
b. Enable ramdisk fro /tmp and /var under System: Settings: Miscellaneous
I used this successfully with:
Alix 2D3, BIOS 0.99m
4GB Transcend CF
OPNsense 18.1 R1
«
Last Edit: January 21, 2018, 02:03:37 pm by namezero111111
»
Logged
terrajbbq
Newbie
Posts: 2
Karma: 1
Re: [HOWTO] Installing 17.7 (and probably above) on APU2/APU3 boards & SD card
«
Reply #2 on:
April 01, 2018, 04:34:32 pm »
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!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
[HOWTO] Installing 17.7 (and probably above) on APU2/APU3 boards & SD card