Linux Commands Examples

A great documentation place for Linux commands

grub-mkrescue

make a GRUB rescue image


see also : grub-mkimage

Synopsis

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!

examples

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

description

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

print this message and exit

-v, --version

print the version information and exit

-o, --output=FILE

save output in FILE [required]

--modules=MODULES

pre-load specified modules MODULES

--rom-directory=DIR

save ROM images in DIR [optional]

--xorriso=FILE

use FILE as xorriso [optional]

--grub-mkimage=FILE

use FILE as grub-mkimage

--diet

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

grub-mkimage

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