• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Linux, grubx64.efi, and refind.conf

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    2
    1.1k
    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.
    • F
      fractal13 Developer
      last edited by

      Server
      • FOG Version: 1.5.0-RC-5
      • OS: Ubuntu 14.04.5 LTS
      Description

      Wanted to document this configuration for others.

      I’m using FOG to image UEFI multi-boot systems, with boot-time selection controlled by /EFI/ubuntu/grubx64.efi. UEFI is configured to boot PXE first, then from the hard drive.

      When I configure iPXE’s UEFI exit to anything other than rEFInd, I get the infinite boot attempts issue.

      When I leave iPXE’s UEFI exit to rEFInd, the default I believe, then rEFInd tries to boot the first .efi file from /EFI/ubuntu/, which fails to boot. This is because the default_selection for rEFInd is set to 1.

      I solved my problem with this:

      sed -i 's/^default_selection .*/default_selection "grubx64.efi"/' /var/www/html/fog/service/ipxe/refind.conf
      

      BTW: You guys have been busy! I’m liking 1.5.0. Good work.

      1 Reply Last reply Reply Quote 2
      • Tom ElliottT
        Tom Elliott
        last edited by

        @fractal13 Hey, long time no hear, hope all is well.

        Wondering if you (being the original writer and all) wouldn’t mind reviewing my latest procsfdisk.awk script? Had a few issues in 1.3.x days that kind of required a rewrite of it all, which went fairly well. Last night (early this morning) I hope to have solved the mystery of extended partitions though I’m sure it’s not perfect. I can’t see the “flow” nicely. So a good review could be very very useful. (Others are welcome to it as well.)

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        169

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project