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

    UEFI boot problem on real hardware.

    Scheduled Pinned Locked Moved 2.4 Development Snapshots
    4 Posts 1 Posters 3.3k 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.
    • w0wW
      w0w
      last edited by

      The board is J1900D2Y from asrock, crucial MX200 SSD.
      CSM settings — disable.
      https://snapshots.pfsense.org/amd64/pfSense_master/installer/pfSense-CE-2.4.0-DEVELOPMENT-amd64-latest.iso.gz successfully boots with EFI loader
      Installer options
      ZFS and UEFI-GPT, SWAP 0 GB
      all installs but after reboot automatically goes into UEFI settings, because can not boot from hard drive.
      "Launch UEFI shell from device" shows zero compatible devices in list.

      1 Reply Last reply Reply Quote 0
      • w0wW
        w0w
        last edited by

        OK, another test done, it installs and boots in UEFI mode successfully on D2500CC intel board with default settings, but there is no UEFI-CSM settings available, except disable UEFI boot, so it always run in CSM compatible mode.
        I'll try install same way on asrock board later.

        1 Reply Last reply Reply Quote 0
        • w0wW
          w0w
          last edited by

          There is no way currently to install pfSense  on Assrock J1900D2Y in UEFI mode, it's just hides hdd and BBS options to boot from.

          1 Reply Last reply Reply Quote 0
          • w0wW
            w0w
            last edited by

            I think it's https://bugs.freenas.org/issues/16280
            Confirmed. It boots after manually editing UEFI entries.

            Updated by Grzegorz Krzystek 3 months ago

            Bios Version: 2.90
            Latest for C2750D4I
            In particular it's not a bug, but proMicrosoft implementation, of uefi boot sequence, and well known problem of many UEFI Bios on many motherboards.

            windows boot loader have path: EFI\Microsoft\Boot\bootmgr.efi

            and there are bios implementation like Asus one that expecting Windows Boot loader on internal hard-drives, and respecting EFI/BOOT/BOOTX64.EFI only on removable devices.

            all UEFI implementations allows user to manage bootentrys.
            adding new entry by uefishell that subbort bcfg is one line, in my case was:
            shell>bcfg boot add N fsV:\EFI\BOOT\BOOTX64.EFI "FreeNAS"
            where N was number of entry nad V was number of Filesystems that efi was able to read (all fat partitions are numbered and are accessible from uefishell)
            after adding this entry, i see FreeNAS in bios as Bootable device that can be selected in boot order menu.
            same operation is done in some Linux distros when grub-efi is installed by invoking command efibootmgr, cause some distros placeing grub in different dirs in EFI_BOOT partition. so adding these record to UEFI boot order make them bootable.

            I just did

            bcfg boot add 10 fs0:\EFI\BOOT\BOOTX64.EFI "pfSense"

            bcfg answers that entry 10 is 0000 (do not exists)  and corrected it with number 3

            and on next boot selected new entry in UEFI settings boot priority.

            All done!

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