OPNsense Forum

English Forums => Hardware and Performance => Topic started by: vikozo on September 23, 2017, 11:36:41 am

Title: apu2 how to install
Post by: vikozo on September 23, 2017, 11:36:41 am
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
Title: Re: apu2 how to install
Post by: fabian on September 23, 2017, 11:56:50 am
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:

Code: [Select]
dd if=/path/to/opnsense.img of=/dev/device_of_usb_stick bs=4k
the rest is booting the device while having serial attached.
Title: Re: apu2 how to install
Post by: vikozo on September 23, 2017, 02:42:49 pm
followed this instruction
but can't access the usb stick
http://pcengines.ch/howto.htm#OS_installation   opnsense
Title: Re: apu2 how to install
Post by: 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
vinc
Title: Re: apu2 how to install
Post by: fabian on September 23, 2017, 03:09:11 pm
for cannot access: do you execute the command as root?
Title: Re: apu2 how to install
Post by: vikozo on September 23, 2017, 03:40:58 pm
@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
Title: Re: apu2 how to install
Post by: monstermania on September 25, 2017, 08:39:19 am
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
Title: Re: apu2 how to install
Post by: tillsense on September 25, 2017, 07:52:12 pm
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
Title: Re: apu2 how to install
Post by: franco on September 26, 2017, 07:54:29 am
Hi Till,

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
Title: Re: apu2 how to install
Post by: tillsense on September 28, 2017, 08:05:12 pm
Hi Franco,

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

cheers
till