← 返回命令列表

Linux command

grub-glue-efi 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Glue EFI binaries

grub-glue-efi -3 [ia32.efi] -6 [x64.efi] -o [boot.efi]

Create fat binary

grub-glue-efi --input32 [grub32.efi] --input64 [grub64.efi] --output [grub.efi]

说明

grub-glue-efi processes ia32 and amd64 EFI images and glues them according to Apple format, creating an Apple fat EFI binary from two EFI binaries. This enables booting on systems with either 32-bit or 64-bit EFI firmware from a single file. The tool is primarily useful for creating universal EFI binaries for GRUB bootloaders on removable media that must boot on diverse hardware.

参数

-3, --input32 _FILE_
32-bit EFI input.
-6, --input64 _FILE_
64-bit EFI input.
-o, --output _FILE_
Output file.
-v, --verbose
Print verbose messages.
--help
Display help information.

FAQ

What is the grub-glue-efi command used for?

grub-glue-efi processes ia32 and amd64 EFI images and glues them according to Apple format, creating an Apple fat EFI binary from two EFI binaries. This enables booting on systems with either 32-bit or 64-bit EFI firmware from a single file. The tool is primarily useful for creating universal EFI binaries for GRUB bootloaders on removable media that must boot on diverse hardware.

How do I run a basic grub-glue-efi example?

Run `grub-glue-efi -3 [ia32.efi] -6 [x64.efi] -o [boot.efi]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -3, --input32 _FILE_ do in grub-glue-efi?

32-bit EFI input.