On 05/02/2014 17:47, Espen Johansen wrote:
Might be that serial redirection makes it show nothing.
Yes, the serial port was the problem - thank you!

The production physical box (which this XML was pulled from) *was* configured to use a serial port, but the boot loader hangs if it can't find one inside the VM.

Solution: go into VirtualBox VM settings > Ports
  Serial Ports > Port 1
  [X] Enable Serial Port
  Port Number: (leave at COM1)
  Port Mode: Disconnected

Alternatively, you can set
  Port Mode: Raw File
  Port File/Path: /tmp/serial-pfsense1
and then it writes both to the VGA console and the serial port file.

When you restore XML via the web interface, I now see some boot loader settings are tweaked. Comparing a machine restored via the web interface versus one where I just copied config.xml, I find that the one restored via web interface has:

* an extra file /boot.config containing "-D"
* extra settings in /boot/loader.conf

boot_multicons="YES"
boot_serial="YES"
comconsole_speed="115200"
console="comconsole,vidconsole"

Thanks again for pointing me in the right direction.

Regards,

Brian.

_______________________________________________
List mailing list
[email protected]
http://lists.pfsense.org/mailman/listinfo/list

Reply via email to