Rohde-Schwarz / TrustedGRUB2

DEPRECATED TPM enabled GRUB2 Bootloader
GNU General Public License v3.0
191 stars 78 forks source link

Possible issue #56

Closed hunter86bg closed 7 years ago

hunter86bg commented 7 years ago

Hi guys,

as I'm new to TrustedGRUB 2 , I'm not sure that the situation that have happened to me is really an issue. Let me summarize.

  1. I have 1 encrypted with LUKS drive.
  2. I have enabled the TPM and started all relevant services
  3. Compiled the TrustedGRUB 2 (there was a warning regarding "locales" , I think)
  4. Booting failed (probably didn't find stage 1.5 or stage 2 )

I'm trying to make the TPM unlock the LUKS encrypted partition without user intervention.

Please provide your guidance ,as I expected that TrusedGRUB 2 should still boot the system and LUKS to ask for password.

neusdan commented 7 years ago

What do you mean with "Booting failed" ? What's the exact error message?

hunter86bg commented 7 years ago

Grub Rescue console.

neusdan commented 7 years ago

I assume something went wrong during installation

hunter86bg commented 7 years ago

I tried it again and it was the same issue. When I compared my grub2 backup folder and the new "grub" folder I have noticed that there is no grub.cfg and no device.map . I 've copied them and now it boots normally.

neusdan commented 7 years ago

So this issue can be closed?

hunter86bg commented 7 years ago

It should be checked why it didn't create the grub.cfg and the device.map files. A software is working , when there is no need for workarounds. Do you agree with me ? If not, maybe the guide should be updated...

neusdan commented 7 years ago

As far as i know the grub-install command does not create a grub.cfg file, so no surprise here. There is actually a warning in the TrustedGRUB2 README:

[WARNING] if installing over an old GRUB2 install you probably have to adjust your grub.cfg

hunter86bg commented 7 years ago

I missed that.It seems there is no issue at all. Thanks for the answers.