grub-mkrescue
Make a GRUB CD/USB/floppy bootable image. tldr-pages
On Linux
Linux
Create a bootable ISO from the current directory and save it as grub.iso
grub-mkrescue --output grub.iso .IdentifyCreate an ISO using GRUB files from a custom directory
grub-mkrescue --directory /usr/lib/grub/i386-pc --output grub.iso path/to/sourceIdentifyUse compression for GRUB files when building the image, setting no disables compression
grub-mkrescue --compress no --output grub.iso path/to/sourceIdentifyDisable the GRUB command-line interface in the generated image
grub-mkrescue --disable-cli --output grub.iso path/to/sourceIdentifyPreload specific GRUB modules into the image
grub-mkrescue --modules "part_gpt iso9660" --output grub.iso path/to/sourceIdentifyPass additional options directly to xorriso
grub-mkrescue --output grub.iso -- -volid volume_name path/to/sourceIdentifyDisplay help
grub-mkrescue --helpIdentifyDisplay version
grub-mkrescue --versionIdentify