Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Netgate 4100: /etc/rc.initial not found

    Scheduled Pinned Locked Moved Official Netgate® Hardware
    7 Posts 6 Posters 117 Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      ratcrow
      last edited by

      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 found
      

      I 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  
      
      fireodoF GertjanG 2 Replies Last reply Reply Quote 0
      • R Offline
        ratcrow
        last edited by

        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.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          SteveITS Galactic Empire @ratcrow
          last edited by

          @ratcrow Vague guess, a common error is to let it finish. Ignore the 90->20 second timers.

          Glad you recovered so far.

          Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
          Upvote 👍 helpful posts!

          1 Reply Last reply Reply Quote 0
          • fireodoF Offline
            fireodo @ratcrow
            last edited by

            @ratcrow said in Netgate 4100: /etc/rc.initial not found:

            Any help?

            Guessing:
            This could be an indication of SSD/eMMC problems.

            Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
            SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
            pfsense 2.8.1 CE
            Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

            1 Reply Last reply Reply Quote 0
            • GertjanG Offline
              Gertjan @ratcrow
              last edited by

              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 registered

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

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              1 Reply Last reply Reply Quote 0
              • stephenw10S Online
                stephenw10 Netgate Administrator
                last edited by

                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.

                1 Reply Last reply Reply Quote 0
                • M Offline
                  marcosm Netgate
                  last edited by

                  Regarding TAC, every Netgate appliances comes with some basic support which would cover an upgrade issue like this.

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.