OPNsense Forum

English Forums => General Discussion => Topic started by: ej19 on May 06, 2020, 07:16:41 pm

Title: OPNSense in VirtualBox; No login
Post by: ej19 on May 06, 2020, 07:16:41 pm
Hello!
I am a newb when it comes to firewall setup and networking in general. I am currently trying to install OPNsense v20.1 32x in virtualbox on a dell poweredge 2900 gen II server with Linux Mint to serve as a home network firewall. I have run across a good handful of issues through out this process but have mostly been able to overcome them. Except this one. Here is where I am at; I have run the installer on the virtual machine and have OPNsense running on it's own in the VM. However as it boots, towards the end, it doesn't give me a place to login with 'root' and the password I created in the installer. It just stops after the hash as you can see.
(https://i.imgur.com/EYDWDoVl.png)
It will also occasionally come up with '[hbsd aslr] pax_aslr_init_vmspace check your /boot/loader.conf' after the hash. What that means, other than to check my /boot/loader.conf, I haven't a clue. I would be so grateful if someone here who has more knowledge than I do could help me out. I can totally provide any more info one might need as well.
Thanks for your time!
Title: Re: OPNSense in VirtualBox; No login
Post by: franco on May 07, 2020, 09:35:46 am
Hi there,

Which image type is this?

Nano -> shouldn't happen, both serial and VGA console login work
DVD -> VGA console login only
VGA -> VGA console login only
Serial -> Serial console login only


Cheers,
Franco
Title: Re: OPNSense in VirtualBox; No login
Post by: ej19 on May 07, 2020, 09:52:24 pm
I am using the DVD image type.
Title: Re: OPNSense in VirtualBox; No login
Post by: franco on May 08, 2020, 02:34:36 pm
Something is wrong with the VGA console in the host then. I cannot reproduce this issue with the defaults in OPNsense and VirtualBox.


Cheers,
Franco
Title: Re: OPNSense in VirtualBox; No login
Post by: miroco on May 08, 2020, 03:43:48 pm
What if you try the amd64 image?

https://www.dell.com/downloads/emea/products/pedge/en/PE2900_Spec_Sheet_Quad.pdf

miroco
Title: Re: OPNSense in VirtualBox; No login
Post by: ej19 on May 08, 2020, 10:32:11 pm
I was using that one originally because I knew the system was 64x but ran into issues there so I tried the 32 bit since virtualbox only gave me a 32x FreeBSD option and it worked. But I will try the 64x again since I have more knowledge now than I did when I started this project.
Title: Re: OPNSense in VirtualBox; No login
Post by: ej19 on May 08, 2020, 10:55:59 pm
When I tried to run the amd64 I get the error 'CPU Does not support long mode'. It gives me the option to hit enter to boot or hit any key to get a command prompt but it then sticks me with an 'OK' prompt and whenever I hit enter it just kicks down to another OK prompt.
(https://i.imgur.com/qHwkrSMl.png)

If I type '?' the following comes up

(https://i.imgur.com/mnOwcSil.png)
Title: Re: OPNSense in VirtualBox; No login
Post by: miroco on May 09, 2020, 01:14:38 am
If your CPU doesn't support long mode, the general consensus seems to be; Use a 32bit distribution. If it's not a BIOS issue, you should perhaps start looking for newer hardware. The upcoming 20.7 version will be 64bit only.

https://www.thomas-krenn.com/en/wiki/Activating_the_Intel_VT_Virtualization_Feature

miroco
Title: Re: OPNSense in VirtualBox; No login
Post by: ej19 on May 09, 2020, 10:48:06 pm
I figured that would probably be someone's response lol. I may end up looking into another firewall software at some point but I think this is the end of the road for me on this one since I am not entirely interested in upgrading hardware even though I have been toying with the idea. Thanks for all your guys' help!
Title: Re: OPNSense in VirtualBox; No login
Post by: ej19 on May 09, 2020, 11:30:51 pm
Update: I decided to try enabling virtualization in the bios and IT WORKED!!! I am so happy! Thanks a million miroco
Title: Re: OPNSense in VirtualBox; No login
Post by: Dansken on November 12, 2021, 02:24:34 pm
Simplest solution:Dont create a freebsd Mchine in Virtualbox.
Create a Debian 64bit machine and install Opnsense.
Title: Re: OPNSense in VirtualBox; No login
Post by: Patrick M. Hausen on November 12, 2021, 02:26:54 pm
Please demonstrate how to install OPNsense on Debian Linux ...

In the meantime it might be more productive to just use Vagrant:
https://github.com/punktDe/vagrant-opnsense