OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: Mastermind on December 20, 2017, 02:25:16 pm

Title: OPNSense 17.7 - No Serial Console in KVM (ISO Installer)
Post by: Mastermind on December 20, 2017, 02:25:16 pm
Hello,

The last few days I have been struggling with getting an OPNSense installation running in my new production environment.

After creating the virtual machine using KVM, and mounting the ISO with its device set as the #1 boot option, I am unable to get any output on either the Spice or Serial console.

I've tried alot of things, most notably setting the video to VGA mode or trying to connect a serial device to a hardware mapping /dev/cuau0 and /dev/cuaU0.

Most of the other information I have found online is related to an after-the-fact installation. But I am even unable to get to this step. I am unable to get any output or access to launch the installation process. I only have this issue with the latest pfSense (just for checking) and OPNSense installation media.

Please tell me if I can provide you with further information.

I am looking forward to seeing your replies and assistance regarding this issue.
Title: Re: OPNSense 17.7 - No Serial Console in KVM (ISO Installer)
Post by: franco on December 20, 2017, 03:14:27 pm
DVD is VGA-only.

Use the Serial USB image instead.

https://pkg.opnsense.org/releases/17.7/README

Quote
Available image types
=====================

o dvd: ISO installer image with live system capabilities running in
  VGA mode.  On amd64, UEFI boot is supported as well.
o vga: USB installer image with live system capabilities running in
  VGA mode as GPT boot.  On amd64, UEFI boot is supported as well.
o serial: USB installer image with live system capabilities running in
  serial console (115200) mode as MBR boot.
o nano: a preinstalled serial image for USB sticks, SD or CF cards
  as MBR boot.  These images are 3G in size and automatically adapt to
  the installed media size after first boot.


Cheers,
Franco
Title: Re: OPNSense 17.7 - No Serial Console in KVM (ISO Installer)
Post by: Mastermind on December 20, 2017, 04:36:45 pm
Ah, thanks. I thought could use the ISO if I would use the appropriate settings.

Mounting the USB Image as VirtIO disk was easy enough too.

Keep up the good work!
Title: Re: OPNSense 17.7 - No Serial Console in KVM (ISO Installer)
Post by: franco on December 20, 2017, 05:03:56 pm
Yay, cool! :)

It used to be a bit different, but we had to make a hard break with DVD, Serial and VGA images. Nano still supports both VGA and serial, but is not an installer and running in read/write mode, although you can still use it as such:

# opnsense-installer


Cheers,
Franco