NG-1100 update issues
-
I have a bunch of NG-1100s and a NG-6100. I updated them before successfully. The latest update however has killed 2 NG-1100s: They do not boot anymore.
Other NG-1100s are on 23.09 but for now I have not tried to update them being somewhat afraid they die too.At least for one 1100 I registered the exact sequence (I was documenting it, the other 1100 was similar but I am unsure it was identical).:
- Login on the webinterface and perform a Diagnostics->Factory Defaults
- Wait for the reboot
- Login on the webinterface
- Initiate a update (system -> updates) 23.05.1 --> 23.09.1
- Wait for a long time until the update states 'success'
- Enable SSH
- Try to login using SSH (unix shell 'ssh admin@<192.168.1.1>') but no success
- Tried to fix by setting the correct time zone and updating the admin password: Login still failing
- I noticed that the status dashboard still claimed the version to be 23.05.1. Yet system -> update showed 23.09.1. Was there a partial update?
- Login fails immediately. Status -> System Logs -> Authentication showed the reason (I did not write it down the exact text) but it showed the reason for the failing login: /etc/rc.initial does not exist
- Power off - Power on
- The NG-1100 no longer boots
- The console shows the same error:
-sh: /etc/rc.initial: not found
Please find below a full copy of the boot captured at the console port:
Can someone help? Is there maybe something wrong with 23.09.1?
=================
Full boot sequence captured on console:TIM-1.0 WTMI-devel-18.12.1-1a13f2f WTMI: system early-init SVC REV: 5, CPU VDD voltage: 1.248V NOTICE: Booting Trusted Firmware NOTICE: BL1: v1.5(release):1f8ca7e-dirty (Marvell-devel-18.12.2) NOTICE: BL1: Built : 10:16:46, Oct 13 2021 NOTICE: BL1: Booting BL2 NOTICE: BL2: v1.5(release):1f8ca7e-dirty (Marvell-devel-18.12.2) NOTICE: BL2: Built : 10:16:50, Oct 13 2021 NOTICE: BL1: Booting BL31 NOTICE: BL31: v1.5(release):1f8ca7e-dirty (Marvell-devel-18.12.2) NOTICE: BL31: Built : 10 U-Boot 2018.03-devel-18.12.3-gc9aa92c-dirty (Oct 13 2021 - 10:14:54 -0300) Model: Netgate 1100 CPU 1200 [MHz] L2 800 [MHz] TClock 200 [MHz] DDR 750 [MHz] DRAM: 1 GiB Comphy chip #0: Comphy-0: USB3 5 Gbps Comphy-1: PEX0 2.5 Gbps Comphy-2: SATA0 6 Gbps SATA link 0 timeout. AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl SATA mode flags: ncq led only pmp fbss pio slum part sxs PCIE-0: Link down console comconsole failed to initialize Consoles: EFI console serial port . SF: Detected mx25u3235f with page size 256 Reading loader env vars from /efi/freebsd/loader.env Setting currdev to disk0p2: FreeBSD/arm64 EFI loader, Revision 1.1 \Wed Dec 6 20:57:46 UTC 2023 root@freebsd) Hit any key to stop autoboot: 0 Command line arguments: loader.efit! Image base: 0x7000000netgate-1100.dtb EFI version: 2.70720-sg1100.dtb EFI Firmware: Das U-Boot (rev 0.00)tb Console: efi,comconsole (0).dtb Load Path: /\armada-3720-sg1100.dtb Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/eMMC(1)/eMMC(0)/HD( 2,0x01,0,0x82001,0x20000) Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/eMMC(1)/eMMC(0)/HD(2,0x 01,0,0x82001,0x20000) ms (1.9 MiB/s) Setting currdev to disk0p2: at 07000000 ... Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/eMMC(1)/eMMC(0)/HD(1,0x01,0 ,0x1,0x82000) sdhci@d0000.blk... Setting currdev to disk0p1:ady Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/eMMC(1)/eMMC(0)/HD(3,0x01,0 ,0xa2001,0xdeee7f) Loading /boot/defaults/loader.confT/default: Loading /boot/defaults/loader.conf Loading /boot/device.hints Loading /boot/loader.conf Loading /boot/loader.conf.local / _ __ / _|___ ___ _ __ ___ ___ _ | '_ \| |_/ __|/ _ \ '_ \/ __|/ _ \ _| |_ | |_) | _\__ \ __/ | | \__ \ __/ |_ _| | .__/|_| |___/\___|_| |_|___/\___| |_| |_| +---- Welcome to Netgate pfSense Plus ----+ __________________________ | | / ___\ | 1. Boot Multi user [Enter] | | /` | 2. Boot Single user | | / :-| | 3. Escape to loader prompt | | _________ ___/ /_ | | 4. Reboot | | /` ____ / /__ ___/ | | 5. Cons: Serial | | / / / / / / | | | | / /___/ / / / | | Options: | | / ______/ / / _ | | 6. Kernel: default/kernel (1 of 2) | |/ / / / _| |_ | | 7. Boot Options | / /___/ |_ _| | | 8. Boot Environments | / |_| | | | /_________________________/ +-----------------------------------------+ | Autoboot in 0 seconds. [Space] to pause Loading kernel... /boot/kernel/kernel text=0x2a8 text=0xc22ff0 text=0x145777c data=0x171e58 data=0 x0+0x2d2000 0x8+0x18c4c8+0x8+0x1a06b0 Loading configured modules... /boot/entropy size=0x1000 /boot/kernel/zfs.ko text=0xaf0b0 text=0x211d80 data=0x2c8f0+0xaabdc 0x8+0x34c80+ 0x8+0x2e07c /boot/kernel/opensolaris.ko text=0x18d3 text=0x9fc data=0x4a0+0x1a030 0x8+0xfc0+ 0x8+0x88b /etc/hostid size=0x25 Using DTB provided by EFI at 0x8000000. GDB: current port: uart KDB: debugger backends: ddb gdb KDB: current backend: ddb Copyright (c) 1992-2023 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 14.0-CURRENT aarch64 1400094 #1 plus-RELENG_23_09_1-n256200-3de1e293f3a: Wed Dec 6 20:59:18 UTC 2023 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-23_09_1-main/obj/ aarch64/8ra4gn87/var/jenkins/workspace/pfSense-Plus-snapshots-23_09_1-main/sourc es/FreeBSD-src-plus-RELENG_23_09_1/arm64.aarch64/sys/pfSense arm64 FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-1 6.0.6-0-g7cbf1a259152) VT: init without driver. module scmi already present! real memory = 1073680384 (1023 MB) avail memory = 977895424 (932 MB) Starting CPU 1 (1) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs random: unblocking device. random: entropy device external interface ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LIC ENSE. ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /bo ot/loader.conf. module_register_init: MOD_LOAD (ipw_bss_fw, 0xffff000000251810, 0) error 1 ipw_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw.LI CENSE. ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /b oot/loader.conf. module_register_init: MOD_LOAD (ipw_ibss_fw, 0xffff0000002518bc, 0) error 1 ipw_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw .LICENSE. 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, 0xffff000000251968, 0) error 1 iwi_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LIC ENSE. iwi_bss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /bo ot/loader.conf. module_register_init: MOD_LOAD (iwi_bss_fw, 0xffff000000251a14, 0) error 1 iwi_ibss: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi.LI CENSE. iwi_ibss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /b oot/loader.conf. module_register_init: MOD_LOAD (iwi_ibss_fw, 0xffff000000251ac0, 0) error 1 wlan: mac acl policy registered iwi_monitor: You need to read the LICENSE file in /usr/share/doc/legal/intel_iwi .LICENSE. iwi_monitor: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf. module_register_init: MOD_LOAD (iwi_monitor_fw, 0xffff000000251b6c, 0) error 1 kbd0 at kbdmux0 ofwbus0: <Open Firmware Device Tree> simplebus0: <Flattened device tree simple bus> on ofwbus0 simplebus1: <Flattened device tree simple bus> on simplebus0 ofw_firmware0: <OFW Firmware Group> on ofwbus0 simple_mfd0: <Simple MFD (Multi-Functions Device)> mem 0x13800-0x138ff,0x13c00-0 x13c1f on simplebus1 simple_mfd1: <Simple MFD (Multi-Functions Device)> mem 0x18800-0x188ff,0x18c00-0 x18c1f on simplebus1 psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0 netgate0: <Netgate 1100> gic0: <ARM Generic Interrupt Controller v3.0> mem 0x1d00000-0x1d0ffff,0x1d40000- 0x1d7ffff,0x1d80000-0x1d81fff,0x1d90000-0x1d91fff,0x1da0000-0x1dbffff irq 28 on simplebus1 gpio0: <Armada 37x0 North Bridge GPIO Controller> mem 0x13800-0x138ff,0x13c00-0x 13c1f irq 29,30,31,32,33,34,35,36,37,38,39,40 on simple_mfd0 gpiobus0: <OFW GPIO bus> on gpio0 gpio1: <Armada 37x0 South Bridge GPIO Controller> mem 0x18800-0x188ff,0x18c00-0x 18c1f irq 41,42,43,44,45 on simple_mfd1 gpiobus1: <OFW GPIO bus> on gpio1 gpioregulator0: <GPIO controlled regulator> on ofwbus0 a37x0-xtal0: <Marvell Armada 3700 Oscillator> mem 0x13800-0x138ff,0x13c00-0x13c1 f on simple_mfd0 generic_timer0: <ARMv8 Generic Timer> irq 0,1,2,3 on ofwbus0 Timecounter "ARM MPCore Timecounter" frequency 12500000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 12500000 Hz quality 1000 a37x0_tbg0: <Marvell Armada 3700 time base generators> mem 0x13200-0x132ff on si mplebus1 a37x0_nb_periph_driver0: <marvell,armada-3700-nb-periph-clock> mem 0x13000-0x130 ff on simplebus1 a37x0_sb_periph_driver0: <marvell,armada-3700-sb-periph-clock> mem 0x18000-0x180 ff on simplebus1 cpulist0: <Open Firmware CPU Group> on ofwbus0 cpu0: <Open Firmware CPU> on cpulist0 pmu0: <Performance Monitoring Unit> irq 4 on ofwbus0 spi0: <Armada 37x0 SPI controller> mem 0x10600-0x10fff irq 6 on simplebus1 iichb0: <Marvell Armada 37x0 IIC controller> mem 0x11000-0x11023 irq 7 on simple bus1 iicbus0: <OFW I2C bus> on iichb0 iic0: <I2C generic I/O> on iicbus0 uart0: <Marvell Armada 3700 UART> mem 0x12000-0x12017 irq 9,10,11 on simplebus1 uart0: console (115200,n,8,1) gpioc0: <GPIO controller> on gpio0 gpioc1: <GPIO controller> on gpio1 mvneta0: <NETA controller> mem 0x30000-0x33fff irq 14 on simplebus1 mvneta0: version is 10 mdio0: <MDIO> on mvneta0 mdioproxy0: <MII/MDIO proxy, MDIO side> on mdio0 e6000sw0: <Marvell 88E6341> on mdio0 e6000sw0: multi-chip addressing mode (0x1) e6000sw0: CPU port at 0 e6000sw0: fixed port at 0 e6000sw0: PHY at port 1 miibus0: <MII bus> on e6000sw0 e1000phy0: <Marvell 88E1000 Gigabit PHY> PHY 17 on miibus0 e1000phy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 100 0baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto e6000sw0: PHY at port 2 miibus1: <MII bus> on e6000sw0 e1000phy1: <Marvell 88E1000 Gigabit PHY> PHY 18 on miibus1 e1000phy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 100 0baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto e6000sw0: PHY at port 3 miibus2: <MII bus> on e6000sw0 e1000phy2: <Marvell 88E1000 Gigabit PHY> PHY 19 on miibus2 e1000phy2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 100 0baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto e6000sw0: switch is ready. etherswitch0: <Switch controller> on e6000sw0 mvneta0: Ethernet address: f0:ad:4e:2d:4b:fd xhci0: <Generic USB 3.0 controller> mem 0x58000-0x5bfff irq 16 on simplebus1 xhci0: 32 bytes context size, 32-bit DMA usbus0 on xhci0 ehci0: <Marvell Integrated USB 2.0 controller> mem 0x5e000-0x5efff irq 17 on sim plebus1 usbus1: EHCI version 1.0 usbus1 on ehci0 sdhci_xenon0: <Armada Xenon SDHCI controller> mem 0xd0000-0xd02ff,0x1e808-0x1e80 b irq 25 on simplebus1 sdhci_xenon1: <Armada Xenon SDHCI controller> mem 0xd8000-0xd82ff,0x17808-0x1780 b irq 26 on simplebus1 mmc0: <MMC/SD bus> on sdhci_xenon1 ahci0: <AHCI SATA controller> mem 0xe0000-0xe0177 irq 27 on simplebus1 ahci0: AHCI v1.30 with 1 6Gbps ports, Port Multiplier supported with FBS ahcich0: <AHCI channel> at channel 0 on ahci0 device_attach: ahcich0 attach returned 6 pcib0: <Marvell Armada 3700 PCIe Bus Controller> mem 0xd0070000-0xd008ffff irq 5 on simplebus0 pcib0: link never came up pci0: <OFW PCI bus> on pcib0 gpioled0: <GPIO LEDs> on ofwbus0 armv8crypto0: <AES-CBC,AES-XTS,AES-GCM> Timecounters tick every 1.000 msec mvneta0: link state changed to UP ZFS filesystem version: 5 ZFS storage pool version: features support (5000) usbus0: 5.0Gbps Super Speed USB v3.0 usbus1: 480Mbps High Speed USB v2.0 ugen1.1: <Marvell EHCI root HUB> at usbus1 uhub0 on usbus1 uhub0: <Marvell EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1 ugen0.1: <Generic XHCI root HUB> at usbus0 uhub1 on usbus0 uhub1: <Generic XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 spibus0: <OFW SPI bus> on spi0 mx25l0: <M25Pxx Flash Family> at cs 0 mode 0 on spibus0 mx25l0: device type mx25u3235f, size 4096K in 64 sectors of 64K, erase size 4K mmc0: Failed to set VCCQ for card at relative address 2 mmcsd0: 8GB <MMCHC DG4008 0.1 SN 6CD01604 MFG 03/2018 by 69 0x0000> at mmc0 50.0 MHz/8bit/65535-block mmcsd0boot0: 4MB partition 1 at mmcsd0 mmcsd0boot1: 4MB partition 2 at mmcsd0 mmcsd0rpmb: 4MB partition 3 at mmcsd0 CPU 0: ARM Cortex-A53 r0p4 affinity: 0 Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT IC ache,64 byte ERG,64 byte CWG> Instruction Set Attributes 0 = <CRC32,SHA2,SHA1,AES+PMULL> Instruction Set Attributes 1 = <> Instruction Set Attributes 2 = <> Processor Features 0 = <GIC,AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32> Processor Features 1 = <> Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,1TB PA> Memory Model Features 1 = <8bit VMID> Memory Model Features 2 = <32bit CCIDX,48bit VA> Debug Features 0 = <DoubleLock,2 CTX BKPTs,4 Watchpoints,6 Breakpoi nts,PMUv3,Debugv8> Debug Features 1 = <> Auxiliary Features 0 = <> Auxiliary Features 1 = <> AArch32 Instruction Set Attributes 5 = <CRC32,SHA2,SHA1,AES+VMULL,SEVL> AArch32 Media and VFP Features 0 = <FPRound,FPSqrt,FPDivide,DP VFPv3+v4,SP VFPv3 +v4,AdvSIMD> AArch32 Media and VFP Features 1 = <SIMDFMAC,FPHP DP Conv,SIMDHP SP Conv,SIMDSP, SIMDInt,SIMDLS,FPDNaN,FPFtZ> CPU 1: ARM Cortex-A53 r0p4 affinity: 1 Release APs...Trying to mount root from zfs:pfSense/ROOT/default []... done TCP_ratelimit: Is now initialized e6000sw0port1: link state changed to DOWN e6000sw0port2: link state changed to DOWN e6000sw0port3: link state changed to DOWN uhub1: 2 ports with 2 removable, self powered uhub0: 1 port with 1 removable, self powered Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Root mount waiting for: CAM Warning: no time-of-day clock registered, system time will not be set accurately No suitable dump device was found. Setting hostuuid: e905de0d-1970-45ea-9361-2ac7e29f13c8. Setting hostid: 0xe5894fef. Starting file system checks: Mounting local filesystems:. Generating MFS /etc partition /etc/rc.d/etcmfs: bsdlabel: not found Generating MFS /var partition /etc/rc.d/varmfs: bsdlabel: not found /etc/rc: WARNING: $hostname is not set -- see rc.conf(5). ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/c ompat/pkg /usr/lib/engines /usr/local/lib/compat/pkg /usr/local/lib/ipsec /usr/l ocal/lib/perl5/5.32/mach/CORE 32-bit compatibility ldconfig path: Setting up harvesting: [CALLOUT],[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHE R],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED Feeding entropy: . lo0: link state changed to UP Starting Network: lo0 mvneta0 enc0. lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384 options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x7 groups: lo nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> mvneta0: flags=1008a02<BROADCAST,ALLMULTI,SIMPLEX,MULTICAST,LOWER_UP> metric 0 m tu 1500 options=bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM> ether f0:ad:4e:2d:4b:fd media: Ethernet 1000baseT <full-duplex> status: active nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> enc0: flags=0 metric 0 mtu 1536 options=0 groups: enc nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> Starting devd. Starting Network: mvneta0. mvneta0: flags=1008a02<BROADCAST,ALLMULTI,SIMPLEX,MULTICAST,LOWER_UP> metric 0 m tu 1500 options=bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM> ether f0:ad:4e:2d:4b:fd media: Ethernet 1000baseT <full-duplex> status: active nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> Starting Network: enc0. enc0: flags=0 metric 0 mtu 1536 options=0 groups: enc nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> add host 127.0.0.1: gateway lo0 fib 0: route already in table add host ::1: gateway lo0 fib 0: route already in table add net fe80::: gateway ::1 add net ff02::: gateway ::1 add net ::ffff:0.0.0.0: gateway ::1 add net ::0.0.0.0: gateway ::1 Updating motd:. Updating /var/run/os-release done. Clearing /tmp (X related). Creating and/or trimming log files. Starting syslogd. Mounting late filesystems:. Starting cron. /etc/rc: WARNING: $scponlyc_enable is not set properly - see rc.conf(5). /etc/rc: WARNING: $sshguard_enable is not set properly - see rc.conf(5). Starting background file system checks in 60 seconds. Thu Jan 1 01:00:24 CET 1970 FreeBSD/arm64 (Amnesiac) (ttyu0) -sh: /etc/rc.initial: not found
FreeBSD/arm64 (Amnesiac) (ttyu0)
<the above two lines keep repeating>
-sh: /etc/rc.initial: not found -
@pvswie 1970 is interesting.
All I can say is there have been several posts with similar upgrade issues. Did you have any packages installed and did you uninstall them first? Thinking about the 1GB RAM…
It’s a free ticket to get the installer: https://docs.netgate.com/pfsense/en/latest/solutions/sg-1100/reinstall-pfsense.html
-
@SteveITS
Thanks for the reply. Yes I have an additional package installed and no, I did not uninstall it before the update. I never did. Is that your recommendation or is it a strict requirement.Anyway: I followed your link but get into an endless loop of pages. Either the website is broken or such a request is no longer an option. Netgate changed their support some time ago and I have no clue of whether it impacts this.
Is there any other way to get a install image for a NG-1100. Maybe another user that has a copy?
Kind regards,
Peter -
@pvswie the link near the top of that page goes to the form at https://www.netgate.com/tac-support-request for me…? Try go.netgate.com. That’s the only place to get firmware.
Per the upgrade guide https://docs.netgate.com/pfsense/en/latest/install/upgrade-guide-prepare.html#packages
“The safest practice is to remove all packages before upgrading to a new release. The upgrade process will handle packages automatically, but packages are frequently a source of problems. To ensure a smooth upgrade, note the installed packages, remove them, perform the upgrade, and then reinstall when the upgrade is complete.”In short it’s supposed to uninstall/reinstall for you but can get wonky if upgrading both the OS and PHP for example. We uninstall “big” packages like pfBlocker and Suricata but leave smaller ones like Apcupsd. Again I’m just brainstorming for you as there seems to be something that triggers on some 1100s but obviously not all of them.
-
@SteveITS Thanks for the reply.
I used a different browser and PC and managed to issue a request.
I entered the S/N and NDI of both failing devices. Lets wait to see whether that worksKind regards
Peter -
Mmm, it looks like you defaulted the config before the upgrade which would have uninstalled any packages.
It also does look like it failed to upgrade completely. The upgrade log from /conf might show more.
-
@stephenw10
I will start by trying to recover one NG-1100 only, the first one where I am not 100% sure how I got the NG-1100 into this error.If you tell me how to get access to this upgrade log in /conf I can try to get a copy and submit it to you.
In case you are interested: please be aware the micro-usb console also fails to login due to the missing /etc/rc.initialMaybe I can boot from a USB disk and access the internal flash disk like that. If so you have to direct me to the image to load on the USB and boot the 1100
Kind regards
Peter -
It depends how far it's booting. If you can reach a prompt you can just check it from the command line.
If you just need to recover it though you can just use the recovery image to reflash it. Open a ticket with us to request the image:
https://www.netgate.com/tac-support-request -
@stephenw10
No, neither ssh nor the USB/serial console works so no chance using that.Are there any options to get access to the file system through the boot menu or maybe during the steps as described in https://docs.netgate.com/pfsense/en/latest/solutions/sg-1100/reinstall-pfsense.html. A simple indication of where to start is sufficient for me, I am a BSD/linux command line user.
-
It looks like you can see the loader menu at the console though?
You may be able to select single user mode there and recover the config file from there.
-
@stephenw10
Hi,I finally got into trying to extract files/folders from a malfunctioning 1100.
Yes, I manage to get into single user mode. and am able to start /bin/sh
A few messages up you mentioned 'The upgrade log from /conf'. In single user mode:- I do find /conf, its a symbolic link to /cf/conf which does not exist
- Logging in on a 23.09 operational device I found I need to do mount -t zfs pfSense/ROOT/default/cf /cf. This gives me a /cf/conf folder.
- There indeed is a upgrade_log.txt file in this folder but its contents are not very useful: 84 bytes consisting of 2 lines stating the repository is updating and that 23.09 is available
I can basically provide you any file(s) but you need to tell me which.
Kind Regards,
Peter -
You should see upgrade_log.latest.txt after an upgrade has run.
Can you mount the cf dataset manually as shown here?:
https://docs.netgate.com/pfsense/en/latest/troubleshooting/single-user-mode.html#re-mount-zfs-volumes-as-read-write