GRUB-FILE(1)

πŸ’… GRUB-FILE(1) ✨

okay so bestie, welcome to grub-file, a lil user-commands situation from the GRUB-FILE(1) manual. she's a tiny utility with one job and she does it flawlessly, no notes.


🌸 NAME 🌸

grub-file β€” the file-type checker. literally just vibes-checking your files, that's her whole personality πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

file OPTIONS FILE

that's it. that's the whole thing. options first, then the file you're interrogating πŸ’…


πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea: grub-file checks whether FILE is of a specified type. you tell her what you're looking for, she tells you if your file is that. main character energy fr fr.

✨ the checks ✨

  • --is-i386-xen-pae-domu β€” checks if FILE can be booted as an i386 PAE Xen unprivileged guest kernel 🧚
  • --is-x86_64-xen-domu β€” checks if FILE can be booted as an x86_64 Xen unprivileged guest kernel
  • --is-x86-xen-dom0 β€” checks if FILE can be used as a Xen x86 privileged guest kernel πŸ‘‘
  • --is-x86-multiboot β€” checks if FILE can be used as an x86 multiboot kernel
  • --is-x86-multiboot2 β€” checks if FILE can be used as an x86 multiboot2 kernel
  • --is-arm-linux β€” checks if FILE is ARM Linux 🌈
  • --is-arm64-linux β€” checks if FILE is ARM64 Linux
  • --is-ia64-linux β€” checks if FILE is IA64 Linux
  • --is-mips-linux β€” checks if FILE is MIPS Linux
  • --is-mipsel-linux β€” checks if FILE is MIPSEL Linux
  • --is-sparc64-linux β€” checks if FILE is SPARC64 Linux
  • --is-powerpc-linux β€” checks if FILE is POWERPC Linux
  • --is-x86-linux β€” checks if FILE is x86 Linux
  • --is-x86-linux32 β€” checks if FILE is x86 Linux supporting 32-bit protocol 🫢
  • --is-x86-kfreebsd β€” checks if FILE is x86 kFreeBSD
  • --is-i386-kfreebsd β€” checks if FILE is i386 kFreeBSD
  • --is-x86_64-kfreebsd β€” checks if FILE is x86_64 kFreeBSD
  • --is-x86-knetbsd β€” checks if FILE is x86 kNetBSD
  • --is-i386-knetbsd β€” checks if FILE is i386 kNetBSD
  • --is-x86_64-knetbsd β€” checks if FILE is x86_64 kNetBSD
  • --is-i386-efi β€” checks if FILE is an i386 EFI file πŸ¦‹
  • --is-x86_64-efi β€” checks if FILE is an x86_64 EFI file
  • --is-ia64-efi β€” checks if FILE is an IA64 EFI file
  • --is-arm64-efi β€” checks if FILE is an ARM64 EFI file
  • --is-arm-efi β€” checks if FILE is an ARM EFI file
  • --is-riscv32-efi β€” checks if FILE is a RISC-V 32bit EFI file ⭐
  • --is-riscv64-efi β€” checks if FILE is a RISC-V 64bit EFI file
  • --is-hibernated-hiberfil β€” checks if FILE is hiberfil.sys in hibernated state 😴
  • --is-x86_64-xnu β€” checks if FILE is x86_64 XNU (Mac OS X kernel) πŸ“
  • --is-i386-xnu β€” checks if FILE is i386 XNU (Mac OS X kernel)
  • --is-xnu-hibr β€” checks if FILE is an XNU (Mac OS X kernel) hibernated image
  • --is-x86-bios-bootsector β€” checks if FILE is a BIOS bootsector πŸ”₯
  • -h, --help β€” displays this help and exits, iconic behaviour honestly
  • -u, --usage β€” displays the usage of this command and exits πŸ’…

πŸ’– SEE ALSO πŸ’–

the full documentation for grub-file is maintained as a Texinfo manual, which is very demure of them. if the info and grub-file programs are properly installed at your site (fingers crossed bestie 🀞), the command

info grub-file

should give you access to the complete manual. go off, read the lore πŸ“–βœ¨


and that's the whole page!! this lil gem comes to you courtesy of GRUB 2.12-1ubuntu7.3, dated March 2025 β€” mwah, ty for coming to my ted talk πŸ’œπŸŽ€πŸ«Ά

πŸ“¦ where this page comes from