/usr/ is empty in pfSense 2.1 ISO
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/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:
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.
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.
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?
Now that I think about it, it would have the same layout as the ISO, so you'd end up in the same situation.
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?
Yes, you can, just make sure to edit both OS partition/slices.
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:
The output was:
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
That's still a memstick, you'd need NanoBSD to do that.