Home / can’t find command `multiboot2′ – TBOOT fails in UEFI system

can’t find command `multiboot2′ – TBOOT fails in UEFI system

In a UEFI system, after installing TBOOT, the TBOOT GRUB menu entries fail to boot the kernel. The following error message will be output on the screen.

error: ../../grub-core/fs/fshelp.c:218:file
`/EFI/centos/x86_64-efi/multiboot2.mod' not found.
Loading tboot 1.10.2 ...

error: ../../grub-core/script/function.c:120:can't find command `multiboot2'.
Loading Linux 4.18.0-305.10.2.el8_4.x86_64 ...
error: ../../grub-core/script/function.c:120:can't find command `module2'.
Loading initial ramdisk ...
error: ../../grub-core/script/function.c:120:can't find command `module2'.

Press any key to continue...

The error can’t find command `multiboot2′ is because TBOOT requires the multiboot2 module, but it is not available on UEFI servers. The only solution is to install a multiboot2 module. This can be done as follows:

  • Boot the server with TBOOT.
  • Install GRUB package as follows:

yum -y install grub2-efi-x64-modules

  • Create a module directory under /boot/efi/EFI/centos.

mkdir -p /boot/efi/EFI/centos/x86_64-efi

  • Copy the missing modules that are required by TBOOT.

# cp /usr/lib/grub/x86_64-efi/relocator.mod /boot/efi/EFI/centos/x86_64-efi/
# cp /usr/lib/grub/x86_64-efi/multiboot2.mod /boot/efi/EFI/centos/x86_64-efi/

  • Reboot the server and check server boot is ok after selecting TBOOT.

Leave a Reply