OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: Julien on July 17, 2016, 09:46:16 pm

Title: [WORKAROUND] can't install opnsense
Post by: Julien on July 17, 2016, 09:46:16 pm
Hi Guys,
we have build a new pc/ router for testing a ASUS MOBO.
while boating with the usb its takes for ever to show the boat page and its hangs on loading boatx86
i've tried many usbs but none of them works.
i've downlaoded pfsense and tried the iso and it works.
the boat is UEFI on the MOBO, any suggestion why i can't get it installed ?
Title: Re: can't install opnsense
Post by: franco on July 17, 2016, 10:29:41 pm
Use 16.7-RC2, either VGA or CDROM, it has the newly added UEFI support.
Title: Re: [SOLVED] can't install opnsense
Post by: Julien on July 17, 2016, 11:18:19 pm
a big thank you for your quick reply.
i've tried this but it still not working
http://mirror.ams1.nl.leaseweb.net/opnsense/releases/mirror/OPNsense-16.7.r2-OpenSSL-vga-amd64.img.bz2
http://mirror.ams1.nl.leaseweb.net/opnsense/releases/mirror/OPNsense-16.7.r2-OpenSSL-cdrom-amd64.iso.bz2
or i need the i386 ?
it load the USB but does not provide the installation see screenshot
(http://i66.tinypic.com/6izlhs.jpg)
thank you
Title: Re: [SOLVED] can't install opnsense
Post by: Julien on July 18, 2016, 09:15:29 pm
Any suggestions guys ? i am stuck here
somehow the usb won't mount
Title: Re: [SOLVED] can't install opnsense
Post by: Tikimotel on July 18, 2016, 09:50:14 pm
Have you tried it in a USB 2.0 port? The da0 GPT seems to get rejected, is what I gather from the partial screenshot?
Can you choose UEFI with CSM support "yes" in the bios?
With all the UEFI failures in security, I would not trust UEFI that much. (Lenovo / with copy-paste Intel BIOS SDK with insecure bootcode)

btw.
I use passmark's imageUSB software (http://osforensics.com/tools/write-usb-images.html) or Rufus (https://rufus.akeo.ie/?locale=en_US) to create USB img
Title: Re: [SOLVED] can't install opnsense
Post by: Julien on July 18, 2016, 10:06:25 pm
thank you for your answer,
i tried both usb3 and 2 both are rejected.
burned the ISO to a DVD , now its installing with a external DVD, seems to working till now.
80% installing
Title: Re: [SOLVED] can't install opnsense
Post by: Julien on July 18, 2016, 10:19:52 pm
its appear to works , thank you for the UEFI Drivers on the Version 16.7.
with a external USB DVD it does works.
Title: Re: [SOLVED] can't install opnsense
Post by: franco on July 18, 2016, 10:35:55 pm
This seems overly funny, because it boots UEFI, boots the kernel from the GPT root partition and them barfs before it mounts root for going into multi-user mode.

This could maybe work with kern.cam.boot_delay=10000 but I've never seen this manifest on GPT before.

https://github.com/opnsense/tools/issues/28

In any way, I was going to suggest the ISO, looking good. :)
Title: Re: [SOLVED] can't install opnsense
Post by: Julien on July 18, 2016, 10:52:23 pm
we are happy with the External DVD as it mount it automatically.
i never seen it either, nothing on the net to troubleshoot.
glad i could fix it .
thank you guys for your help and for the UEFI driver
Title: Re: [SOLVED] can't install opnsense
Post by: cirtes on July 26, 2016, 07:36:45 pm
Adding data point. Same problem with HP EliteDesk Mini G1.

I'll check to see if there is a BIOS update.
Title: Re: [SOLVED] can't install opnsense
Post by: cirtes on August 01, 2016, 11:13:29 pm
Just to complete my report on the HPE EliteDesk Mini G1 - Known limitation with FreeBSD + USB3.0 + Haswell Lynx Point chipset.

Details here: https://www.freebsd.org/doc/handbook/usb-disks.html

Official recommendation: "disable xHCI/USB3 in the system BIOS"

Hope that helps folks who see this error.

Unfortunately, for my case there is only USB 3.0 on the system so no way to turn it off.

I verified with FreeBSD 10.3 where the error is same as OpnSense
Worked fine with FreeBSD Beta 3 of release 11
Title: Re: [SOLVED] can't install opnsense
Post by: franco on August 02, 2016, 07:31:38 am
Hi cirtes,

Thanks for the summary. :)

I don't expect this to be backported to FreeBSD 10.4, so we may have to wait/aim for 11, which could hit 17.1 depending on how our roadmap will be set up and how well the migration path from 10 to 11 goes.

Some have reported that working around this using an USB CD drive or a CD emulator disk works for them.


Cheers,
Franco
Title: Re: [SOLVED] can't install opnsense
Post by: cirtes on August 02, 2016, 04:54:42 pm
Thanks Franco for the suggestion.

I did try deep and hard to work around.

Even built a USB HDD with Grub boot RAM disk for the ISO image, hoping that would bypass the USB 3.0 / Chipset limitation but no luck. Same error 19.

Because this system is a fancy mini-pc, only interface available for storage besides the USB 3.0 is the M2-8022 PCIe slot that is exclusively PCIe 4-Lane (i.e. cannot boot SATA SSD). Unfortunately, those SSD drives are very expensive right now, so I'll try the i386 image to see if that is less confused with UEFI/USB30 and final option is to run in a hyper-visor.

Many thanks.
Title: Re: [SOLVED] can't install opnsense
Post by: franco on August 02, 2016, 04:59:01 pm
Is there any chance you could install from a different system? The installer uses labels so the installed disk should boot ok in the box after moving it.
Title: Re: [SOLVED] can't install opnsense
Post by: cirtes on August 04, 2016, 07:59:07 pm
Oooh, that is fancy! I did not know that is an option.

I will certainly try this weekend. Have a spare drive for it.

I'll post results.

Many thanks Franco.
Title: Re: [SOLVED] can't install opnsense
Post by: blueninja on August 06, 2016, 11:14:10 pm
As I can see it, the problem is not solved. Changing the instalation media (from USB to external DVD) is not the solutions for most of the users including myself.
The problem is pretty frustating and a total bummer for first-time users of OPNsense.

Please reopen the bug and clear the "SOLVED" from the title.
Title: Re: [WORKAROUND] can't install opnsense
Post by: franco on August 07, 2016, 11:18:12 am
Alright, I've tagged [WORKAROUND] instead.

We offer FreeBSD 10.3 with all of its ups and downs. Filing bug reports can be done here: https://bugs.freebsd.org/bugzilla/

This is unlikely going to be solved for 16.7, because I simply do not see how. It's not our battle to fight. :)
Title: Re: [WORKAROUND] can't install opnsense
Post by: cirtes on August 12, 2016, 10:51:47 pm
OK, after much fiddling, I was able to burn a DVD, install the HDD I needed into a Laptop, then get past the Error 19. The disk has been installed with the base image, now I will move the HDD to the target system for the first boot and configuration.

Workaround has been confirmed.

Many thanks Franco.