# phpman > man > grub-mkstandalone(1)

[GRUB-MKSTANDALONE(1)](https://www.chedong.com/phpMan.php/man/GRUB-MKSTANDALONE/1/markdown)                        User Commands                       [GRUB-MKSTANDALONE(1)](https://www.chedong.com/phpMan.php/man/GRUB-MKSTANDALONE/1/markdown)



## NAME
       grub-mkstandalone - make a memdisk-based GRUB image

## SYNOPSIS
       **grub-mkstandalone** [_OPTION_...] [_OPTION_] _SOURCE_...

## DESCRIPTION
       Generate a standalone image (containing all modules) in the selected format

       **--compress**=_no_|xz|gz|lzo
              compress GRUB files [optional]

### --disable-shim-lock
              disable shim_lock verifier

       **--dtb**=_FILE_
              embed a specific DTB

### -d --directory
              use images and modules under DIR [default=/usr/lib/grub/<platform>]

       **--fonts**=_FONTS_
              install FONTS [default=unicode]

       **--install-modules**=_MODULES_
              install only MODULES and their dependencies [default=all]

### -k --pubkey
              embed FILE as public key for signature checking

       **--locale-directory**=_DIR_ use translations under DIR
              [default=/usr/share/locale]

       **--locales**=_LOCALES_
              install only LOCALES [default=all]

       **--modules**=_MODULES_
              pre-load specified modules MODULES

       **--sbat**=_FILE_
              SBAT metadata

       **--themes**=_THEMES_
              install THEMES [default=starfield]

### -v --verbose
              print verbose messages.

       **--core-compress**=_xz_|none|auto
              choose the compression to use for core image

### -o --output
              save output in FILE [required]

### -O --format
              generate an image in FORMAT available formats: i386-coreboot, i386-multiboot, i386-pc,
              i386-xen_pvh,  i386-pc-pxe,  i386-pc-eltorito,  i386-efi,  i386-ieee1275,   i386-qemu,
              x86_64-efi,   i386-xen,   x86_64-xen,  mipsel-yeeloong-flash,  mipsel-fuloong2f-flash,
              mipsel-loongson-elf, powerpc-ieee1275, sparc64-ieee1275-raw,  sparc64-ieee1275-cdcore,
              sparc64-ieee1275-aout,    ia64-efi,    mips-arc,   mipsel-arc,   mipsel-qemu_mips-elf,
              mips-qemu_mips-flash, mipsel-qemu_mips-flash, mips-qemu_mips-elf, arm-uboot, arm-core‐
              boot-vexpress, arm-coreboot-veyron, arm-efi, arm64-efi, riscv32-efi, riscv64-efi

       -?, **--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 corre‐
       sponding short options.

       Graft point syntax (E.g. _/boot/grub/grub_.cfg=./grub.cfg) is accepted

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

## SEE ALSO
       [**grub-mkimage**(1)](https://www.chedong.com/phpMan.php/man/grub-mkimage/1/markdown)

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

              **info** **grub-mkstandalone**

       should give you access to the complete manual.



GRUB 2.06-2ubuntu7.2                        December 2022                       [GRUB-MKSTANDALONE(1)](https://www.chedong.com/phpMan.php/man/GRUB-MKSTANDALONE/1/markdown)
