OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: pistolinux on July 17, 2017, 04:30:16 pm

Title: OPNSense 17.1.4 stuck at boot
Post by: pistolinux on July 17, 2017, 04:30:16 pm
Hi, my name is Christian,
I'm trying to deploy an OPNSense VM on KVM (RHEL 7.2).
I tried all the installation supports (VGA, CDROM) both 32 and 64bit but the problem is the same:
The boot process stucks  after a few seconds with message: "Booting..." as you can see in the screenshot below:
(https://preview.ibb.co/hfOJcv/opnsense.png)

How can I enable debug logs and increase verbosity for the boot?
I tried with vSphere 5.5 and VirtualBox and I was able to boot and install OPNSense correctly.
Though even if I exported the VM's disk (either in VMDK or VDI format) and converted it in QCOW2 (or RAW), the VM does not boot at all.

Thank you

Title: Re: OPNSense 17.1.4 stuck at boot
Post by: weust on July 18, 2017, 02:58:27 pm
I might be mistaken, but didn't this have something to do with the video part in vSphere/VB?
There should be some topics regarding this already.
Title: Re: OPNSense 17.1.4 stuck at boot
Post by: pistolinux on July 18, 2017, 03:35:06 pm
Thank you for your reply weust,
I tested the same image on vSphere, VirtualBox and KVM.
I was able to start OPNSense without problems on vSphere and VirtualBox but the boot procedure hangs on KVM.
I also tried to export a working instance of OPNSense from vSphere to KVM in OVA format, but he issue  is the same and the System does not boot.  :'(
Title: Re: OPNSense 17.1.4 stuck at boot
Post by: franco on July 18, 2017, 04:02:01 pm
Hi Christian,

Is the Disk Controller set to IDE in KVM?


Cheers,
Franco
Title: Re: OPNSense 17.1.4 stuck at boot
Post by: weust on July 18, 2017, 04:07:17 pm
Seems I somehow misread and mixed things up.
I read you tried it in vSphere and VB, and got it to work in KVM.
Title: Re: OPNSense 17.1.4 stuck at boot
Post by: pistolinux on July 18, 2017, 09:12:15 pm
Hi Franco,
yes, I've tried with sata (as suggested in the Installation Guide) and with ide but the error is the same...  :(

Thank you
Title: Re: OPNSense 17.1.4 stuck at boot
Post by: franco on July 19, 2017, 10:12:13 am
Hi Christian,

I can try this on Fedora/KVM to see if the issue is the same there.

There is a chance that it's not stuck, but configured incorrectly for serial/console so it boots but you don't see it.

What are you options WRT console?


Cheers,
Franco
Title: Re: OPNSense 17.1.4 stuck at boot
Post by: pistolinux on July 19, 2017, 01:25:27 pm
Hi Franco,
thank you very much for your reply.

Please consider that i performed my tests in OpenStack, based on RHEL 7.3 hosts.
I also tried to boot OPNSense on a RHEL 7.2 KVM hypervisor but the boot process hangs in both cases.
I tried to boot different FreeBSD 11 images (QCOW2, CDROM ISO and USB Mem-Stick image) and I did not manage to boot in all the cases.

Are you suggesting me to configure the SERIAL (no VGA) image and try to boot from this source?

Cheers
Title: Re: OPNSense 17.1.4 stuck at boot
Post by: diablo on July 19, 2017, 08:44:36 pm
Hi guys,

I'm also getting it freeze at this point, however my setup is APU2C4 with a mSATA(?) 32GG drive.

The box is about 14 months old, started with OPNsense, and has had a good few upgrades applied.

I've tried clean installing it with OPNsense-17.1.4-OpenSSL-serial-amd64.img which boots from USB stick, installs, but then if I reboot, same probem "Booting...." and freezes.

Anyone any ideas? I'm going to leave it on a memtest over night, just to rule out any issues there.

Best wishes
Title: Re: OPNSense 17.1.4 stuck at boot
Post by: diablo on July 19, 2017, 11:49:54 pm
OK so sorry to have to say this... it did work, when I actually bothered to login as installer and actually INSTALL OPNsense... please excuse me.

Clean installed, restored config, updated to latest patches, all good.

Please excuse my stupidity.

Best wishes
Title: Re: OPNSense 17.1.4 stuck at boot
Post by: pistolinux on July 20, 2017, 08:00:20 am
Ok, glad to know it worked for you.
I think the problem is related to emulated VGA display.
I've also tried to boot the SERIAL image but I'm not able to catch the serial output from KVM...
Title: Re: OPNSense 17.1.4 stuck at boot
Post by: diablo on July 20, 2017, 10:38:43 am
Hi,

Well yeah I'm very thankful that I got it up and running again. I had to put a Ubiquiti USG in a hurry on my LAN, and I immediately missed my OPNsense. I was near purchasing a new APU2C4 mobo.

Still unsure as to what was causing it to showing and freeze at "Booting...". All I know is the box went through a number of upgrades over it's 13 months of life.

Might be worth you checking with the KVM guys in #kvm on freenode about your issue?

All the best
Title: Re: OPNSense 17.1.4 stuck at boot
Post by: pistolinux on July 20, 2017, 03:13:09 pm
Ok, thank you Diablo.
So, are you suggesting me to ask for support on IRC?