• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.6k Views 2 Watching
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.
  • N Offline
    NollipfSense
    last edited by NollipfSense Jul 7, 2022, 7:33 PM Jul 7, 2022, 7:28 PM

    What's the best way to fix this on a new install v2.6 so it can boot? It needs a number other than zero. I am at a friend's helping to setup his pfSense on a Lenovo M92.

    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
    • N Offline
      NollipfSense
      last edited by Jul 7, 2022, 9:04 PM

      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
      • S Offline
        stephenw10 Netgate Administrator
        last edited by Jul 7, 2022, 9:19 PM

        You're just trying to set that sysctl?

        N 1 Reply Last reply Jul 7, 2022, 9:41 PM Reply Quote 0
        • N Offline
          NollipfSense @stephenw10
          last edited by Jul 7, 2022, 9:41 PM

          @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
          • S Offline
            stephenw10 Netgate Administrator
            last edited by Jul 7, 2022, 9:57 PM

            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

            N 1 Reply Last reply Jul 7, 2022, 10:16 PM Reply Quote 0
            • N Offline
              NollipfSense @stephenw10
              last edited by Jul 7, 2022, 10:16 PM

              @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
              • S Offline
                stephenw10 Netgate Administrator
                last edited by Jul 7, 2022, 10:29 PM

                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

                N 1 Reply Last reply Jul 7, 2022, 10:41 PM Reply Quote 0
                • N Offline
                  NollipfSense @stephenw10
                  last edited by Jul 7, 2022, 10:41 PM

                  @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
                  • S Offline
                    stephenw10 Netgate Administrator
                    last edited by Jul 7, 2022, 11:24 PM

                    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

                    N 2 Replies Last reply Jul 8, 2022, 12:06 AM Reply Quote 0
                    • N Offline
                      NollipfSense @stephenw10
                      last edited by Jul 8, 2022, 12:06 AM

                      @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
                      • N Offline
                        NollipfSense @stephenw10
                        last edited by Jul 14, 2022, 5:35 PM

                        @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
                        11 out of 11
                        • First post
                          11/11
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                          This community forum collects and processes your personal information.
                          consent.not_received