OPNSense,  Security

Resolve OPNSense stuck at booting

I’m busy building an OPNSense firewall for my home network and got stuck at a booting screen (below) before I could start the installation. I tried disabling UEFI, re-enabling it in the BIOS and a few other BIOS settings but could not resolve the issue from within the BIOS.

OPNSense stuck at booting

To resolve the issue and get to the installer I followed the forum post by benibilme from here on the OPNSense forums. The steps I followed to resolve the issue are below and the video that shows the steps at the end of this blog post.

  1. Reboot your machine if you get stuck at the Booting step when booting from your installation media.
  2. Press 3 when you see the boot menu as per below.boot screen
  3. Type set kern.vty=sc and then press enter.
  4. Type boot and press enter to continue booting.
  5. If you need to install OPNSense then continue with the installation steps.
  6. After installation you need to reboot and run steps 2 to 4 again if you are still getting stuck at the Booting screen.
  7. Now login with the user root and the password you set when installing OPNSense.
  8. Type 8 to get to the shell.
  9. Now you need to create a new file called loader.conf.local in the /boot directory and add the text you typed in step 3 to the file.
  10. Type cd /boot
  11. Type vi loader.conf.local and press enter.
  12. vi will open. Hit the I key to insert text. Type set kern.vty=sc and then press the escape key.
  13. To save the file type :wq!
  14. Check if the line was saved in the loader.conf.local file by typing cat loader.conf.local and pressing enter.
  15. Reboot the server if you see the text you added printed on the screen.
  16. You should not be stuck at Booting anymore.

Leave a Reply

Your email address will not be published. Required fields are marked *