Embedded installtion from LiveCd: is equivalent to nanoBsd image ?
-
I have installed pfSense 2.0b4 from LiceCd
After reboot I have typed the following commands:
echo "embedded" > /etc/platform
/etc/rc.conf_mount_ro
rebootNow I'm wondering if this installation is equivalent to nanoBsd image installation ?
Now are /tmp and /var directory mounted in Ram or not ?
Here some info on file system:
#mount
/dev/ad2s1a on / (ufs, local, read-only)
devfs on /dev (devfs, local, multilabel)
/dev/md0 on /tmp (ufs, local)
/dev/md1 on /var (ufs, local)
devfs on /var/dhcpd/dev (devfs, local, multilabel)#df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad2s1a 3799198 169390 3325874 5% /
devfs 1 1 0 100% /dev
/dev/md0 39406 66 36188 0% /tmp
/dev/md1 59246 6352 48156 12% /var
devfs 1 1 0 100% /var/dhcpd/devThank you in advance for any help
Borgo (from Italy)
-
There are many specific things for nanobsd that will not work in that kind of setup, most notably firmware updates.
The "embedded" platform would be the wrong choice also as that would disallow packages.
-
Jiimp, thank you for the reply
I think I could always revert the configuration to read-write :
echo "pfSense" > /etc/platform
/etc/rc.conf_mount_rwThen I could update the firmware and then set again the system to read-only:
echo "embedded" > /etc/platform
/etc/rc.conf_mount_roWhere I'm wrong ??? ?
-
Aside from needing to do the rw before the echo, you can do that, but it's somewhat hackish and would be easy to forget.
I'd still expect things to break in that scenario in unexpected ways.
-
You're right. But today that's the only way I found to install pfsense on Cf using a Jetway barebone, because nanobsd image written to Cf doesn't work fine for me: it doesn't complete the boot on that hardware or it doesn't configure right the serial port.
If in the future vga support will be included in the nanobsd image, I could get more info on the problem.
In addition I don't exclude It could also be a serial port configuration error I did.
Nanobsd's serial output only is a problem when thing doesn't work fine and debug informations are needed.Thank you again for your support Jimp
Greetings from Italy
Borgo