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

    How to change boot device permanently

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 3.0k 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.
    • lifeboyL
      lifeboy
      last edited by

      One of my pfsense boxes just got fried (on a UPS in a serverroom, mind you!).  So we moved the disk drive to a new but different box.  The system boots up to a point when it prompts for the boot partition.  It tries /dev/ad5s1a but fails.  If one enters ufs:ad2s1a it boots and all is well, but of course I would like this change to be permanent.  However, the /boot/loader.conf is empty and /boot/defaults/loader.conf has no effect on the boot process.

      Can someone please point me the correct place to change the boot partition specification?  Of course, we could do a fresh install and restore a backup of the config, but then we would have learnt nothing and that would be so much "the windows way" that I would prefer to just correct the setup! :-)

      regards

      Roland

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

        You probably need to change /etc/fstab

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