File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ # grub-mkrescue
2
+
3
+ > Make a GRUB CD/USB/floppy bootable image.
4
+ > More information: < https://www.gnu.org/software/grub/manual/grub/grub.html#Invoking-grub_002dmkrescue > .
5
+
6
+ - Create a bootable ISO from the current directory and save it as ` grub.iso ` :
7
+
8
+ ` grub-mkrescue --output {{grub.iso}} . `
9
+
10
+ - Create an ISO using GRUB files from a custom directory:
11
+
12
+ ` grub-mkrescue --directory {{/usr/lib/grub/i386-pc}} --output {{grub.iso}} {{path/to/source}} `
13
+
14
+ - Use compression for GRUB files when building the image, setting ` no ` disables compression:
15
+
16
+ ` grub-mkrescue --compress {{no|xz|gz|lzo}} --output {{grub.iso}} {{path/to/source}} `
17
+
18
+ - Disable the GRUB command-line interface in the generated image:
19
+
20
+ ` grub-mkrescue --disable-cli --output {{grub.iso}} {{path/to/source}} `
21
+
22
+ - Preload specific GRUB modules into the image:
23
+
24
+ ` grub-mkrescue --modules "{{part_gpt iso9660}}" --output {{grub.iso}} {{path/to/source}} `
25
+
26
+ - Pass additional options directly to ` xorriso ` :
27
+
28
+ ` grub-mkrescue --output {{grub.iso}} -- {{-volid}} {{volume_name}} {{path/to/source}} `
29
+
30
+ - Display help:
31
+
32
+ ` grub-mkrescue {{[-?|--help]}} `
33
+
34
+ - Display version:
35
+
36
+ ` grub-mkrescue --version `
You can’t perform that action at this time.
0 commit comments