Giter Site home page Giter Site logo

Comments (2)

neusdan avatar neusdan commented on May 24, 2024

Hi,

I've only implemented the TPM features for GRUB2 in MBR/Legacy Mode. It's also possible to do all the TPM stuff like measurements, unsealing etc. in EFI-Mode, but thats a complete different API and would require a lot of work. From my side, it's not planned for the moment, but maybe someone contributes it in the future.

Obviously you are running TrustedGRUB2 in MBR-Mode, otherwise the TPM features should not work. So i don't know why your grub.cfg is in /boot/efi, it actually make not much sense, seems to be some misconfiguration.

I'm not using Red Hat and not familiar with those .spec files, but you can send a pull request and i will add it.

from trustedgrub2.

momiji avatar momiji commented on May 24, 2024

Hello, well I finally understood where EFI comes from.

When I installed RHEL7 on my VirtualBox (I know there is no TPM but TrustedGRUB2 does work, of course), it installs without EFI, as secure boot is disabled by default in the BIOS. But it is possible to change it, and I managed to re-install with EFI, just to play with it.

When I installed RHEL7 on my tset computer, it installs automatically with EFI, and chaging the secure boot option in the BIOS didn't change anything. I finally found that I need to change the boot order to disable the EFI boot devices. Then, RHEL7 installs without EFI, and everything worked like a charm (well not completely, i'll write another post).

When playing with both installs, I finally understood that in EFI mode, there are 2 boot partitions (sda1 and sda2 containing /boot/efi and /boot). On the contrary, in non-EFI mode, there is only 1 boot partition containing the /boot. My guess is that the RHEL CDROM contains a system that allows both boot, one in EFI mode, one without. As proof, the grub gui is not the same.

I'm not fluent in linux enough to rebuild the first boot partition as a non-EFI one, so my best option was to reinstall without EFI support at all.

Thanks a lot for your help! - this can be closed

from trustedgrub2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.