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

UEFI not working with Secure Boot On

Scheduled Pinned Locked Moved
FOG Problems
2
5
812
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.
  • R
    robertkwild
    last edited by Oct 6, 2021, 10:18 AM

    hi all,

    so now i have UEFI working on my fog server, issue is now it works when secure boot is off but when on it doesnt work

    is this the only way to get it working with fog

    https://forums.fogproject.org/topic/13832/secureboot-issues

    thanks,
    rob

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Oct 6, 2021, 10:28 AM

      @robertkwild There have been discussions on this in the forums lately. See also this topic: https://forums.fogproject.org/topic/15724/fog-compatibility-with-secure-boot-on

      I don’t see secure boot is going to be added to FOG any time soon as there are simply not enough people working on it. If you are keen you can go ahead and implement a more general solution.

      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
      • R
        robertkwild
        last edited by Dec 31, 2021, 2:20 PM

        hi,

        replyijng back to this old post as i looked at the link that @Sebastian-Roth replied to me about making secure boot work, and isnt it just a case of self signing the kernel ie

        /var/www/html/fog/service/ipxe/bzImage and
        /var/www/html/fog/service/ipxe/bzImage32

        and copying the self signed cert to all the hosts?

        thanks,
        rob

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Dec 31, 2021, 5:00 PM

          @robertkwild Check this out: https://forums.fogproject.org/topic/15888/imaging-with-fog-and-secure-boot-poc/

          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

          R 1 Reply Last reply Dec 31, 2021, 7:51 PM Reply Quote 1
          • R
            robertkwild @Sebastian Roth
            last edited by Dec 31, 2021, 7:51 PM

            @sebastian-roth when George says this

            mkdir -p /opt/fog/secureboot/hwkeys
            cd /opt/fog/secureboot/

            sudo efi-readvar -v PK -o /opt/fog/secureboot/hwkeys/hw_PK.esl
            sudo efi-readvar -v KEK -o /opt/fog/secureboot/hwkeys/hw_KEK.esl
            sudo efi-readvar -v db -o /opt/fog/secureboot/hwkeys/hw_db.esl
            sudo efi-readvar -v dbx -o /opt/fog/secureboot/hwkeys/hw_dbx.esl
            sudo chmod 666 /opt/fog/secureboot/hwkeys/*

            He says he got the certs above on a debian instance running on a hardware pc,

            What about if this a Ubuntu vm?

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

            236

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project