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

    Loader.conf.local deleted on restart

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 554 Views
    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.
    • E
      edooze
      last edited by edooze

      This is a double-up of https://forum.netgate.com/topic/130110/loader-conf-local-deleted-on-restart
      I have decided to start another thread instead of reincarnating an old one.

      I am trying to make the following additions to loader.conf:

      boot_multicons="YES"
      boot_serial="YES"
      console="comconsole,vidconsole"

      upon reboot, they're deleted. if I add them to loader.conf.local, the file is deleted.

      additionally, trying to change /etc/ttys to turn ttyu0 on (to allow virsh console access) is also reset on boot.

      I am running 2.4.3 - and have upgraded via terminal to 2.4.3_1 (which was the fix in the original post)

      What could be happening? I thought the .local files were never touched by an automated process?

      TIA

      1 Reply Last reply Reply Quote 0
      • E
        edooze
        last edited by edooze

        Just as a follow-up, I reinstalled from the ISO and updated before any other config changes were made (save for the setup wizard at the beginning) and I'm getting the same problem.

        How on earth do I get console output to virsh? I can get it on the first boot, but then the files are over-written. Regardless, once the menu loads pfsense doesn't seem to allow ttyu input anyway; it displays the menu and expects entry only on the local console.

        That being said, there's a cursory mention in this github article that pfsense console redirection to virsh (at least for the installer) is a known problem.

        Very frustrating. Any help appreciated.

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          Why are you manually making that change?

          The console is managed by pfSense, which is why it changes those lines to match the config. Go to System > Advanced on the Admin Access tab and scroll to the bottom. Check Serial Terminal, and set Primary Console to Serial. That will have the same net effect as the edits you listed.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • E
            edooze
            last edited by

            So, due to the peculiarities of my install I needed console access before an install was completed.

            As it happens, I was able to make a change and get the console output before pfSense loaded and over-wrote my configuration, which was just enough to get what I needed done.

            I will try other options to make this persistent as was mentioned in a previous post, but for a single-use I was able to make the change and use it the way I needed to.

            Hope this helps someone in future.

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