______ _____ _____ / __ |/ ___ |/ __ | | | | | |__/ | | | |___ ___ _ __ ___ ___ | | | | ___/| | | / __|/ _ \ '_ \/ __|/ _ \ | |__| | | | | | \__ \ __/ | | \__ \ __/ |_____/|_| |_| /__|___/\___|_| |_|___/\___| +=========================================+ @@@@@@@@@@@@@@@@@@@@@@@@@@@@ | | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | 1. Boot Multi User [Enter] | @@@@@ @@@@@ | 2. Boot [S]ingle User | @@@@@ @@@@@ | 3. [Esc]ape to loader prompt | @@@@@@@@@@@ @@@@@@@@@@@ | 4. Reboot | \\\\\ ///// | | )))))))))))) ((((((((((( | Options: | ///// \\\\\ | 5. [K]ernel: kernel (1 of 2) | @@@@@@@@@@@ @@@@@@@@@@@ | 6. Configure Boot [O]ptions... | @@@@@ @@@@@ | 7. Select Boot [E]nvironment... | @@@@@ @@@@@ | | @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | | @@@@@@@@@@@@@@@@@@@@@@@@@@@@ +=========================================+ 16.7 ``Dancing Dolphin'' /boot/kernel/kernel text=0x11ca488 data=0x7f3c28+0x23dd20 syms=[0x8+0x170580+0x8+0x188e92]/boot/kernel/zfs.ko size 0x2e9350 at 0x22f6000loading required module 'opensolaris'/boot/kernel/opensolaris.ko size 0x55b0 at 0x25e0000Booting...KDB: debugger backends: ddbKDB: current backend: ddbCopyright (c) 1992-2016 The FreeBSD Project.Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved.FreeBSD is a registered trademark of The FreeBSD Foundation.FreeBSD 10.3-RELEASE-p7 #0 a0a18f4(stable/16.7): Mon Aug 15 06:35:28 CEST 2016 root@sensey64:/usr/obj/usr/src/sys/SMP amd64FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512[HBSD ASLR] status: opt-out[HBSD ASLR] mmap: 30 bit[HBSD ASLR] exec base: 30 bit[HBSD ASLR] stack: 42 bit[HBSD ASLR] vdso: 28 bit[HBSD ASLR] map32bit: 18 bit[HBSD ASLR] disallow MAP_32BIT mode mmap: opt-in[HBSD ASLR (compat)] status: opt-out[HBSD ASLR (compat)] mmap: 14 bit[HBSD ASLR (compat)] exec base: 14 bit[HBSD ASLR (compat)] stack: 14 bit[HBSD ASLR (compat)] vdso: 8 bit[HBSD LOG] logging to system: enabled[HBSD LOG] logging to user: disabledCPU: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz (3007.15-MHz K8-class CPU) Origin="GenuineIntel" Id=0x6fb Family=0x6 Model=0xf Stepping=11 Features=0x783fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2> Features2=0x209<SSE3,MON,SSSE3> AMD Features=0x20100800<SYSCALL,NX,LM> AMD Features2=0x1<LAHF>real memory = 2097086464 (1999 MB)avail memory = 1988341760 (1896 MB)Event timer "LAPIC" quality 400ACPI APIC Table: <VBOX VBOXAPIC>random: <Software, Yarrow> initializedioapic0 <Version 1.1> irqs 0-23 on motherboardipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.module_register_init: MOD_LOAD (ipw_bss_fw, 0xffffffff805fd2a0, 0) error 1ipw_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.module_register_init: MOD_LOAD (ipw_ibss_fw, 0xffffffff805fd350, 0) error 1ipw_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/.ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf.module_register_init: MOD_LOAD (ipw_monitor_fw, 0xffffffff805fd400, 0) error 1wlan: mac acl policy registeredkbd1 at kbdmux0netmap: loaded modulecryptosoft0: <software crypto> on motherboardacpi0: <VBOX VBOXXSDT> on motherboardacpi0: Power Button (fixed)acpi0: Sleep Button (fixed)cpu0: <ACPI CPU> on acpi0attimer0: <AT timer> port 0x40-0x43,0x50-0x53 on acpi0Timecounter "i8254" frequency 1193182 Hz quality 0Event timer "i8254" frequency 1193182 Hz quality 100Timecounter "ACPI-fast" frequency 3579545 Hz quality 900acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0pci0: <ACPI PCI bus> on pcib0isab0: <PCI-ISA bridge> at device 1.0 on pci0isa0: <ISA bus> on isab0atapci0: <Intel PIIX4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd000-0xd00f at device 1.1 on pci0ata0: <ATA channel> at channel 0 on atapci0ata1: <ATA channel> at channel 1 on atapci0vgapci0: <VGA-compatible display> mem 0xe0000000-0xe0ffffff irq 18 at device 2.0 on pci0vgapci0: Boot video deviceem0: <Intel(R) PRO/1000 Legacy Network Connection 1.1.0> port 0xd010-0xd017 mem 0xf0000000-0xf001ffff irq 19 at device 3.0 on pci0em0: Ethernet address: 08:00:27:a4:59:deem0: netmap queues/slots: TX 1/256, RX 1/256pci0: <bridge> at device 7.0 (no driver attached)em1: <Intel(R) PRO/1000 Legacy Network Connection 1.1.0> port 0xd040-0xd047 mem 0xf0820000-0xf083ffff irq 16 at device 8.0 on pci0em1: Ethernet address: 08:00:27:14:45:26em1: netmap queues/slots: TX 1/256, RX 1/256ahci0: <Intel ICH8M AHCI SATA controller> port 0xd048-0xd04f,0xd058-0xd05f,0xd070-0xd07f mem 0xf0840000-0xf0841fff irq 21 at device 13.0 0ahci0: AHCI v1.10 with 3 3Gbps ports, Port Multiplier not supportedahcich0: <AHCI channel> at channel 0 on ahci0ahcich1: <AHCI channel> at channel 1 on ahci0ahcich2: <AHCI channel> at channel 2 on ahci0uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0uart0: console (9600,n,8,1)acpi_acad0: <AC Adapter> on acpi0atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0atkbd0: <AT Keyboard> irq 1 on atkbdc0kbd0 at atkbd0atkbd0: [GIANT-LOCKED]psm0: <PS/2 Mouse> irq 12 on atkbdc0psm0: [GIANT-LOCKED]psm0: model IntelliMouse Explorer, device ID 4orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0sc0: <System console> at flags 0x100 on isa0sc0: VGA <16 virtual consoles, flags=0x300>vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0atrtc0: <AT realtime clock> at port 0x70 irq 8 on isa0Event timer "RTC" frequency 32768 Hz quality 0ppc0: cannot reserve I/O port rangeZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present; to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.ZFS filesystem version: 5ZFS storage pool version: features support (5000)Timecounters tick every 1.000 msecIPsec: Initialized Security Association Processing.em1: link state changed to UPada0 at ahcich0 bus 0 scbus2 target 0 lun 0cd0 at ata0 bus 0 scbus0 target 0 lun 0cd0: <VBOX CD-ROM 1.0> Removable CD-ROM SCSI devicecd0: Serial Number VB0-01f003f6cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)cd0: Attempt to query device size failed: NOT READY, Medium not presentada0: <VBOX HARDDISK 1.0> ATA-6 SATA 2.x deviceada0: Serial Number VB794a53a7-50b7892eada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)ada0: Command Queueing enabledada0: 8192MB (16777216 512 byte sectors)ada0: Previously was known as ad4random: unblocking device.Timecounter "TSC-low" frequency 1503572867 Hz quality 800Trying to mount root from zfs:zroot/ROOT/default []...Mounting filesystems...mount: /: unknown special file or file systemfsck: cannot open `/dev/zroot/ROOT/default': No such file or directoryfsck: cannot open `/dev/zroot/ROOT/default': No such file or directorymkdir: /tmp/.cdrom: Read-only file systemmount_unionfs: /tmp/.cdrom: No such file or directorymkdir: /tmp/.cdrom: Read-only file systemmount_unionfs: /tmp/.cdrom: No such file or directorymkdir: /tmp/.cdrom: Read-only file systemmount_unionfs: /tmp/.cdrom: No such file or directorymkdir: /tmp/.cdrom: Read-only file systemmount_unionfs: /tmp/.cdrom: No such file or directorymkdir: /tmp/.cdrom: Read-only file systemmount_unionfs: /tmp/.cdrom: No such file or directorymkdir: /tmp/.cdrom: Read-only file systemmount_unionfs: /tmp/.cdrom: No such file or directoryPHP Warning: file_put_contents(/etc/group): failed to open stream: Read-only file system in /usr/local/etc/rc.recover on line 210PHP Warning: file_put_contents(/etc/master.passwd): failed to open stream: Read-only file system in /usr/local/etc/rc.recover on line 213PHP Warning: file_put_contents(/etc/shells): failed to open stream: Read-only file system in /usr/local/etc/rc.recover on line 216PHP Warning: file_put_contents(/etc/ttys): failed to open stream: Read-only file system in /usr/local/etc/rc.recover on line 219pwd_mkdb: /etc/pwd.db.tmp: Read-only file systempwd_mkdb: /etc/pwd.db.tmp: Read-only file systemUpdating motd: /etc/motd is not writable, update failed.Configuring syscons: blanktime.mkdir: /conf: Read-only file systemmkdir: /conf: Read-only file systemBootstrapping config.xml...cp: /conf/config.xml: No such file or directorydone.Bootstrapping openssl.cnf...cp: /usr/local/openssl/openssl.cnf: Read-only file systemdone.grep: /conf/config.xml: No such file or directorygrep: /conf/config.xml: No such file or directory[: -ne: unexpected operator[: -ne: unexpected operatormkdir: /var/etc: Read-only file systemrm: /var/run/nologin: Read-only file systemConfiguring crash dump device: /dev/ada0p2swapon: adding /dev/ada0p2 as swap devicerm: /var/run/dmesg.boot: Read-only file systemeval: cannot create /var/run/dmesg.boot: Read-only file systemchmod: /tmp: Read-only file system.ldconfig: mkstemp(/var/run/ld-elf.so.hints.6bZCj1): Read-only file systemELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/ipsec /usr/local/lib/perl5/5.20/mach/CORE32-bit compatibility ldconfig path: /usr/lib32done.PHP Warning: fopen(): Filename cannot be empty in /usr/local/etc/rc.recover on line 179PHP Warning: ftruncate() expects parameter 1 to be resource, boolean given in /usr/local/etc/rc.recover on line 189PHP Warning: rewind() expects parameter 1 to be resource, boolean given in /usr/local/etc/rc.recover on line 190PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /usr/local/etc/rc.recover on line 191^Ccap_mkdb: /etc/login.conf.db: Read-only file systemtouch: /usr/local/etc/php/extensions.ini: Read-only file systemusage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpsvx] source_file target_file cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpsvx] source_file ... target_directoryusage: chmod [-fhv] [-R [-H | -L | -P]] mode file ...rm: /usr/local/etc/php.ini: Read-only file systemrm: /usr/local/lib/php.ini: Read-only file system/usr/local/etc/rc.php_ini_setup: cannot create /usr/local/lib/php.ini: Read-only file systemsed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directorysed: -I or -i may not be used with stdin/usr/local/etc/rc.php_ini_setup: cannot create : No such file or directory/usr/local/etc/rc.php_ini_setup: cannot create /usr/local/lib/php.ini: Read-only file systemcp: /usr/local/etc/php.ini: Read-only file systemchmod: /usr/local/opnsense/service/configd.py: Read-only file system/usr/local/etc/rc.d/configd: WARNING: failed precmd routine for configdLaunching the init system...touch: /var/run/booting: Read-only file system done.Initializing...PHP Warning: copy(/conf/config.xml): failed to open stream: No such file or directory in /usr/local/opnsense/mvc/app/libr5Warning: copy(/conf/config.xml): failed to open stream: No such file or directory in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Co5PHP Fatal error: Uncaught exception 'OPNsense\Core\ConfigException' with message 'file not found' in /usr/local/opnsense/mvc/app/library2Stack trace:#0 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(486): OPNsense\Core\Config->load()#1 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(281): OPNsense\Core\Config->restoreBackup('/usr/local/etc/...')#2 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php(49): OPNsense\Core\Config->init()#3 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php(70): OPNsense\Core\Singleton->__construct()#4 /usr/local/etc/inc/config.lib.inc(82): OPNsense\Core\Singleton::getInstance()#5 /usr/local/etc/inc/config.inc(33): parse_config()#6 /usr/local/etc/rc.bootup(116): require_once('/usr/local/etc/...')#7 {main} thrown in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 302Fatal error: Uncaught exception 'OPNsense\Core\ConfigException' with message 'file not found' in /usr/local/opnsense/mvc/app/library/OPNs2Stack trace:#0 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(486): OPNsense\Core\Config->load()#1 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(281): OPNsense\Core\Config->restoreBackup('/usr/local/etc/...')#2 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php(49): OPNsense\Core\Config->init()#3 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php(70): OPNsense\Core\Singleton->__construct()#4 /usr/local/etc/inc/config.lib.inc(82): OPNsense\Core\Singleton::getInstance()#5 /usr/local/etc/inc/config.inc(33): parse_config()#6 /usr/local/etc/rc.bootup(116): require_once('/usr/local/etc/...')#7 {main} thrown in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 302rm: /var/run/booting: No such file or directoryStarting CRON... done.grep: /conf/config.xml: No such file or directory[: -gt: unexpected operatorWarning: copy(/conf/config.xml): failed to open stream: No such file or directory in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Co5Fatal error: Uncaught exception 'OPNsense\Core\ConfigException' with message 'file not found' in /usr/local/opnsense/mvc/app/library/OPNs2Stack trace:#0 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(486): OPNsense\Core\Config->load()#1 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php(281): OPNsense\Core\Config->restoreBackup('/usr/local/etc/...')#2 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php(49): OPNsense\Core\Config->init()#3 /usr/local/opnsense/mvc/app/library/OPNsense/Core/Singleton.php(70): OPNsense\Core\Singleton->__construct()#4 /usr/local/etc/inc/config.lib.inc(82): OPNsense\Core\Singleton::getInstance()#5 /usr/local/etc/inc/config.inc(33): parse_config()#6 /usr/local/etc/rc.initial.banner(31): require_once('/usr/local/etc/...')#7 {main} thrown in /usr/local/opnsense/mvc/app/library/OPNsense/Core/Config.php on line 302Aug 30 17:18:04 getty[1514]: open /dev/ttyu3: No such file or directoryAug 30 17:18:04 getty[1512]: open /dev/ttyu1: No such file or directoryAug 30 17:18:04 getty[1513]: open /dev/ttyu2: No such file or directoryFreeBSD/amd64 (Amnesiac) (ttyu0)login: Aug 30 17:18:04 getty[1516]: open /dev/ttyd0: No such file or directoryAug 30 17:18:04 getty[1515]: open /dev/dcons: No such file or directoryrootLast login: Tue Aug 30 20:54:31 on ttyu0FreeBSD ?.?.? (UNKNOWN)Welcome to FreeBSD!Release Notes, Errata: https://www.FreeBSD.org/releases/Security Advisories: https://www.FreeBSD.org/security/FreeBSD Handbook: https://www.FreeBSD.org/handbook/FreeBSD FAQ: https://www.FreeBSD.org/faq/Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/FreeBSD Forums: https://forums.FreeBSD.org/Documents installed with the system are in the /usr/local/share/doc/freebsd/directory, or can be installed later with: pkg install en-freebsd-docFor other languages, replace "en" with a language code like de or fr.Show the version of FreeBSD installed: freebsd-version ; uname -aPlease include that output and any error messages when posting questions.Introduction to manual pages: man manFreeBSD directory layout: man hierEdit /etc/motd to change this login announcement.root@:~ #
zpool import -f -o altroot=/mnt zroot
zpool import
sed -i -e "s:cdrom:pfSense:" /mnt/etc/platformmkdir -p /mnt/cf/confcp /mnt/conf.default/config.xml /mnt/cf/conf/config.xmlcd /mntrm -rf conf/ln -s cf/conf ./confmkdir /mnt/tmpchmod 1777 /mnt/tmp
/mnt/etc/platform
/mnt/conf.default/config.xml
/conf.default/config.xml
/usr/local/etc/config.xml
/etc/platform
/usr/local/etc/platform
sed -i -e "s:cdrom:OPNsense:" /mnt/usr/local/etc/platformmkdir -p /mnt/cf/confcp /mnt/usr/local/etc/config.xml /mnt/cf/conf/config.xmlcd /mntrm -rf conf/ln -s cf/conf ./confmkdir /mnt/tmpchmod 1777 /mnt/tmp