apu2 how to install

Started by vikozo, September 23, 2017, 11:36:41 AM

Previous topic - Next topic
Hello
have a APU2 and which to install OpnSense
as i did understand put the Opnsense file to a usb stick boot from there and install it to the Disk.
my Problem i can't boot from usb stick.
have a nice day
vinc
apu2c4 / wle200nx / 240 Disk --> Firewall | FW-03
---
OPNsense 22.1.6-amd64
FreeBSD 13.0-STABLE
OpenSSL 1.1.1n 15 Mar 2022

you need to download the serial image and unzip it if required so you have an *.img file.

this file needs to be copied to your USB stick using the following command:

dd if=/path/to/opnsense.img of=/dev/device_of_usb_stick bs=4k

the rest is booting the device while having serial attached.

followed this instruction
but can't access the usb stick
http://pcengines.ch/howto.htm#OS_installation   opnsense
apu2c4 / wle200nx / 240 Disk --> Firewall | FW-03
---
OPNsense 22.1.6-amd64
FreeBSD 13.0-STABLE
OpenSSL 1.1.1n 15 Mar 2022

Also having the blank img file on the USB Stick or a SD Card
both would be there to select but both can't be selected
have a nice day
vinc
apu2c4 / wle200nx / 240 Disk --> Firewall | FW-03
---
OPNsense 22.1.6-amd64
FreeBSD 13.0-STABLE
OpenSSL 1.1.1n 15 Mar 2022

for cannot access: do you execute the command as root?

@fabian
no i don't get that far.
it boot
it should boot from the USB Stick where the Image is
but it goes over to a memtest
----
if on the boot prozess i press F10 i could select where from to boot
but this selection of USB Stick is also not working
apu2c4 / wle200nx / 240 Disk --> Firewall | FW-03
---
OPNsense 22.1.6-amd64
FreeBSD 13.0-STABLE
OpenSSL 1.1.1n 15 Mar 2022

Quote from: vikozo on September 23, 2017, 02:59:14 PM
Also having the blank img file on the USB Stick or a SD Card
both would be there to select but both can't be selected
have a nice day
Hi,
have you tried to boot up another HW with the media (i.e. your pc)?

Dirk

September 25, 2017, 07:52:12 PM #7 Last Edit: September 25, 2017, 08:38:21 PM by tillsense
I think @kraileth has asked the right question for the problems of the usb3 boot (https://forum.opnsense.org/index.php?topic=5314.0) and he has also written a really good blog post but not linked himself , I'll do it now > (https://eerielinux.wordpress.com/2017/06/20/building-a-bsd-home-router-pt-5-installing-opnsense/).
Perhaps this is also a new puzzle piece: https://reviews.freebsd.org/D12471
All together, it currently looks like a FreeBSD 11.x / SDHCI (xHCI) / Kernel problem.

PCEngines says as well (http://pcengines.ch/howto.htm#OS_installation) :
"Do not use an SD to boot FreeBSD based OS like pfSense and OPNSense on apu2 boards. Only very recent kernel versions fully support booting via SDHCI.."

@vikozo which bios has your apu2 exactly?

cheers
till

Hi Till,

Quote from: tillsense on September 25, 2017, 07:52:12 PM
Perhaps this is also a new puzzle piece: https://reviews.freebsd.org/D12471
All together, it currently looks like a FreeBSD 11.x / SDHCI (xHCI) / Kernel problem.

In which way did you find this review? We can certainly try it but it seems some context is missing on why it could be puzzle piece.


Cheers,
Franco

Hi Franco,

QuoteIn which way did you find this review?
About > http://www.beta.freshbsd.org/search?q=sdhci otherwise pure research.

cheers
till