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

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

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    3 Posts 2 Posters 2.2k 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.
    • P
      pdonner
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • P
          pdonner
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.