1GRUB-FILE(1) User Commands GRUB-FILE(1)
2
3
4
6 grub-file - check file type
7
9 file OPTIONS FILE
10
12 Check if FILE is of specified type.
13
14 --is-i386-xen-pae-domu
15 Check if FILE can be booted as i386 PAE Xen unprivileged guest
16 kernel
17
18 --is-x86_64-xen-domu
19 Check if FILE can be booted as x86_64 Xen unprivileged guest
20 kernel
21
22 --is-x86-xen-dom0
23 Check if FILE can be used as Xen x86 privileged guest kernel
24
25 --is-x86-multiboot
26 Check if FILE can be used as x86 multiboot kernel
27
28 --is-x86-multiboot2 Check if FILE can be used as x86 multiboot2 kernel
29
30 --is-arm-linux
31 Check if FILE is ARM Linux
32
33 --is-arm64-linux
34 Check if FILE is ARM64 Linux
35
36 --is-ia64-linux
37 Check if FILE is IA64 Linux
38
39 --is-mips-linux
40 Check if FILE is MIPS Linux
41
42 --is-mipsel-linux
43 Check if FILE is MIPSEL Linux
44
45 --is-sparc64-linux
46 Check if FILE is SPARC64 Linux
47
48 --is-powerpc-linux
49 Check if FILE is POWERPC Linux
50
51 --is-x86-linux
52 Check if FILE is x86 Linux
53
54 --is-x86-linux32
55 Check if FILE is x86 Linux supporting 32-bit protocol
56
57 --is-x86-kfreebsd
58 Check if FILE is x86 kFreeBSD
59
60 --is-i386-kfreebsd
61 Check if FILE is i386 kFreeBSD
62
63 --is-x86_64-kfreebsd
64 Check if FILE is x86_64 kFreeBSD
65
66 --is-x86-knetbsd
67 Check if FILE is x86 kNetBSD
68
69 --is-i386-knetbsd
70 Check if FILE is i386 kNetBSD
71
72 --is-x86_64-knetbsd Check if FILE is x86_64 kNetBSD
73
74 --is-i386-efi
75 Check if FILE is i386 EFI file
76
77 --is-x86_64-efi
78 Check if FILE is x86_64 EFI file
79
80 --is-ia64-efi
81 Check if FILE is IA64 EFI file
82
83 --is-arm64-efi
84 Check if FILE is ARM64 EFI file
85
86 --is-arm-efi
87 Check if FILE is ARM EFI file
88
89 --is-riscv32-efi
90 Check if FILE is RISC-V 32bit EFI file
91
92 --is-riscv64-efi
93 Check if FILE is RISC-V 64bit EFI file
94
95 --is-hibernated-hiberfil
96 Check if FILE is hiberfil.sys in hibernated state
97
98 --is-x86_64-xnu
99 Check if FILE is x86_64 XNU (Mac OS X kernel)
100
101 --is-i386-xnu
102 Check if FILE is i386 XNU (Mac OS X kernel)
103
104 --is-xnu-hibr
105 Check if FILE is XNU (Mac OS X kernel) hibernated image
106
107 --is-x86-bios-bootsector
108 Check if FILE is BIOS bootsector
109
110 -h, --help Display this help and exit. -u, --usage
111 Display the usage of this command and exit.
112
114 The full documentation for grub-file is maintained as a Texinfo manual.
115 If the info and grub-file programs are properly installed at your site,
116 the command
117
118 info grub-file
119
120 should give you access to the complete manual.
121
122
123
124GRUB 2.06 January 2023 GRUB-FILE(1)