2D13 Cannot get pfsense embedded to load properly off CF and cannot edit fstab



  • Trying to install on Alix 2D13… Have Tinybios 99h installed.
    I installed embedded pfsense 2.0 onto my 4g CF using the live disk install function.  Was not having a lot of luck trying to write the 4g embedded image directly to the CF.  The 2D13 bootloader boots and recognizes the CF but I believe I have the wrong device specified in the fstab so pfsense cannot startup.  Being embedded, the system is ro.  Further, I cannot select option 7 from the boot menu to go to the loader prompt to reset the system to rw to be able to edit the fstab.

    Questions:
    1. What is the correct device expected by pfsense in the Alix 2D13?  da0?
    2. How can I get to the loader prompt to change the system to rw?

    Here's a sample of what I see on boot:

    ad0s1 geometry does not match label (255h,63s != 16h,63s)
    trying to mount root from ufs:/dev/da1s1a
    ROOT MOUNT ERROR:
    If you have invalid mount options, reboot, and first try the following from the loader prompt:
    set vfs.root.mountfrom.options=rw
    and then remove invalid options from /etc/fstab
    Loader variables:
    vfs.root.mountfrom=ufs:/dev/da1s1a
    vfs.root.mountfrom.options=rw


  • Netgate Administrator

    Try using the 2g image on your 4g card.
    It is well known that some cards are not as large as they claim to be.

    Steve



  • Problem resolved.  From my notes:

    To edit fstab on embedded flash:
    On separate machine, Boot into pfSense from the Live CD
    Do not select Recovery or Installation options, let the system boot until the menu appears
    Pick option 8 to drop into a pfsense shell prompt
    From the shell mount the CF which is likely /dev/da1s1a to /mnt
    Proceed to edit the /etc/fstab file to reflect the correct device ad0s1a
    NOTE: The fstab file indicates that the drive is to be mounted rw.  Is this correct?  Also, I think I killed the swap install onto the flash card by specifying 0 bytes for swap space size.
    SUCCESS!!  This process seems to have worked.  fsSense booted up fine.


Log in to reply