OS Manuals

/usr/bin/grub-file

the grand unified bootloader for uefi

From grub-efi 2.16-r1 (enterprise-packages), captured 2026-11-08 by running grub-file --help (exit 0). permalink

Usage: file OPTIONS FILE
Check if FILE is of specified type.

    --is-i386-xen-pae-domu   Check if FILE can be booted as i386 PAE Xen unprivileged guest kernel
    --is-x86_64-xen-domu   Check if FILE can be booted as x86_64 Xen unprivileged guest kernel
    --is-x86-xen-dom0   Check if FILE can be used as Xen x86 privileged guest kernel
    --is-x86-multiboot  Check if FILE can be used as x86 multiboot kernel
    --is-x86-multiboot2 Check if FILE can be used as x86 multiboot2 kernel
    --is-arm-linux      Check if FILE is ARM Linux
    --is-arm64-linux    Check if FILE is ARM64 Linux
    --is-ia64-linux     Check if FILE is IA64 Linux
    --is-mips-linux     Check if FILE is MIPS Linux
    --is-mipsel-linux   Check if FILE is MIPSEL Linux
    --is-sparc64-linux  Check if FILE is SPARC64 Linux
    --is-powerpc-linux  Check if FILE is POWERPC Linux
    --is-x86-linux      Check if FILE is x86 Linux
    --is-x86-linux32    Check if FILE is x86 Linux supporting 32-bit protocol
    --is-x86-kfreebsd   Check if FILE is x86 kFreeBSD
    --is-i386-kfreebsd  Check if FILE is i386 kFreeBSD
    --is-x86_64-kfreebsd   Check if FILE is x86_64 kFreeBSD
    --is-x86-knetbsd    Check if FILE is x86 kNetBSD
    --is-i386-knetbsd   Check if FILE is i386 kNetBSD
    --is-x86_64-knetbsd Check if FILE is x86_64 kNetBSD
    --is-i386-efi       Check if FILE is i386 EFI file
    --is-x86_64-efi     Check if FILE is x86_64 EFI file
    --is-ia64-efi       Check if FILE is IA64 EFI file
    --is-arm64-efi      Check if FILE is ARM64 EFI file
    --is-arm-efi        Check if FILE is ARM EFI file
    --is-riscv32-efi    Check if FILE is RISC-V 32bit EFI file
    --is-riscv64-efi    Check if FILE is RISC-V 64bit EFI file
    --is-hibernated-hiberfil   Check if FILE is hiberfil.sys in hibernated state
    --is-x86_64-xnu     Check if FILE is x86_64 XNU (Mac OS X kernel)
    --is-i386-xnu       Check if FILE is i386 XNU (Mac OS X kernel)
    --is-xnu-hibr       Check if FILE is XNU (Mac OS X kernel) hibernated image
    --is-x86-bios-bootsector   Check if FILE is BIOS bootsector
-h, --help              Display this help and exit.
-u, --usage             Display the usage of this command and exit.
Options (32)
OptionDescriptionSource
--is-i386-xen-pae-domuCheck if FILE can be booted as i386 PAE Xen unprivileged guest kernelhelp
--is-x86_64-xen-domuCheck if FILE can be booted as x86_64 Xen unprivileged guest kernelhelp
--is-x86-xen-dom0Check if FILE can be used as Xen x86 privileged guest kernelhelp
--is-x86-multibootCheck if FILE can be used as x86 multiboot kernelhelp
--is-arm-linuxCheck if FILE is ARM Linuxhelp
--is-arm64-linuxCheck if FILE is ARM64 Linuxhelp
--is-ia64-linuxCheck if FILE is IA64 Linuxhelp
--is-mips-linuxCheck if FILE is MIPS Linuxhelp
--is-mipsel-linuxCheck if FILE is MIPSEL Linuxhelp
--is-sparc64-linuxCheck if FILE is SPARC64 Linuxhelp
--is-powerpc-linuxCheck if FILE is POWERPC Linuxhelp
--is-x86-linuxCheck if FILE is x86 Linuxhelp
--is-x86-linux32Check if FILE is x86 Linux supporting 32-bit protocolhelp
--is-x86-kfreebsdCheck if FILE is x86 kFreeBSDhelp
--is-i386-kfreebsdCheck if FILE is i386 kFreeBSDhelp
--is-x86_64-kfreebsdCheck if FILE is x86_64 kFreeBSDhelp
--is-x86-knetbsdCheck if FILE is x86 kNetBSDhelp
--is-i386-knetbsdCheck if FILE is i386 kNetBSDhelp
--is-i386-efiCheck if FILE is i386 EFI filehelp
--is-x86_64-efiCheck if FILE is x86_64 EFI filehelp
--is-ia64-efiCheck if FILE is IA64 EFI filehelp
--is-arm64-efiCheck if FILE is ARM64 EFI filehelp
--is-arm-efiCheck if FILE is ARM EFI filehelp
--is-riscv32-efiCheck if FILE is RISC-V 32bit EFI filehelp
--is-riscv64-efiCheck if FILE is RISC-V 64bit EFI filehelp
--is-hibernated-hiberfilCheck if FILE is hiberfil.sys in hibernated statehelp
--is-x86_64-xnuCheck if FILE is x86_64 XNU (Mac OS X kernel)help
--is-i386-xnuCheck if FILE is i386 XNU (Mac OS X kernel)help
--is-xnu-hibrCheck if FILE is XNU (Mac OS X kernel) hibernated imagehelp
--is-x86-bios-bootsectorCheck if FILE is BIOS bootsectorhelp
-h, --helpDisplay this help and exit.help
-u, --usageDisplay the usage of this command and exit.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.