Linux "grub-file" Command Line Options and Examples
check file type

Check if FILE is of specified type.


Usage:

file OPTIONS FILE




Command Line Options:

--is-i386-xen-pae-domu
Check if FILE can be booted as i386 PAE Xen unprivileged guest kernel
grub-file --is-i386-xen-pae-domu ...
--is-x86_64-xen-domu
Check if FILE can be booted as x86_64 Xen unprivileged guest kernel
grub-file --is-x86_64-xen-domu ...
--is-x86-xen-dom0
Check if FILE can be used as Xen x86 privileged guest kernel
grub-file --is-x86-xen-dom0 ...
--is-x86-multiboot
Check if FILE can be used as x86 multiboot kernel
grub-file --is-x86-multiboot ...
--is-x86-multiboot2
Check if FILE can be used as x86 multiboot2 kernel
grub-file --is-x86-multiboot2 ...
--is-arm-linux
Check if FILE is ARM Linux
grub-file --is-arm-linux ...
--is-arm64-linux
Check if FILE is ARM64 Linux
grub-file --is-arm64-linux ...
--is-ia64-linux
Check if FILE is IA64 Linux
grub-file --is-ia64-linux ...
--is-mips-linux
Check if FILE is MIPS Linux
grub-file --is-mips-linux ...
--is-mipsel-linux
Check if FILE is MIPSEL Linux
grub-file --is-mipsel-linux ...
--is-sparc64-linux
Check if FILE is SPARC64 Linux
grub-file --is-sparc64-linux ...
--is-powerpc-linux
Check if FILE is POWERPC Linux
grub-file --is-powerpc-linux ...
--is-x86-linux
Check if FILE is x86 Linux
grub-file --is-x86-linux ...
--is-x86-linux32
Check if FILE is x86 Linux supporting 32-bit protocol
grub-file --is-x86-linux32 ...
--is-x86-kfreebsd
Check if FILE is x86 kFreeBSD
grub-file --is-x86-kfreebsd ...
--is-i386-kfreebsd
Check if FILE is i386 kFreeBSD
grub-file --is-i386-kfreebsd ...
--is-x86_64-kfreebsd
Check if FILE is x86_64 kFreeBSD
grub-file --is-x86_64-kfreebsd ...
--is-x86-knetbsd
Check if FILE is x86 kNetBSD
grub-file --is-x86-knetbsd ...
--is-i386-knetbsd
Check if FILE is i386 kNetBSD
grub-file --is-i386-knetbsd ...
--is-x86_64-knetbsd
Check if FILE is x86_64 kNetBSD
grub-file --is-x86_64-knetbsd ...
--is-i386-efi
Check if FILE is i386 EFI file
grub-file --is-i386-efi ...
--is-x86_64-efi
Check if FILE is x86_64 EFI file
grub-file --is-x86_64-efi ...
--is-ia64-efi
Check if FILE is IA64 EFI file
grub-file --is-ia64-efi ...
--is-arm64-efi
Check if FILE is ARM64 EFI file
grub-file --is-arm64-efi ...
--is-arm-efi
Check if FILE is ARM EFI file
grub-file --is-arm-efi ...
--is-hibernated-hiberfil
Check if FILE is hiberfil.sys in hibernated state
grub-file --is-hibernated-hiberfil ...
--is-x86_64-xnu
Check if FILE is x86_64 XNU (Mac OS X kernel)
grub-file --is-x86_64-xnu ...
--is-i386-xnu
Check if FILE is i386 XNU (Mac OS X kernel)
grub-file --is-i386-xnu ...
--is-xnu-hibr
Check if FILE is XNU (Mac OS X kernel) hibernated image
grub-file --is-xnu-hibr ...
--is-x86-bios-bootsector
Check if FILE is BIOS bootsector
grub-file --is-x86-bios-bootsector ...
-h
--help Display this help and exit. -u --usage Display the usage of this command and exit.
grub-file -h ...