grub-mkrescue
Make a GRUB CD/USB/floppy bootable image. More information: https://www.gnu.org/software/grub/manual/grub/grub.html#Invoking-grub_002dmkrescue.
- Create a bootable ISO from the current directory and save it as
grub.iso:
grub-mkrescue --output .
- Create an ISO using GRUB files from a custom directory:
grub-mkrescue --directory --output
- Use compression for GRUB files when building the image, setting
nodisables compression:
grub-mkrescue --compress --output
- Disable the GRUB command-line interface in the generated image:
grub-mkrescue --disable-cli --output
- Preload specific GRUB modules into the image:
grub-mkrescue --modules "" --output
- Pass additional options directly to
xorriso:
grub-mkrescue --output --
- Display help:
grub-mkrescue
- Display version:
grub-mkrescue --version
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
