Netgate 4100: /etc/rc.initial not found
-
Earlier today, I tried upgrading my Netgate 4100 from the relatively old 23.09 to something newer. I was able to first upgrade to 23.09.1 which seemed to work fine. This made 24.11 available so I tried to upgrade to that next. Long story short, it didn't work, and now I'm left with this message repeating on the serial console:
FreeBSD/amd64 (Amnesiac) (ttyu0) -sh: /etc/rc.initial: not foundI don't have TAC, so I'm hoping I can get the help I need here.
I am able to stop the boot on the console if that helps, but I'm clueless about how to repair this. The closest I can find online is to create a TAC ticket and do a reinstall. Any help?
For reference, here's the beginning and end of the boot log:
| __ _ __ / _|___ ___ _ __ ___ ___ _ | '_ \| |_/ __|/ _ \ '_ \/ __|/ _ \ _| |_ | |_) | _\__ \ __/ | | \__ \ __/ |_ _| | .__/|_| |___/\___|_| |_|___/\___| |_| |_| /---- 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 | / |_| | | | /_________________________/ \-----------------------------------------/ | Loading kernel... /boot/kernel/kernel text=0x19c370 text=0xfe1240 text=0x17ddcc8 data=0x180 data+8 Loading configured modules... /boot/kernel/zfs.ko size 0x5d7790 at 0x35a0000 /boot/kernel/opensolaris.ko size 0x1e2b0 at 0x3b78000 /boot/entropy size=0x1000 /etc/hostid size=0x25 staging 0x6ac00000-0x6f07e000 (not copying) tramp 0x770bc000 PT4 0x7570e000 Start @ 0xffffffff8039d000 ... GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb ---<<BOOT>>--- 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 amd64 1400094 #1 plus-RELENG_23_09_1-n256200-3de1e293f3a: 3 root@freebsd:/var/jenkins/workspace/pfSense-Plus-snapshots-23_09_1-main/obj4 FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-) VT(vga): resolution 640x480 CPU: Intel(R) Atom(TM) CPU C3338R @ 1.80GHz (1800.17-MHz K8-class CPU) Origin="GenuineIntel" Id=0x506f1 Family=0x6 Model=0x5f Stepping=1 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,> Features2=0x4ff8ebbf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,SDBG,> AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM> AMD Features2=0x101<LAHF,Prefetch> Structured Extended Features=0x2294e283<FSGSBASE,TSCADJ,SMEP,ERMS,NFPUSG,MPX,> Structured Extended Features3=0xac000400<MD_CLEAR,IBPB,STIBP,ARCH_CAP,SSBD> XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> IA32_ARCH_CAPS=0xc69<RDCL_NO,SKIP_L1DFL_VME,MDS_NO> VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr TSC: P-state invariant, performance statistics real memory = 4294967296 (4096 MB) avail memory = 3976028160 (3791 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: <INSYDE H2O BIOS> WARNING: L1 data cache covers fewer APIC IDs than a core (0 < 1) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" random: unblocking device. ioapic0 <Version 2.0> irqs 0-119 Launching APs: 1 TCP_ratelimit: Is now initialized wlan: mac acl policy registered [snip] Creating and/or trimming log files. Clearing /tmp (X related). Updating motd:. Updating /var/run/os-release done. Starting syslogd. Mounting late filesystems:. /etc/rc: WARNING: $timed_enable is not set properly - see rc.conf(5). swapon: /dev/gptid/6c39477c-2590-11ed-b4bf-90ec773556f9: No such file or directy 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. Sun Nov FreeBSD/amd64 (Amnesiac) (ttyu0) -sh: /etc/rc.initial: not found -
I got it back up and running, at least for now. I switched to a backup boot environment from the bootloader menu (a snapshot that it made during one of the backup attempts). I at least have the GUI working, so I can try to do the upgrade again and keep a closer eye on it.
-
@ratcrow Vague guess, a common error is to let it finish. Ignore the 90->20 second timers.
Glad you recovered so far.
-
@ratcrow said in Netgate 4100: /etc/rc.initial not found:
Any help?
Guessing:
This could be an indication of SSD/eMMC problems. -
Maybe not related :
Updating /var/run/os-release done.That file doesn't exist my pfSense (25.07.1,)
Mounting late filesystems:.I've got many system / kernel starts, but not seen that message neither.
Do you have partitions listed in /etc/fstab ?You use pfSense with a Wifi NIC : disable (BIOS) it for now :
@ratcrow said in Netgate 4100: /etc/rc.initial not found:
ioapic0 <Version 2.0> irqs 0-119
Launching APs: 1
TCP_ratelimit: Is now initialized
wlan: mac acl policy registeredDo you use ZFS ?
A 'solution' that would remove all issues : get the installer, brun it to an USB drive (see pfSense doc) and install 'from scratch' as that will take care of 'everything' (but: again : this will hide the issue for good).
If the drive is bad then yeah .... that has to be solved. -
Seeing those messages is usually because it can't run the pfSense rc and runs the FreeBSD rc instead. Missing or damaged files in the filesystem.
-
Regarding TAC, every Netgate appliances comes with some basic support which would cover an upgrade issue like this.