OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • Installation failure
« previous next »
  • Print
Pages: [1]

Author Topic: Installation failure  (Read 6542 times)

8191

  • Jr. Member
  • **
  • Posts: 80
  • Karma: 4
    • View Profile
Installation failure
« on: December 18, 2015, 02:45:04 pm »
Hi,
I'd like to install OPNsense into a VM, but the installer (OPNsense-15.7.18-OpenSSL-serial-amd64.img.bz2) runs into troubles:

Code: [Select]
Flow executing -> main/install/format_disk (Format Disk)           
,-<<< Executing `/usr/local/installer/cleargpt.sh vtbd0'           
| gpart: Device busy                                               
| gpart: Invalid value for 'i' argument: Invalid argument           
| gpart: Device busy                                               
`->>> Exit status: 0                                               
,-<<< Executing `/sbin/fdisk -I vtbd0'                             
| ******* Working on device /dev/vtbd0 *******                     
| fdisk: /boot/mbr: Device not configured                           
`->>> Exit status: 1                                               
[Fri Dec 18 13:25:06 2015]                                         
,-<<< Executing `/sbin/fdisk -I vtbd0'                             
| ******* Working on device /dev/vtbd0 *******                     
| fdisk: /boot/mbr: Device not configured                           
`->>> Exit status: 1                                               
[Fri Dec 18 13:25:09 2015]                                         
,-<<< Executing `/sbin/fdisk -I vtbd0'                             
| ******* Working on device /dev/vtbd0 *******                     
| fdisk: /boot/mbr: Device not configured                           
`->>> Exit status: 1                                               

I'm using KVM, but have a similar error on VMware Workstation.
Logged

phoenix

  • Hero Member
  • *****
  • Posts: 509
  • Karma: 57
    • View Profile
Re: Installation failure
« Reply #1 on: December 18, 2015, 02:52:30 pm »
It works fine for me on an ESXi VM & Workstation using the iso download, have you tried that?
Logged
Regards


Bill

weust

  • Hero Member
  • *****
  • Posts: 648
  • Karma: 57
    • View Profile
Re: Installation failure
« Reply #2 on: December 18, 2015, 03:11:42 pm »
Since you're using a Virtual Machine, don't use the Serial image.
Like Phoenix mentions, use the ISO. amd64 to be specific.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

8191

  • Jr. Member
  • **
  • Posts: 80
  • Karma: 4
    • View Profile
Re: Installation failure
« Reply #3 on: December 18, 2015, 03:36:35 pm »
Quote from: weust on December 18, 2015, 03:11:42 pm
Since you're using a Virtual Machine, don't use the Serial image.
Why not? Is there a technical reason for this?


I've tried the ISO previously, but with similar (un)success (see attachment).
The ISO seems to be consistent, at least the bz2 file matches the SHA256 hash.
Logged

weust

  • Hero Member
  • *****
  • Posts: 648
  • Karma: 57
    • View Profile
Re: Installation failure
« Reply #4 on: December 18, 2015, 04:23:53 pm »
Because you have a console connect. Why screw around with a serial cable to your hypervisor (imagine having a bunch of nodes in a cluster)?
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

8191

  • Jr. Member
  • **
  • Posts: 80
  • Karma: 4
    • View Profile
Re: Installation failure
« Reply #5 on: December 18, 2015, 04:32:42 pm »
Quote from: weust on December 18, 2015, 04:23:53 pm
Because you have a console connect. Why screw around with a serial cable to your hypervisor (imagine having a bunch of nodes in a cluster)?

It's much easier to access a bunch of nodes via serial access (which is in fact virtual and not a physical one) than needing awkward tools like VNC to access the console of a VM... ;)


Anyway... I've skipped through the installer errors, and now the system obviously is a bit messed up. Anyone else had these error messages before? As already mentioned, it happens with KVM and also with VMware Workstation. So I'm wondering if I'm the only one having them....
Logged

8191

  • Jr. Member
  • **
  • Posts: 80
  • Karma: 4
    • View Profile
Re: Installation failure
« Reply #6 on: December 18, 2015, 05:00:45 pm »
Seems like OPNsense has troubles with paravirt of KVM... I've changed the root disk from virtio (FreeBSD device vtbd) to sata (FreeBSD device ada) and now the installer works without any error. Generally FreeBSD has paravirt drivers for virtio, so I guess it might be related with the nanobsd(?)/OPNsense installer...
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 15.7 Legacy Series »
  • Installation failure
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2