Installation failure

Started by 8191, December 18, 2015, 02:45:04 PM

Previous topic - Next topic
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:

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.

It works fine for me on an ESXi VM & Workstation using the iso download, have you tried that?
Regards


Bill

Since you're using a Virtual Machine, don't use the Serial image.
Like Phoenix mentions, use the ISO. amd64 to be specific.
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

Quote from: weust on December 18, 2015, 03:11:42 PMSince 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.

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)?
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.

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....

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...