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

    Messed up /etc/fstab/ - please help recreate

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    5 Posts 3 Posters 4.5k 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.
    • O
      oosillyoo
      last edited by

      System:
      Intel D510MO
      1GB DDR3 Memory
      Patriot Xporter XT Rage 8GB USB Flash
      Intel Pro/1000 MT

      Current Build pfSense-2.0-RC1-1g-i386-20110226-1633-nanobsd

      I had the "mountroot>" prompt come up and I had to boot my box by entering ufs:/dev/da0s1a at the prompt. I tried to edit my /etc/fstab using vi but somehow through the console I messed up the file. I'm still able to boot pfsense and can edit the /etc/fstab through the GUI but I need to know what should be in there. Can someone give me some guidance?

      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • O
        oosillyoo
        last edited by

        46 reads and no replies? I thought this would be an easy one. All I need someone to do is login to the GUI, go to Diagnostics, then Edit File. At the top type /etc/fstab in the load file section and press load. After the file loads copy and paste file contents in a post here.

        Thanks

        1 Reply Last reply Reply Quote 0
        • W
          wallabybob
          last edited by

          Perhaps none of those readers run the nanobsd variant. (I don't,)

          1 Reply Last reply Reply Quote 0
          • L
            LostInIgnorance
            last edited by

            I am not running the nano either, but I thought the fstab is standard.

            # Device		Mountpoint	FStype	Options		Dump	Pass#
            /dev/ad0s1a		/		ufs	rw		1	1
            /dev/ad0s1b		none		swap	sw		0	0
            
            
            1 Reply Last reply Reply Quote 0
            • O
              oosillyoo
              last edited by

              Fixed, I did a reinstall this morning and edited where I needed.

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