.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH GRUB-FILE "1" "February 2024" "GRUB2 2.12" "User Commands" .SH NAME grub-file \- check file type .SH SYNOPSIS .B file \fI\,OPTIONS FILE\/\fR .SH DESCRIPTION Check if FILE is of specified type. .TP \fB\-\-is\-i386\-xen\-pae\-domu\fR Check if FILE can be booted as i386 PAE Xen unprivileged guest kernel .TP \fB\-\-is\-x86_64\-xen\-domu\fR Check if FILE can be booted as x86_64 Xen unprivileged guest kernel .TP \fB\-\-is\-x86\-xen\-dom0\fR Check if FILE can be used as Xen x86 privileged guest kernel .TP \fB\-\-is\-x86\-multiboot\fR Check if FILE can be used as x86 multiboot kernel .HP \fB\-\-is\-x86\-multiboot2\fR Check if FILE can be used as x86 multiboot2 kernel .TP \fB\-\-is\-arm\-linux\fR Check if FILE is ARM Linux .TP \fB\-\-is\-arm64\-linux\fR Check if FILE is ARM64 Linux .TP \fB\-\-is\-ia64\-linux\fR Check if FILE is IA64 Linux .TP \fB\-\-is\-mips\-linux\fR Check if FILE is MIPS Linux .TP \fB\-\-is\-mipsel\-linux\fR Check if FILE is MIPSEL Linux .TP \fB\-\-is\-sparc64\-linux\fR Check if FILE is SPARC64 Linux .TP \fB\-\-is\-powerpc\-linux\fR Check if FILE is POWERPC Linux .TP \fB\-\-is\-x86\-linux\fR Check if FILE is x86 Linux .TP \fB\-\-is\-x86\-linux32\fR Check if FILE is x86 Linux supporting 32\-bit protocol .TP \fB\-\-is\-x86\-kfreebsd\fR Check if FILE is x86 kFreeBSD .TP \fB\-\-is\-i386\-kfreebsd\fR Check if FILE is i386 kFreeBSD .TP \fB\-\-is\-x86_64\-kfreebsd\fR Check if FILE is x86_64 kFreeBSD .TP \fB\-\-is\-x86\-knetbsd\fR Check if FILE is x86 kNetBSD .TP \fB\-\-is\-i386\-knetbsd\fR Check if FILE is i386 kNetBSD .HP \fB\-\-is\-x86_64\-knetbsd\fR Check if FILE is x86_64 kNetBSD .TP \fB\-\-is\-i386\-efi\fR Check if FILE is i386 EFI file .TP \fB\-\-is\-x86_64\-efi\fR Check if FILE is x86_64 EFI file .TP \fB\-\-is\-ia64\-efi\fR Check if FILE is IA64 EFI file .TP \fB\-\-is\-arm64\-efi\fR Check if FILE is ARM64 EFI file .TP \fB\-\-is\-arm\-efi\fR Check if FILE is ARM EFI file .TP \fB\-\-is\-riscv32\-efi\fR Check if FILE is RISC\-V 32bit EFI file .TP \fB\-\-is\-riscv64\-efi\fR Check if FILE is RISC\-V 64bit EFI file .TP \fB\-\-is\-hibernated\-hiberfil\fR Check if FILE is hiberfil.sys in hibernated state .TP \fB\-\-is\-x86_64\-xnu\fR Check if FILE is x86_64 XNU (Mac OS X kernel) .TP \fB\-\-is\-i386\-xnu\fR Check if FILE is i386 XNU (Mac OS X kernel) .TP \fB\-\-is\-xnu\-hibr\fR Check if FILE is XNU (Mac OS X kernel) hibernated image .TP \fB\-\-is\-x86\-bios\-bootsector\fR Check if FILE is BIOS bootsector .PP \fB\-h\fR, \fB\-\-help\fR Display this help and exit. \fB\-u\fR, \fB\-\-usage\fR Display the usage of this command and exit. .SH "SEE ALSO" The full documentation for .B grub-file is maintained as a Texinfo manual. If the .B info and .B grub-file programs are properly installed at your site, the command .IP .B info grub-file .PP should give you access to the complete manual.