Reference

grub-emu(1)

GRUB emulator

NAME

grub-emu - GRUB emulator

SYNOPSIS

grub-emu [OPTION...]

DESCRIPTION

GRUB emulator.

-d, --directory=DIR

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

-H, --hold[=SECS]

wait until a debugger will attach

--memdisk=FILE

use FILE as memdisk

-m, --device-map=FILE

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

-r, --root=DEVICE_NAME

Set root device.

-v, --verbose

print verbose messages.

-X, --kexec

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

-?, --help

give this help list

--usage

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 <[email protected]>.

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.

History

--kexec since Debian 13 (Trixie); --memdisk since Debian 9 (Stretch); --root since Debian 8 (Jessie); --usage since Debian 8 (Jessie); -? since Debian 8 (Jessie); -X since Debian 13 (Trixie).

--root-device until Debian 7 (Wheezy); -h until Debian 7 (Wheezy).