Support arbitrary grml2usb options in grml2iso
[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. You can specify
20 two or more grml ISOs and will get one single multiboot ISO as a result.
21 grml2iso requires and uses grml2usb for this task and installs grub2
22 as bootmanager on the multiboot ISO.
23
24 Options
25 -------
26
27 grml2iso supports the environment variables GRML2USB and WRKDIR.
28 GRML2USB specifies the path to the grml2usb script you'd like to use.
29 WRKDIR specifies the work directory for creating the filesystem.
30 The work directory needs at least as much free disk space as the sum
31 of all specified ISOs.
32
33   *\-o <target.iso>*::
34
35 This option is mandatory and specifies where the resulting multiboot grml ISO
36 should be placed. Note that (to avoid any possible data loss) grml2iso will exit
37 if the specified target.iso exists already.
38
39   *\-c <directory>*::
40
41 The content of the specified directory will be copied to the resulting
42 multiboot grml ISO.
43
44   *\-b <boot params>*::
45
46 Use specified default bootoptions as default.
47
48   *\-f *::
49
50 Force the program to run and overwrite an existing iso image.
51
52   *\-r <boot param>*::
53
54 Remove specified boot parameter from existing command line. Could be specified multiple times.
55
56   *\-p <grml2usb param>*::
57
58 Execute grml2usb with the specified parameters. For a list of valid parameters have a look at the link:http://grml.org/grml2usb/[grml2usb webpage] or the grml2usb manpage
59
60
61
62 Usage examples
63 --------------
64
65   # grml2iso -o /tmp/grml.iso grml_2009.05.iso grml64_2009.05.iso
66
67 Create multiboot ISO /tmp/grml.iso with grml_2009.05.iso and grml64_2009.05.iso.
68
69  # grml2iso -b 'lang=de ssh=passwd' -c /tmp/grml-content -o /srv/grml.iso /srv/grml/grml_2009.10.iso
70
71 Create a new iso with additional boot parameters and copy the content from /tmp/grml-content to the generated iso image.
72
73   # grml2iso -r quiet -r vga=791 -o /srv/grml.iso /srv/grml-small_2009.10.iso
74
75 Create a new iso and remove existing boot parameters quiet and vga=791.
76
77   # GRML2USB=/srv/git/grml2usb grml2iso -o /srv/grml.iso /srv/grml/grml_2009.05.iso /srv/grml/grml64-medium_2009.05.iso
78
79 Create multiboot ISO /srv/grml.iso with grml_2009.05.iso and
80 grml64-medium_2009.05.iso using /srv/git/grml2usb as grml2usb script.
81
82   # WRKDIR=/mnt/test/grml-tmp grml2iso -o /mnt/test/grml.iso grml_2009.05.iso grml64_2009.05.iso
83
84 Use /mnt/test/grml-tmp as working directory for creating the multiboot ISO
85 /mnt/test/grml.iso with grml_2009.05.iso and grml64_2009.05.iso.
86
87   # grml2iso -p --skip-addons -o /srv/grml.iso /srv/grml-small_2009.10.iso /srv/grml64-small_2009.10.iso
88
89 Don't copy the addons from the specified iso images
90
91
92 Online Ressources
93 -----------------
94
95 Check out the link:http://grml.org/grml2usb/[grml2usb webpage] and the
96 link:http://git.grml.org/?p=grml2usb.git[grml2usb git repository].
97
98 Bugs
99 ----
100 Please report feedback, bugreports and wishes <<X7,to the author>>.
101
102 [[X7]]
103 Authors
104 -------
105 Michael Prokop <mika@grml.org> and Thorsten Glaser <tg@mirbsd.org>