Rohde-Schwarz / TrustedGRUB2

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

grub> prompt? #75

Closed TanerKaragol closed 6 years ago

TanerKaragol commented 6 years ago

I am using CentOS 7.5 64bit. I have used these parameters: --target=x86_64 -with-platform=pc All compile and installation completed without error. When I reboot the system, it does not show any boot menu. Just "grub>" prompt. I have to enter fallowing command to boot. grub> insmod cryptodisk grub> insmod luks grub> set root=(hd0,5) grub> linux /vmlinuz-3.10.0......x86_64 root=/dev/dm-0 grub> initrd /initramfs-3.10.0....img grub> boot

Why boot menu does not came? Where did I make mistake?

TanerKaragol commented 6 years ago

I have found my mistake (or document mistake). At the and this command must be run for boot menu: ./INSTALLDIR/sbin/grub-mkconfig -o /boot/grub/grub.cfg

Update: I could not update boot menu, grub-mkconfig created "aut of memory" error. Then I have compiled TrustedGRUB2 again but with this parameter "--target=i386" this time. Now it is working good and I am able to update boot menu.