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

Upgrade to 2.5 issue "init: can't exec /bin/sh for etc/rc: No such file or directory"

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
6 Posts 2 Posters 1.5k Views 2 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.
  • S Offline
    SScan
    last edited by Mar 2, 2021, 12:53 AM

    I have minimal experience with the cli.
    Machine is a HP GT7720 thin client
    AMD Turon x2 2300
    8gb ram
    32gb DOM (HDD)

    2.5Upgrade.jpg

    Any Ideas?

    V 1 Reply Last reply Mar 2, 2021, 1:19 AM Reply Quote 0
    • V Offline
      vmb @SScan
      last edited by vmb Mar 2, 2021, 1:21 AM Mar 2, 2021, 1:19 AM

      @sscan
      Looks like UFS file system corruption possibly due to reboot or poweroff without a proper shutdown.

      A reinstall of pfSense from scratch will usually fix it unless the drive itself has a fault.

      It is sometimes possible to do a recovery, but for pfSense which is more of an appliance than a server with valuable data. It is simpler to just reinstall.

      S 1 Reply Last reply Mar 2, 2021, 1:24 AM Reply Quote 0
      • S Offline
        SScan @vmb
        last edited by Mar 2, 2021, 1:24 AM

        Is there an easy way to "extract" the current config before the re-install?

        V 1 Reply Last reply Mar 2, 2021, 1:27 AM Reply Quote 0
        • V Offline
          vmb @SScan
          last edited by Mar 2, 2021, 1:27 AM

          @sscan
          If you don't have a backup of config.xml then you will probably need to try a recovery in order to get it.

          Read these Recovery Instructions for FreeBSD

          V 1 Reply Last reply Mar 2, 2021, 1:42 AM Reply Quote 0
          • V Offline
            vmb @vmb
            last edited by Mar 2, 2021, 1:42 AM

            @vmb
            On my pfSense the path to config.xml is

            /cf/conf/config.xml
            

            If you can boot up a FreeBSD LiveCD/USB that can mount your original root filesystem on your pfSense hard drive your aim is to copy your config.xml to somewhere else where you can easily retrieve it, This could be a flash drive, SCP to another host, FTP whatever.

            S 1 Reply Last reply Mar 2, 2021, 2:22 AM Reply Quote 1
            • S Offline
              SScan @vmb
              last edited by Mar 2, 2021, 2:22 AM

              @vmb Looks like they already thought of that with the installer.
              It has the option to recover the config.xml file.
              Recovered the file then just reinstalled.
              All working (mostly).

              Thanks.

              1 Reply Last reply Reply Quote 0
              6 out of 6
              • First post
                6/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received