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

    How to boot to EFI shell?

    General pfSense Questions
    3
    15
    8.6k
    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.
    • 4
      4o4rh
      last edited by

      I need to boot to the EFI shell command prompt, how is that done when there is no option like under linux

      stephenw10S JKnottJ 2 Replies Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator @4o4rh
        last edited by

        That's a very hardware/BIOS specific question.

        Most devices will boot to an EFI shell if there is nothing else to boot. There may be an option in the boot device menu. Some BIOSes do not include an accessible EFI shell at all.

        Steve

        4 1 Reply Last reply Reply Quote 0
        • JKnottJ
          JKnott @4o4rh
          last edited by

          @gwaitsi

          That's determined by the mom board, not the OS. You likely have to press certain keys during boot up, before control is passed to the OS.

          PfSense running on Qotom mini PC
          i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
          UniFi AC-Lite access point

          I haven't lost my mind. It's around here...somewhere...

          1 Reply Last reply Reply Quote 0
          • 4
            4o4rh @stephenw10
            last edited by

            @stephenw10 it is a new quotom box with UEFI bios. There is a bios menu option to boot to the EFI shell on the local disk, but always says shell.efi not found.

            pfsense is installed in uefi mode and boots.

            I tried with an ubuntu usb prepared as fat32 with the shell.efi and bootx64.efi but it just boots into the grub loader and not the efi shell

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

              So maybe the BIOS doesn't include a shell to boot to. Have you asked Qotom?

              4 JKnottJ 2 Replies Last reply Reply Quote 0
              • 4
                4o4rh @stephenw10
                last edited by

                @stephenw10 it's not included in the bios. the option is to boot to shell on the file system.
                I have the shellx64.efi on my j1900 (in production).

                how can i mount the EFI partition on the live system, so I can ftp the file off.
                I figured out, the system was correctly booting to the efi grub, but that is not the shell.
                i believe i need to copy the shellx64.efi to the root of the EFI partition and that should allow booting to the shell

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

                  Well you can do exactly that, mount the UEFI partition, which is FAT32, and copy files to it.

                  Why do you want to do that though?

                  Steve

                  4 1 Reply Last reply Reply Quote 0
                  • 4
                    4o4rh @stephenw10
                    last edited by

                    @stephenw10 i want to update the smbios and the dos version of amiedit doesn't work with this version of bios. so i need to use the efi version

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

                      Mmm, can't you just boot it from USB then?

                      4 1 Reply Last reply Reply Quote 0
                      • 4
                        4o4rh @stephenw10
                        last edited by

                        @stephenw10 can't seem to get it to work

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

                          Ok, well I would install something else to get access first then. You don't need to be running pfSense or even FreeBSD to update the BIOS.

                          Steve

                          4 1 Reply Last reply Reply Quote 0
                          • JKnottJ
                            JKnott @stephenw10
                            last edited by

                            @stephenw10

                            I have a Qotom mini PC too. I have to press F11 very soon after rebooting to get into the BIOS shell.

                            PfSense running on Qotom mini PC
                            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                            UniFi AC-Lite access point

                            I haven't lost my mind. It's around here...somewhere...

                            4 1 Reply Last reply Reply Quote 0
                            • 4
                              4o4rh @JKnott
                              last edited by

                              @jknott you mean the bios setup, or the efi shell - that is not the same

                              1 Reply Last reply Reply Quote 0
                              • 4
                                4o4rh @stephenw10
                                last edited by

                                @stephenw10 smbios / DMI settings are not updated via the bios, they are updated via the AMI DMIEDIT tools. Aptio <= 5.6.5 worked with the dos version of the tools. my new box has 5.12 and doesn't work any more with dos.
                                tried the linux, but can't get paste EFI boot into grub loader. which means i need to load the shell.efi so i can run it is UEFI shell, but can't get that booting either

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

                                  Right, so if your BIOS does not include a UEFI shell then you need to boot something that does, which isn't pfSense.
                                  I would be looking for a USB image to do it.

                                  What are you trying to change anyway? Is it passing a bad value to pfSense?

                                  Steve

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