Linux Commands Examples

A great documentation place for Linux commands


make a GRUB rescue image

see also : grub-mkimage


grub-mkrescue [OPTION] SOURCE...

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


cp bin/initrd/initrd.img build/iso/initrd
grub-mkrescue -o alphaos.iso build/iso/
qemu-system-i386 alphaos.iso
cp grub.cfg isodir/boot/grub/grub.cfg
grub-mkrescue -o myos.iso isodir
rm -rf isodir


Make GRUB CD-ROM, disk, pendrive and floppy bootable image.
, --help

print this message and exit

-v, --version

print the version information and exit

-o, --output=FILE

save output in FILE [required]


pre-load specified modules MODULES


save ROM images in DIR [optional]


use FILE as xorriso [optional]


use FILE as grub-mkimage


apply size reducing measures [optional]

xorriso -as mkisofs -help generates a bootable rescue image with specified source files, source directories, or mkisofs options listed by the output of ’grub-mkrescue’

Option -- switches to native xorriso command mode.

reporting bugs

Report bugs to <bug-grub[:at:]gnu[:dot:]org>.
Mail xorriso support requests to <bug-xorriso[:at:]gnu[:dot:]org>.

see also


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

info grub-mkrescue

should give you access to the complete manual.

How can this site be more helpful to YOU ?

give  feedback