Hi,
I wanted to use pfSense as a m0n0wall replacement in a virtual machine
setup (VMware Server 2.0.2 Linux host).
With m0n0wall, I had a virtual floppy disk so that m0n0wall thought it
was saving its configuration data to a floppy.
After powering off the VM, I could loop-mount the floppy image from the
host and save the config file somewhere else for backup purposes.
The idea behind that was that I don't have to back up the entire VM
image when the config changes.
Trying to do this with pfSense 1.2.3 or a recent 2.0 Beta fails, as it
doesn't recognize the floppy:
On boot, it displays:
-------------------------
Looking for config.xml on fd0 g_vfs_done():fd0[READ(offset=0,
length=8192)]error = 6
-------------------------
Logging into the shell and trying the following commands also results in
errors:
-------------------------
# mount /dev/fd0 /mnt
g_vfs_done():fd0[READ(offset=65536, length=8192)]error = 6
mount: /dev/fd0 : Device not configured
-------------------------
-------------------------
# mount -t msdosfs /dev/fd0 /mnt
g_vfs_done():fd0[READ(offset=0, length=8192)]error = 6
mount_msdosfs: /dev/fd0 : Device not configured
-------------------------
Is there a way to fix this?
Also, I'm having another floppy-related issue, though I am not sure if
that issue is also caused by the issue mentioned above:
When using the VMware image, it seems impossible to save the config to
an external medium (floppy, USB stick, second hard drive, etc.) with the
options provided by the menu. I ended up adding a line to /etc/fstab
telling the system where to mount the second hard disk where I wanted to
save my configuration, and two earlyshellcmds to check for this line and
re-add it if necessary, and to perform the mount if it's not already
mounted.
I consider that a nasty hack though, and would prefer to avoid it.
Kind regards,
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
Commercial support available - https://portal.pfsense.org