Release new version 0.19.0
[grml2usb.git] / grml2iso.8.txt
1 grml2iso(8)
2 ===========
3
4 Name
5 ----
6 grml2iso - create a multiboot Grml ISO using grml2usb
7
8 Synopsis
9 --------
10 grml2iso -o <target.iso> <ISO[s]>
11
12 *******************************************************************************
13 Important! The Grml team does not take responsibility for loss of any data!
14 *******************************************************************************
15
16 Introduction
17 ------------
18
19 grml2iso allows you to create a multiboot Grml ISO.
20 You can specify two or more Grml ISOs and will get one single multiboot ISO as a result.
21 grml2iso requires and uses grml2usb for this task.
22
23 Important
24 ---------
25
26 The order of the provided ISOs matters for two reasons:
27
28 1) order in boot menu entries: the first ISO specified is listed as first (default) option in the boot menu, further ISOs will be listed below as next options
29
30 2) EFI image to be used: the EFI image for booting via (U)EFI will be taken from the last provided ISO.
31 Therefore to be able to boot on 64bit EFI systems, you need to provide a 64bit ISO (like grml64-small or grml64-full) as _last_ ISO in the grml2iso command line.
32
33 Options
34 -------
35
36 grml2iso supports the environment variables GRML2USB and WRKDIR.
37 GRML2USB specifies the path to the grml2usb script you'd like to use.
38 WRKDIR specifies the work directory for creating the filesystem.
39 The work directory needs at least as much free disk space as the sum of all specified ISOs.
40
41   *-o <target.iso>*::
42
43 This option is mandatory and specifies where the resulting multiboot Grml ISO should be placed.
44 Note that (to avoid any possible data loss) grml2iso will exit if the specified target.iso exists already.
45
46   *-c <directory>*::
47
48 The content of the specified directory will be copied to the resulting multiboot Grml ISO.
49
50   *-b <boot params>*::
51
52 Use specified default bootoptions as default.
53
54   *-f*::
55
56 Force the program to run and overwrite an existing ISO image.
57
58   *-r <boot param>*::
59
60 Remove specified boot parameter from existing command line.
61 Can be specified multiple times.
62
63   *-p <grml2usb param>*::
64
65 Execute grml2usb with the specified parameters.
66 For a list of valid parameters have a look at the grml2usb(8) manual page.
67
68   *-s <URI>*::
69
70 Generate a small ISO file which downloads the squashfs file from the specified URI.
71 Due to current limitations in busyboxs wget and DNS resolution, an URL can not contain a hostname but an IP only.
72 This is useful if you want to boot systems which support booting ISO image from your local system.
73 Besides the ISO image this command also copies the squashfs file to the output directory.
74
75 Usage examples
76 --------------
77
78   # grml2iso -o /tmp/grml-multiboot.iso grml32-small_2020.06.iso grml64-small_2020.06.iso
79
80 Create multiboot ISO /tmp/grml-multiboot.iso with grml32-small_2020.06.iso and grml64-small_2020.06.iso.
81
82  # grml2iso -b 'lang=de ssh=passwd' -c /tmp/grml-content -o /srv/grml-multiboot.iso /srv/grml/grml32-small_2020.06.iso
83
84 Create a new ISO with additional boot parameters and copy the content from /tmp/grml-content to the generated ISO image.
85
86   # grml2iso -r quiet -r vga=791 -o /srv/grml-multiboot.iso /srv/grml64-small_2020.06.iso
87
88 Create a new ISO and remove existing boot parameters quiet and vga=791.
89
90   # GRML2USB=/srv/git/grml2usb/grml2usb grml2iso -o /srv/grml-multiboot.iso /srv/grml/grml32-small_2020.06.iso /srv/grml/grml64-medium_2020.06.iso
91
92 Create multiboot ISO /srv/grml-multiboot.iso with grml32-small_2020.06.iso and grml64-medium_2020.06.iso using /srv/git/grml2usb/grml2usb as grml2usb script.
93
94   # WRKDIR=/mnt/test/grml-tmp grml2iso -o /mnt/test/grml-multiboot.iso grml32-small_2020.06.iso grml64-small_2020.06.iso
95
96 Use /mnt/test/grml-tmp as working directory for creating the multiboot ISO /mnt/test/grml-multiboot.iso with grml32-small_2020.06.iso and grml64-small_2020.06.iso.
97
98   # grml2iso -p --skip-addons -o /srv/grml-multiboot.iso /srv/grml64-small_2020.06.iso /srv/grml64-small_2020.06.iso
99
100 Don't copy the addons from the specified ISO images
101
102 Bugs
103 ----
104 Please report feedback, bug reports and wishes at https://github.com/grml/grml2usb/
105
106 [[X7]]
107 Author
108 ------
109 Michael Prokop <mika@grml.org>