Your company here — click to reach over 10,000 unique daily visitors

grub2-emu - Man Page

GRUB emulator


grub-emu [OPTION...]


GRUB emulator.

-d,  --directory=DIR

use GRUB files in the directory DIR [default=/boot/grub2]

-H,  --hold[=SECS]

wait until a debugger will attach


use FILE as memdisk

-m,  --device-map=FILE

use FILE as the device map [default=/boot/grub2/device.map]

-r,  --root=DEVICE_NAME

Set root device.

-v,  --verbose

print verbose messages.

-W,  --switch-root

use switch-root to only switch root filesystem without restarting the kernel.

-X,  --kexec

use kexec to boot Linux kernels via systemctl (pass twice to enable dangerous fallback to non-systemctl).

-?,  --help

give this help list


give a short usage message

-V,  --version

print program version

Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.

Reporting Bugs

Report bugs to <bug-grub@gnu.org>.

See Also

If you are trying to install GRUB, then you should use grub-install(8) rather than this program.

The full documentation for grub-emu is maintained as a Texinfo manual.  If the info and grub-emu programs are properly installed at your site, the command

info grub-emu

should give you access to the complete manual.


July 2024 GRUB 2.06