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

    /usr/ is empty in pfSense 2.1 ISO

    Scheduled Pinned Locked Moved 2.1 Snapshot Feedback and Problems - RETIRED
    8 Posts 2 Posters 2.7k 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.
    • A
      ASGH
      last edited by

      I am planning to edit PfSense GUI 2.1, my question how can I reach intended files and then save my changes?
      What I need is to end up with an ISO file of pfSense 2.1 with my changes, so I used software like PowerISO to edit directly pfSense-LiveCD-2.1-RC0-i386-20130611-0604.iso? and then try to reach all the below intended files:

      /etc/inc/globals.inc
      /usr/local/www/javascript/sajax.js
      /usr/local/www/wizards/*
      /etc/motd
      /etc/rc (ascii art: you may wish to add your own ascii art file to /etc/ascii-art/your-file.txt)
      /tools/installer/conf/pfSense.lua (if you want the installer to display your product name)
          i386 boot files (boot loader, etc)

      I have read this from:
      http://devwiki.pfsense.org/ReBrandingSupport

      Now, I only can reach  /etc/inc/globals.inc ,where as I can see that /usr/ is empty as it appears in the attached image.

      Your help would highly be appreciated.

      Capture.JPG
      Capture.JPG_thumb

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

        You can't edit the ISO directly and end up with what you expect.

        If you need to edit the files on bootable media, the memstick installer would be better, though you'd have to mount/edit via FreeBSD since it is UFS. For example, put a memstick installer into a running pfsense box, and then mount it, and access the files over SCP.

        Of course the best method is to use the rebranding infrastructure and do a custom build, which our commercial support can assist with (see the link in my sig) for reseller subscribers.

        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
        • A
          ASGH
          last edited by

          Thanks jimp for your reply.
          But I have a question, let us assume that I mounted memstick version and made my changes, then if I install pfSense from this memstick on a machine, would the installed system be having my changes?

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

            Now that I think about it, it would have the same layout as the ISO, so you'd end up in the same situation.

            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
            • A
              ASGH
              last edited by

              I appreciate your response.

              What about the Nano version for embedded sys? Can I also mount it as UFS and change what I need directly?

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

                Yes, you can, just make sure to edit both OS partition/slices.

                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
                • A
                  ASGH
                  last edited by

                  I have tried to mount memstick pfSense 2.1 from a USB stick, these are my steps:

                  1-I wrote pfSense in a generic USB stick
                  2-I used FreeBSD 9.1, where first I showed the partitions and slices on that USB using:

                  #ls /dev/da0*
                  

                  The output was:

                  /dev/da0        /dev/da0a
                  

                  3-Then I mounted /dev/da0a via:

                  # mount -t ufs /dev/da0a /mnt
                  

                  4-Still I can’t see any files exists in /usr, here are the commands:

                  # mount -t ufs /dev/da0a /mnt
                  # cd /mnt/usr
                  # ls -l
                  total 0
                  
                  

                  Any advice?

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

                    That's still a memstick, you'd need NanoBSD to do that.

                    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
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.