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

    kern.geom.part.mbr.enforce_chs: 0

    Scheduled Pinned Locked Moved General pfSense Questions
    11 Posts 2 Posters 1.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.
    • NollipfSenseN
      NollipfSense
      last edited by

      Found this thread: https://forum.netgate.com/topic/110353/impossible-to-install-to-a-4k-aligned-partition-for-ssd/17

      Still appear no easy way

      pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
      pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

        You're just trying to set that sysctl?

        NollipfSenseN 1 Reply Last reply Reply Quote 0
        • NollipfSenseN
          NollipfSense @stephenw10
          last edited by

          @stephenw10 said in kern.geom.part.mbr.enforce_chs: 0:

          You're just trying to set that sysctl?

          Yes if I can after the install so I can get it to boot.

          pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
          pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

            If it's actually a sysctl then add it in System Tunables.

            If it needs to be set before boot try adding it to /boot/loader.conf.local

            NollipfSenseN 1 Reply Last reply Reply Quote 0
            • NollipfSenseN
              NollipfSense @stephenw10
              last edited by

              @stephenw10 said in kern.geom.part.mbr.enforce_chs: 0:

              If it's actually a sysctl then add it in System Tunables.

              If it needs to be set before boot try adding it to /boot/loader.conf.local

              It would need to set after the install is complete and launch shell before reboot. From here: https://github.com/helloSystem/ISO/issues/200 it seems it have something about install from or to USB. So, If I cannot edit /boot/loader.conf.local since I'll be at the chroot, then I might try burning a DVD.

              pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
              pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

                You can create that file in the prompt after installing.

                I can't see anywhere suggesting setting that to some other value though in any of those linked threads.

                Steve

                NollipfSenseN 1 Reply Last reply Reply Quote 0
                • NollipfSenseN
                  NollipfSense @stephenw10
                  last edited by

                  @stephenw10 said in kern.geom.part.mbr.enforce_chs: 0:

                  You can create that file in the prompt after installing.

                  I can't see anywhere suggesting setting that to some other value though in any of those linked threads.

                  Steve

                  So, how do I create a file? I tried /boot/loader.conf.local and no file found. Also I tried /boot/loader.conf but permission denied because I am not a user yet.

                  pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                  pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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

                    You can just touch /boot/loader.conf.local to create it. Then use ee to edit it.

                    Or append something to it directly:

                    echo 'kern.geom.part.mbr.enforce_chs=1' >> /boot/loader.conf.local
                    

                    Or whatever value you want. I'm not sure that can be loaded there though. Try it.

                    Steve

                    NollipfSenseN 2 Replies Last reply Reply Quote 0
                    • NollipfSenseN
                      NollipfSense @stephenw10
                      last edited by

                      @stephenw10 Didn't work, it seems it has to be done before the install. So, I try installing by iso/DVD.

                      pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                      pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

                      1 Reply Last reply Reply Quote 0
                      • NollipfSenseN
                        NollipfSense @stephenw10
                        last edited by

                        @stephenw10 I managed to fix the problem, but it seemed haphazardly. I tried installing pfSense 2.6 by DVD only to realize that the previous memstick method did install the firewall OS despite no OS found rebooting the computer. Then, booting from the DVD would start and hung on synchronizing user. So, I made sure that the bios were set to legacy mode and CAS was disabled then booted the computer. This time it hung on CSM; so, I powered off the computer and reboot again and select single user mode and created the file as you had instructed:
                        echo 'kern.geom.part.mbr.enforce_chs=1' >> /boot/loader.conf.local

                        It then completed the boot up, and I could restore backup configuration. We'll upgrade to version 22..5 when my friend return from vacation. Thank you Steve.

                        pfSense+ 23.09 Lenovo Thinkcentre M93P SFF Quadcore i7 dual Raid-ZFS 128GB-SSD 32GB-RAM PCI-Intel i350-t4 NIC, -Intel QAT 8950.
                        pfSense+ 23.09 VM-Proxmox, Dell Precision Xeon-W2155 Nvme 500GB-ZFS 128GB-RAM PCIe-Intel i350-t4, Intel QAT-8950, P-cloud.

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