GRUB-EMU(1)

πŸ’– GRUB-EMU ✨

okay bestie, welcome to grub-emu β€” the GRUB emulator πŸ‘‘ (yes, from the User Commands corner of your manual, the GRUB fam πŸ’…)


🌸 SYNOPSIS 🌸

grub-emu [OPTION...]

that's it. that's the whole vibe. options go in, emulator comes out πŸ¦‹


✨ DESCRIPTION ✨

so like. it's a GRUB emulator πŸŽ€ that's the main character energy right there.

🫢 the options (yes, all of them, no skips)

  • -d, --directory=DIR β€” use the GRUB files chillin' in the directory DIR πŸ’– [default=/boot/grub2]
  • -H, --hold[=SECS] β€” just… wait. hold still until a debugger attaches πŸ™ˆ
  • --memdisk=FILE β€” use FILE as the memdisk ⭐
  • -m, --device-map=FILE β€” use FILE as the device map 🌈 [default=/boot/grub2/device.map]
  • -r, --root=DEVICE_NAME β€” set the root device, periodt πŸ‘‘
  • -v, --verbose β€” print verbose messages, aka it will not stop yapping πŸ’¬
  • -W, --switch-root β€” use switch-root so you only switch the root filesystem without restarting the kernel 🧚 lowkey elegant
  • -X, --kexec β€” use kexec to boot Linux kernels via systemctl πŸ”₯ (pass it twice to enable the dangerous fallback to non-systemctl… bestie, they said dangerous, so like, be careful πŸ’€)
  • -?, --help β€” give this help list πŸ₯°
  • --usage β€” give a short usage message πŸ“
  • -V, --version β€” print program version, slay πŸ’…
heads up: mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. the rules do not change just because the flag got shorter, iykyk ✨

😭 REPORTING BUGS 😭

found a bug? spill the tea to <bug-grub@gnu.org> πŸ“§


πŸ¦‹ SEE ALSO πŸ¦‹

if you're trying to install GRUB, then bestie you should be using grub-install(8) and not this program πŸ™ˆ fr fr, wrong tool for the job.

the full documentation for grub-emu is maintained as a Texinfo manual πŸ“š and if the info and grub-emu programs are properly installed at your site, then this command:

info grub-emu

should give you access to the complete manual πŸ’œ


and that's the whole page πŸŽ€ this was GRUB 2.12, dated April 2026, filed under GRUB-EMU(1) β€” ty for coming to my ted talk, go emulate something iconic, mwah πŸ’–βœ¨πŸ«Ά

πŸ“¦ where this page comes from