summaryrefslogtreecommitdiff
path: root/usr/src/man/man1m/itu.1m
blob: 6b4d2ea70a42a62b72de01417410676415922de5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
'\" te
.\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
.TH ITU 1M "Sep 23, 2009"
.SH NAME
itu \- convert packages to Driver Update format and patch Solaris install media
for Install Time Update
.SH SYNOPSIS
.LP
.nf
\fBitu makedu\fR \fB-r\fR \fIsolaris_release\fR [\fB-v\fR] [\fB-f\fR] [\fB-d\fR \fIoutput_dir\fR] [\fB-o\fR \fIiso_file\fR]
     [\fB-l\fR \fIiso_label\fR] \fIpackage\fR [\fIpackage\fR...]
.fi

.LP
.nf
\fBitu updatemedia\fR \fB-R\fR \fImedia_root\fR [\fB-v\fR] [\fB-f\fR] [\fB-o\fR \fIiso_file\fR]
     [\fB-l\fR \fIiso_label\fR] \fIpkg\fR [\fIpkg\fR...]
.fi

.LP
.nf
\fBitu makeiso\fR \fB-o\fR \fIiso_file\fR [\fB-v\fR] [\fB-l\fR \fIiso_label\fR] \fImedia_root\fR
.fi

.SH DESCRIPTION
.sp
.LP
The \fBitu\fR utility converts driver packages to Driver Update (DU) format and
patches a Solaris install media with driver packages for Install Time Update
(ITU). \fBitu\fR has three subcommands: \fBmakedu\fR, \fBupdatemedia\fR and
\fBmakeiso\fR.
.SH OPTIONS
.sp
.LP
The following options are supported:
.sp
.ne 2
.na
\fB\fB-d\fR \fIoutput_dir\fR\fR
.ad
.sp .6
.RS 4n
Directory where the Driver Update directory is to be created.
.RE

.sp
.ne 2
.na
\fB\fB-f\fR\fR
.ad
.sp .6
.RS 4n
If \fIoutput_dir\fR/DU or \fIiso_file\fR already exists, remove it without
asking first.
.RE

.sp
.ne 2
.na
\fB\fB-l\fR \fIiso_label\fR\fR
.ad
.sp .6
.RS 4n
Label/volume name of the ISO image (if \fB-o\fR option is specified).
.RE

.sp
.ne 2
.na
\fB\fB-o\fR \fIiso_file\fR\fR
.ad
.sp .6
.RS 4n
Path of the ISO image file to be created. For subcommands \fBupdatemedia\fR and
\fBmakeiso\fR, it will be a bootable ISO image. This option must be specified
for subcommand \fBmakeiso\fR.
.RE

.sp
.ne 2
.na
\fB\fB-R\fR \fImedia_root\fR\fR
.ad
.sp .6
.RS 4n
Top-level directory of on-disk image of Solaris installation media. This option
must be specified for subcommand \fBupdatemedia\fR.
.RE

.sp
.ne 2
.na
\fB\fB-r\fR \fIsolaris_release\fR\fR
.ad
.sp .6
.RS 4n
Solaris release number for which the Driver Update is intended. It takes the
form of the output of \fBuname\fR \fB-r\fR, for example, \fB5.10\fR. This
option must be specified for subcommand \fBmakedu\fR.
.RE

.sp
.ne 2
.na
\fB\fB-v\fR\fR
.ad
.sp .6
.RS 4n
Verbose. Multiple \fB-v\fR options increase verbosity.
.RE

.SH SUB-COMMANDS
.sp
.LP
The \fBitu\fR subcommands are described as follows.
.SS "\fBmakedu\fR"
.sp
.LP
The \fBmakedu\fR subcommand takes one or more driver packages as input and
converts them to DU format. At the beginning of an interactive Solaris
installation session, these driver updates can be applied to the running
kernel, which will then also automatically apply them to the newly installed
Solaris at the end of the installation process.
.sp
.LP
The \fB-r\fR option is required to specify the Solaris release number for which
the driver updates apply. The \fIsolaris_release\fR option argument takes the
form \fBuname\fR \fB-r\fR output, for example, \fB5.10\fR or \fB5.11\fR.
.sp
.LP
If the \fB-d\fR option is specified, the resulting DU directory tree is placed
in the directory \fIoutput_dir\fR.
.sp
.LP
If the \fB-o\fR option is specified, a (non-bootable) ISO image of the DU
directory tree is written in the file \fIiso_file\fR. This ISO image can be
burned onto a CD/DVD using \fBcdrw\fR(1) or \fBcdrecord(1)\fR (not a SunOS man
page). See the "Examples" section below for an example of creating a DU on a
floppy.
.sp
.LP
At least one of \fB-d\fR and \fB-o\fR option must be specified. If both are
specified, then both an ISO image and a directory tree are generated.
.SS "\fBupdatemedia\fR"
.sp
.LP
The \fBupdatemedia\fR subcommand takes a list of driver packages as input and
applies them to the miniroot of a Solaris install media. It also places them in
a subdirectory called \fBITUs\fR under the Solaris install media's top-level
directory:
.sp
.in +2
.nf
\fImedia_root\fR/ITUs
.fi
.in -2
.sp

.sp
.LP
When booting a system from the updated media, the  packages will be part of the
booted Solaris image. They will also be applied to the target system being
installed at the end of the installation process.
.sp
.LP
The \fB-R\fR option must be entered on the command line to specify the Solaris
install media. Note that the install media must be on a location that is
writable by \fBitu\fR.
.sp
.LP
If the \fB-o\fR option is specified, a bootable ISO image of the patched
install media is also created in the file \fIiso_file\fR. The ISO image can
then be burned onto a CD or DVD.
.SS "\fBmakeiso\fR"
.sp
.LP
The \fBmakeiso\fR subcommand runs \fBmkisofs(8)\fR to create a bootable Solaris
ISO image of the Solaris install media \fImedia_root\fR and writes it to the
file \fIiso_file\fR. The ISO image file can then be burned onto a CD or DVD
with utilities such as \fBcdrw\fR(1) or \fBcdrecord(1)\fR. (Note that
\fBmkisofs(8)\fR and \fBcdrecord(1)\fR are not SunOS man pages.)
.LP
Caution -
.sp
.RS 2
The Solaris install media \fImedia-root\fR must contain the file
\fBboot/grub/stage2_eltorito\fR, which will be written to the media boot
sectors. This file will be modified with some boot information, thus it has to
be writable. If necessary, first save a copy, prior to running this subcommand.
.RE
.SH OPERANDS
.sp
.LP
The following operands are supported:
.sp
.ne 2
.na
\fB\fIpackage\fR [\fIpackage\fR...]\fR
.ad
.sp .6
.RS 4n
One or more driver packages.
.RE

.sp
.ne 2
.na
\fB\fIpkg\fR [\fIpkg\fR...]\fR
.ad
.sp .6
.RS 4n
One or more packages.
.RE

.sp
.ne 2
.na
\fB\fImedia_root\fR\fR
.ad
.sp .6
.RS 4n
The top-level directory of a Solaris install media.
.RE

.SH EXAMPLES
.LP
\fBExample 1 \fRCreating a DU CD/DVD
.sp
.LP
The following commands create a Driver Update CD/DVD containing the packages
\fBSAMPLEpkg1\fR and \fBSAMPLEpkg2\fR.

.sp
.in +2
.nf
# \fBitu makedu -r 5.10 -o my.iso SAMPLEpkg1 SAMPLEpkg2\fR
# \fBcdrw -i my.iso\fR
.fi
.in -2
.sp

.LP
\fBExample 2 \fRCreating a DU Floppy
.sp
.LP
The following commands create a Driver Update floppy containing the driver
package \fBMYdriver\fR.

.sp
.in +2
.nf
# \fBrmformat -F quick /dev/rdiskette\fR
# \fBmkfs -F pcfs /dev/rdiskette\fR
# \fBmount -F pcfs /dev/diskette /mnt\fR
# \fB/usr/bin/itu makedu -r 5.10 -d /mnt /export/MYdriver\fR
# \fBumount /mnt\fR
# \fBdd if=/dev/rdiskette of=floppy.dd\fR
.fi
.in -2
.sp

.sp
.LP
The \fBitu\fR command above creates the DU directly onto the floppy mounted on
\fB/mnt\fR. The \fBdd\fR invocation stores an image of the floppy in the file
\fBfloppy.dd\fR. This is useful for distributing a DU floppy in file form. From
the file, the floppy can then be recreated as follows:

.sp
.in +2
.nf
# \fBdd if=floppy.dd of=/dev/rdiskette\fR
.fi
.in -2
.sp

.LP
\fBExample 3 \fRCreating a Bootable ISO Image
.sp
.LP
The following commands create the bootable ISO image \fBmydvd.iso\fR of the
Solaris install image \fB/export/solaris-10u1\fR with ISO label
"\fBSpecial-S10\fR".

.sp
.in +2
.nf
# \fB/usr/bin/itu makeiso -o mydvd.iso -l "Special-S10" \e
     /export/solaris-10u1\fR
# \fBcdrw -i mydvd.iso\fR
.fi
.in -2
.sp

.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp

.sp
.TS
box;
c | c
l | l .
ATTRIBUTE TYPE	ATTRIBUTE VALUE
_
Interface Stability	Committed
.TE

.SH SEE ALSO
.sp
.LP
\fBcdrw\fR(1), \fBpkgadd\fR(1M), \fBattributes\fR(5)
.sp
.LP
\fBmkisofs(8)\fR, (\fB/usr/share/man/man8/mkisofs.8\fR), in the
\fBSUNWfsman\fR package (not a SunOS man page)