1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 15:19:43 +01:00
tldr/pages/linux/grub-file.md
Vitor Henrique c8f956319f
pages*: simplify page description (#12149)
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-02-14 21:25:13 +01:00

665 B

grub-file

Check if a file is of a bootable image type. More information: https://manned.org/grub-file.

  • Check if a file is an ARM EFI image:

grub-file --is-arm-efi {{path/to/file}}

  • Check if a file is an i386 EFI image:

grub-file --is-i386-efi {{path/to/file}}

  • Check if a file is an x86_64 EFI image:

grub-file --is-x86_64-efi {{path/to/file}}

  • Check if a file is an ARM image (Linux kernel):

grub-file --is-arm-linux {{path/to/file}}

  • Check if a file is an x86 image (Linux kernel):

grub-file --is-x86-linux {{path/to/file}}

  • Check if a file is an x86_64 XNU image (macOS kernel):

grub-file --is-x86_64-xnu {{path/to/file}}