rev |
line source |
domcox@0
|
1 <!DOCTYPE html>
|
domcox@0
|
2 <html xmlns="http://www.w3.org/1999/xhtml">
|
domcox@0
|
3 <head>
|
domcox@0
|
4 <title>Tazinst Manual - Manual for 'tazinst' installer</title>
|
domcox@0
|
5 <meta charset="utf-8" />
|
domcox@0
|
6 <link rel="shortcut icon" href="favicon.ico" />
|
domcox@0
|
7 <link rel="stylesheet" type="text/css" href="style.css" />
|
domcox@0
|
8 </head>
|
domcox@0
|
9 <body>
|
domcox@0
|
10
|
domcox@0
|
11 <!-- Header -->
|
domcox@0
|
12 <div id="header">
|
domcox@0
|
13 <h1>Tazinst Manual</h1>
|
domcox@0
|
14 </div>
|
domcox@0
|
15
|
domcox@0
|
16 <!-- Start content -->
|
domcox@0
|
17 <div id="content">
|
domcox@0
|
18
|
domcox@0
|
19 <h2>NAME</h2>
|
domcox@0
|
20 <p>
|
domcox@0
|
21 Tazinst - Tiny autonomous zone installer manager
|
domcox@0
|
22 </p>
|
domcox@0
|
23
|
domcox@0
|
24 <h2>SYNTAX</h2>
|
domcox@0
|
25 <pre>
|
domcox@2
|
26 tazinst [command] <setting> <value> <file>
|
domcox@0
|
27 </pre>
|
domcox@0
|
28
|
domcox@0
|
29 <h2>DESCRIPTION</h2>
|
domcox@0
|
30 <p>
|
domcox@2
|
31 Tazinst is a lightweight SliTaz HDD installer. It installs SliTaz
|
domcox@2
|
32 to a hard drive from a local media like a Live-CD, a LiveUSB key, an ISO
|
domcox@2
|
33 image located on one of your disks, or from the web by automatically
|
domcox@2
|
34 downloading a SliTaz image.
|
domcox@0
|
35 </p>
|
domcox@0
|
36 <p>
|
domcox@2
|
37 Tazinst can format the target partition to ext2, ext3 or ext4. The home
|
domcox@2
|
38 partition can be installed on another partition and if need be, formatted
|
domcox@2
|
39 before installation into any one of the available formats. Tazinst may
|
domcox@2
|
40 upon request install a bootloader on the target disk. A dual-boot with an
|
domcox@2
|
41 existing Windows<sup>™</sup> partition is possible, finding the
|
domcox@2
|
42 Windows<sup>™</sup> partition can either be done automatically or
|
domcox@2
|
43 manually specified.
|
domcox@0
|
44 </p>
|
domcox@0
|
45 <p>
|
domcox@0
|
46 Tazinst can also update SliTaz installed on a hard disk partition which is
|
domcox@0
|
47 handy in case of version changes. In this case, Slitaz is updated, data in
|
domcox@0
|
48 /home is preserved and additional packages are reinstalled on to the new
|
domcox@0
|
49 version.
|
domcox@0
|
50 </p>
|
domcox@0
|
51 <p>
|
domcox@2
|
52 Tazinst was created independently for the needs of the SliTaz GNU/Linux
|
domcox@2
|
53 mini distribution.
|
domcox@0
|
54 </p>
|
domcox@0
|
55 <p>
|
domcox@0
|
56 Tazinst is written from scratch in shell script and is compatible with
|
domcox@0
|
57 Busybox Ash and Bash. Tazinst is licensed under the GNU Free gpl v3.
|
domcox@0
|
58 </p>
|
domcox@2
|
59 <h3>Known limitations</h3>
|
domcox@2
|
60 <p>
|
domcox@2
|
61 Tazinst doesn't allow SliTaz to boot on (U)EFI systems (mostly
|
domcox@2
|
62 Windows<sup>™ </sup>8 systems), except in BIOS compatibility mode.
|
domcox@2
|
63 </p>
|
domcox@0
|
64
|
domcox@2
|
65
|
domcox@2
|
66
|
domcox@2
|
67 <h2>SETTINGS</h2>
|
domcox@2
|
68
|
domcox@0
|
69 <p>
|
domcox@0
|
70 Tazinst installer is able to perform an installation automatically based on
|
domcox@2
|
71 a few settings.
|
domcox@2
|
72 </p>
|
domcox@0
|
73
|
domcox@2
|
74 <a id="mode"></a>
|
domcox@2
|
75 <h3>mode</h3>
|
domcox@2
|
76 <p>
|
domcox@2
|
77 Mode of install that will be performed by tazinst. Type <strong><code>
|
domcox@2
|
78 tazinst help mode</code></strong> in order to have a list of supported
|
domcox@2
|
79 modes.
|
domcox@0
|
80 </p>
|
domcox@2
|
81
|
domcox@2
|
82 <a id="media"></a>
|
domcox@2
|
83 <h3>media</h3>
|
domcox@0
|
84 <p>
|
domcox@2
|
85 The media containing the SliTaz source files, either: <strong>cdrom</strong>
|
domcox@2
|
86 (SliTaz LiveCD), <strong>usb</strong> (SliTaz LiveUSB), <strong>iso</strong>
|
domcox@2
|
87 (ISO image of SliTaz), <strong>web</strong> (ISO image on the Web).
|
domcox@0
|
88 </p>
|
domcox@0
|
89
|
domcox@2
|
90 <a id="source"></a>
|
domcox@2
|
91 <h3>source</h3>
|
domcox@2
|
92 <p>
|
domcox@2
|
93 The name of the source file containing SliTaz.
|
domcox@2
|
94 It depends on the type of <strong>media</strong>:
|
domcox@2
|
95 <table>
|
domcox@2
|
96 <tr>
|
domcox@2
|
97 <td>cdrom:</td>
|
domcox@2
|
98 <td><i>unused</i></td>
|
domcox@2
|
99 </tr>
|
domcox@2
|
100 <tr>
|
domcox@2
|
101 <td>usb:</td>
|
domcox@2
|
102 <td>name of the partition on the host USB device. Type <strong><code>
|
domcox@2
|
103 tazinst list usb</code></strong> to list USB partitions.</td>
|
domcox@2
|
104 </tr>
|
domcox@2
|
105 <tr>
|
domcox@2
|
106 <td>iso</td>
|
domcox@2
|
107 <td>name of the ISO file, ex: <strong><code>~/slitaz-rolling.iso</code>
|
domcox@2
|
108 </strong>. Type <code><strong>tazinst list iso</code></strong> to list
|
domcox@2
|
109 iso files on your disks.</code></strong></td>
|
domcox@2
|
110 </tr>
|
domcox@2
|
111 <tr>
|
domcox@2
|
112 <td>web</td>
|
domcox@2
|
113 <td>name of the image on the web, ex: <strong><code>stable cooking rolling
|
domcox@2
|
114 base core gtkonly justx</code></strong>, for a full list type <strong>
|
domcox@2
|
115 <code>tazinst list web</code></strong>, or enter the full URL of the image,
|
domcox@2
|
116 ex: <strong><code>
|
domcox@2
|
117 http://mirror.slitaz.org/iso/cooking/slitaz-cooking.iso</code></strong>.
|
domcox@2
|
118 </td>
|
domcox@2
|
119 </tr>
|
domcox@2
|
120 </table>
|
domcox@0
|
121 </ul>
|
domcox@2
|
122 </p>
|
domcox@0
|
123
|
domcox@2
|
124 <a id="root_uuid"></a>
|
domcox@2
|
125 <h3>root_uuid</h3>
|
domcox@2
|
126 <p>
|
domcox@2
|
127 The name of the target partition SliTaz will install to. Type <strong>
|
domcox@2
|
128 <code>tazinst list uuid</code></strong> to list partitions on your disks.
|
domcox@2
|
129 </p>
|
domcox@0
|
130
|
domcox@2
|
131 <a id="root_format"></a>
|
domcox@2
|
132 <h3>root_format</h3>
|
domcox@2
|
133 <p>
|
domcox@2
|
134 Optional. If this setting is used, the target partition will be formatted
|
domcox@2
|
135 in the file system specified, otherwise the partition will be cleaned and
|
domcox@2
|
136 /home will be preserved. Type <strong><code>tazinst help format</code>
|
domcox@2
|
137 </strong> to get the list of all supported filesystems, and <strong><code>
|
domcox@2
|
138 tazinst list root_format</code></strong> to see filesystems already
|
domcox@2
|
139 installed on your system.
|
domcox@2
|
140 </p>
|
domcox@0
|
141
|
domcox@2
|
142 <a id="home_uuid"></a>
|
domcox@2
|
143 <h3>home_uuid</h3>
|
domcox@2
|
144 <p>
|
domcox@2
|
145 Optional. A separate home partition may be created if needed. This setting
|
domcox@2
|
146 indicates if need be, the name of the partition to receive the /home
|
domcox@2
|
147 directory.
|
domcox@2
|
148 </p>
|
domcox@0
|
149
|
domcox@2
|
150 <a id="home_format"></a>
|
domcox@2
|
151 <h3>home_format</h3>
|
domcox@2
|
152 <p>
|
domcox@2
|
153 Optional. If this setting is used, and a separate /home partition will be
|
domcox@2
|
154 created, this partition will be formatted in the file system specified.
|
domcox@2
|
155 </p>
|
domcox@0
|
156
|
domcox@2
|
157 <a id="hostname"></a>
|
domcox@2
|
158 <h3>hostname</h3>
|
domcox@2
|
159 <p>
|
domcox@2
|
160 Optional. Name of the system, <strong><code>slitaz</code></strong> by
|
domcox@2
|
161 default.
|
domcox@2
|
162 </p>
|
domcox@0
|
163
|
domcox@2
|
164 <a id="root_pwd"></a>
|
domcox@2
|
165 <h3>root_pwd</h3>
|
domcox@2
|
166 <p>
|
domcox@2
|
167 Optional. Superuser password, <strong><code>root</code></strong>, by
|
domcox@2
|
168 default.
|
domcox@2
|
169 </p>
|
domcox@0
|
170
|
domcox@2
|
171 <a id="user_login"></a>
|
domcox@2
|
172 <h3>user_login</h3>
|
domcox@0
|
173 <p>
|
domcox@2
|
174 Optional. First user name, <strong><code>tux</code></strong> by default.
|
domcox@0
|
175 </p>
|
domcox@2
|
176
|
domcox@2
|
177 <a id="user_pwd"></a>
|
domcox@2
|
178 <h3>user_pwd</h3>
|
domcox@0
|
179 <p>
|
domcox@2
|
180 Optional. First user password, <strong><code>tux</code></strong> by default.
|
domcox@2
|
181 </p>
|
domcox@2
|
182
|
domcox@2
|
183 <a id="bootloader"></a>
|
domcox@2
|
184 <h3>bootloader</h3>
|
domcox@2
|
185 <p>
|
domcox@2
|
186 Optional. Install a bootloader. Usually you should set it to <strong><code>
|
domcox@2
|
187 auto</code></strong> unless you want to use an already installed bootloader
|
domcox@2
|
188 on your system, install a bootloader by hand yourself or install a specific
|
domcox@2
|
189 bootloader. In this case type <strong><code>tazinst help bootloader</code>
|
domcox@2
|
190 </strong> to list supported bootloaders.
|
domcox@2
|
191 </p>
|
domcox@2
|
192
|
domcox@2
|
193 <a id="winboot"></a>
|
domcox@2
|
194 <h3>winboot</h3>
|
domcox@2
|
195 <p>
|
domcox@2
|
196 Optional. If a bootloader is installed, this setting indicates the
|
domcox@2
|
197 partition containing Windows<sup>™</sup> to implement a dual-boot. It can
|
domcox@2
|
198 also be set to <strong><code>auto</code></strong>, in this case the
|
domcox@2
|
199 dual-boot will be on the first Windows<sup>™</sup> partition. Type <code>
|
domcox@2
|
200 <strong>tazinst list winboot</code></strong> to see values tazinst
|
domcox@2
|
201 automatically detects.
|
domcox@0
|
202 </p>
|
domcox@0
|
203
|
domcox@0
|
204 <h2>COMMANDS</h2>
|
domcox@0
|
205
|
domcox@0
|
206 <a id="new"></a>
|
domcox@0
|
207 <h3>new</h3>
|
domcox@0
|
208 <p>
|
domcox@2
|
209 Generates a new self-documenting install file, containing settings, which
|
domcox@2
|
210 when set up as required by the user, will allow tazinst to execute an
|
domcox@2
|
211 unattended installation. The default file is <code>./tazint.rc</code>, but
|
domcox@2
|
212 an optional file name may be given as a parameter.
|
domcox@0
|
213 </p>
|
domcox@2
|
214 <h5>Examples:</h5>
|
domcox@0
|
215 <pre>
|
domcox@2
|
216 tazinst new
|
domcox@0
|
217 tazinst new /var/lib/tazinst.conf
|
domcox@0
|
218 </pre>
|
domcox@0
|
219
|
domcox@2
|
220 <a id="set"></a>
|
domcox@2
|
221 <h3>set</h3>
|
domcox@0
|
222 <p>
|
domcox@2
|
223 Assign a new value to a given setting.
|
domcox@0
|
224 </p>
|
domcox@2
|
225 <h5>Examples:</h5>
|
domcox@0
|
226 <pre>
|
domcox@2
|
227 tazinst set mode install
|
domcox@2
|
228 tazinst set mode install /var/lib/tazinst.conf
|
domcox@0
|
229 </pre>
|
domcox@0
|
230
|
domcox@2
|
231 <a id="unset"></a>
|
domcox@2
|
232 <h3>unset</h3>
|
domcox@0
|
233 <p>
|
domcox@2
|
234 Unset, clear a setting.
|
domcox@0
|
235 </p>
|
domcox@2
|
236 <h5>Examples:</h5>
|
domcox@0
|
237 <pre>
|
domcox@2
|
238 tazinst unset mode
|
domcox@2
|
239 tazinst unset mode /var/lib/tazinst.conf
|
domcox@0
|
240 </pre>
|
domcox@0
|
241
|
domcox@2
|
242 <a id="get"></a>
|
domcox@2
|
243 <h3>get</h3>
|
domcox@0
|
244 <p>
|
domcox@2
|
245 Get the value of a setting. Without parameter, get the values of all
|
domcox@2
|
246 settings.
|
domcox@0
|
247 </p>
|
domcox@2
|
248 <h5>Examples:</h5>
|
domcox@0
|
249 <pre>
|
domcox@2
|
250 tazinst get
|
domcox@2
|
251 tazinst get mode
|
domcox@2
|
252 tazinst get mode /var/lib/tazinst.conf
|
domcox@0
|
253 </pre>
|
domcox@0
|
254
|
domcox@0
|
255 <a id="check"></a>
|
domcox@0
|
256 <h3>check</h3>
|
domcox@0
|
257 <p>
|
domcox@2
|
258 Check a setting for errors. Without parameter, check all settings.
|
domcox@2
|
259
|
domcox@0
|
260 </p>
|
domcox@2
|
261 <h5>Examples:</h5>
|
domcox@0
|
262 <pre>
|
domcox@2
|
263 tazinst check
|
domcox@2
|
264 tazinst check mode
|
domcox@2
|
265 tazinst check mode /var/lib/tazinst.conf
|
domcox@2
|
266 </pre>
|
domcox@2
|
267
|
domcox@2
|
268 <a id="list"></a>
|
domcox@2
|
269 <h3>list</h3>
|
domcox@2
|
270 <p>
|
domcox@2
|
271 List system ressources. Ressources are:
|
domcox@2
|
272 <table>
|
domcox@2
|
273 <tr>
|
domcox@2
|
274 <td>mode</td>
|
domcox@2
|
275 <td>Available modes of install</td>
|
domcox@2
|
276 </tr>
|
domcox@2
|
277 <tr>
|
domcox@2
|
278 <td>media</td>
|
domcox@2
|
279 <td>Available media to install from. Ex: cdrom is not listed on systems
|
domcox@2
|
280 with no cdrom drive</td>
|
domcox@2
|
281 </tr>
|
domcox@2
|
282 <tr>
|
domcox@2
|
283 <td>usb</td>
|
domcox@2
|
284 <td>Partitions of USB disks</td>
|
domcox@2
|
285 </tr>
|
domcox@2
|
286 <tr>
|
domcox@2
|
287 <td>iso</td>
|
domcox@2
|
288 <td>Iso images located on local drives, in /root, all user's home and
|
domcox@2
|
289 first subdir of all user's home</td>
|
domcox@2
|
290 </tr>
|
domcox@2
|
291 <tr>
|
domcox@2
|
292 <td>web</td>
|
domcox@2
|
293 <td>Predefined names of iso images to download automatically from the
|
domcox@2
|
294 Internet.</td>
|
domcox@2
|
295 </tr>
|
domcox@2
|
296 <tr>
|
domcox@2
|
297 <td>format</td>
|
domcox@2
|
298 <td>Installed filesystems</td>
|
domcox@2
|
299 </tr>
|
domcox@2
|
300 <tr>
|
domcox@2
|
301 <td>bootloader</td>
|
domcox@2
|
302 <td>Available bootloaders</td>
|
domcox@2
|
303 </tr>
|
domcox@2
|
304 <tr>
|
domcox@2
|
305 <td>partition_table</td>
|
domcox@2
|
306 <td>Partition tables scheme of local disks</td>
|
domcox@2
|
307 </tr>
|
domcox@2
|
308 <tr>
|
domcox@2
|
309 <td>winboot</td>
|
domcox@2
|
310 <td>Bootable Windows<sup>™</sup> partitions</td>
|
domcox@2
|
311 </tr>
|
domcox@2
|
312 </table>
|
domcox@2
|
313 </p>
|
domcox@2
|
314 <h5>Examples:</h5>
|
domcox@2
|
315 <pre>
|
domcox@2
|
316 tazinst list
|
domcox@2
|
317 tazinst list media
|
domcox@2
|
318 </pre>
|
domcox@2
|
319
|
domcox@2
|
320 <a id="execute"></a>
|
domcox@2
|
321 <h3>execute</h3>
|
domcox@2
|
322 <p>
|
domcox@2
|
323 Performs a SliTaz install on a HDD based on data in the install file.
|
domcox@2
|
324 If you selected to format your HDD, all data will be lost. If you do not,
|
domcox@2
|
325 all data except for any existing /home directory will be removed,
|
domcox@2
|
326 the home directory will be kept as is.
|
domcox@2
|
327 </p>
|
domcox@2
|
328 <h5>Examples:</h5>
|
domcox@2
|
329 <pre>
|
domcox@2
|
330 tazinst execute
|
domcox@2
|
331 tazinst execute /var/lib/tazinst.conf
|
domcox@2
|
332 </pre>
|
domcox@2
|
333
|
domcox@2
|
334 <a id="clean"></a>
|
domcox@2
|
335 <h3>clean</h3>
|
domcox@2
|
336 <p>
|
domcox@2
|
337 Remove install and log files.
|
domcox@2
|
338 </p>
|
domcox@2
|
339 <h5>Examples:</h5>
|
domcox@2
|
340 <pre>
|
domcox@2
|
341 tazinst clean
|
domcox@2
|
342 tazinst clean /var/lib/tazinst.conf
|
domcox@0
|
343 </pre>
|
domcox@0
|
344
|
domcox@0
|
345 <a id="log"></a>
|
domcox@0
|
346 <h3>log</h3>
|
domcox@0
|
347 <p>
|
domcox@0
|
348 Display the last log file contents and exit.
|
domcox@0
|
349 </p>
|
domcox@2
|
350 <h5>Example:</h5>
|
domcox@0
|
351 <pre>
|
domcox@0
|
352 tazinst log
|
domcox@0
|
353 </pre>
|
domcox@0
|
354
|
domcox@0
|
355 <a id="version"></a>
|
domcox@0
|
356 <h3>version</h3>
|
domcox@0
|
357 <p>
|
domcox@0
|
358 Print the version information and exit.
|
domcox@0
|
359 </p>
|
domcox@2
|
360 <h5>Example:</h5>
|
domcox@0
|
361 <pre>
|
domcox@0
|
362 tazinst version
|
domcox@0
|
363 </pre>
|
domcox@0
|
364
|
domcox@2
|
365 <a id="usage"></a>
|
domcox@2
|
366 <h3>usage</h3>
|
domcox@0
|
367 <p>
|
domcox@2
|
368 Print a short help and exit
|
domcox@2
|
369 </p>
|
domcox@2
|
370 <h5>Example:</h5>
|
domcox@2
|
371 <pre>
|
domcox@2
|
372 tazinst usage
|
domcox@2
|
373 </pre>
|
domcox@2
|
374
|
domcox@2
|
375 <a id="help"></a>
|
domcox@2
|
376 <h3>help</h3>
|
domcox@2
|
377 <p>
|
domcox@2
|
378 Print a short help for a given setting and exit. Without an argument, print
|
domcox@2
|
379 a short help for all settings.
|
domcox@2
|
380 </p>
|
domcox@2
|
381 <h5>Example:</h5>
|
domcox@2
|
382 <pre>
|
domcox@2
|
383 tazinst help mode
|
domcox@2
|
384 </pre>
|
domcox@2
|
385
|
domcox@2
|
386
|
domcox@2
|
387 <h2>EXAMPLES</h2>
|
domcox@2
|
388
|
domcox@2
|
389 <h3>Install</h3>
|
domcox@2
|
390
|
domcox@2
|
391 <p>
|
domcox@2
|
392 How to Install SliTaz on one partition of your hard disk drive. The root
|
domcox@2
|
393 partition is not formatted, all data except for any existing <code>/home
|
domcox@2
|
394 </code> directory will be removed, the <code>home</code> directory will be
|
domcox@2
|
395 kept as is.
|
domcox@0
|
396 </p>
|
domcox@0
|
397
|
domcox@2
|
398 <ol>
|
domcox@2
|
399 <li>Create an install file:<pre># tazinst new</pre></li>
|
domcox@2
|
400 <li>Set mode as install:<pre># tazinst set mode install</pre></li>
|
domcox@2
|
401 <li>Use a cdrom as source:<pre># tazinst set media cdrom</pre></li>
|
domcox@2
|
402 <li>Select the partition to install SliTaz on:
|
domcox@2
|
403 <pre># tazinst set root_uuid /dev/hda1</pre></li>
|
domcox@2
|
404 <li>Install a bootloader:<pre># tazinst set bootloader auto</pre>
|
domcox@2
|
405 <li>Execute installation:<pre># tazinst execute</pre>
|
domcox@2
|
406 </ol>
|
domcox@2
|
407
|
domcox@2
|
408 <h3>Complex Install</h3>
|
domcox@2
|
409
|
domcox@2
|
410 <p>
|
domcox@2
|
411 How to Install SliTaz on your hard disk drive, with a separate home
|
domcox@2
|
412 partition, and a Windows<sup>™</sup> dual-boot. /home and root partitions
|
domcox@2
|
413 are both formatted, all existing data will be lost.
|
domcox@2
|
414 </p>
|
domcox@0
|
415
|
domcox@0
|
416 <ol>
|
domcox@2
|
417 <li>Create an install file:<pre># tazinst new</pre></li>
|
domcox@2
|
418 <li>Set mode as install:<pre># tazinst set mode install</pre></li>
|
domcox@2
|
419 <li>Use a Live USB as source:<pre># tazinst set media usb</pre></li>
|
domcox@2
|
420 <li>Select a partition on the Live USB:
|
domcox@2
|
421 <pre># tazinst set source /dev/sda1</pre></li>
|
domcox@2
|
422 <li>Select the partition to install SliTaz on:
|
domcox@2
|
423 <pre># tazinst set root_uuid /dev/hda1</pre></li>
|
domcox@2
|
424 <li>Format / as ext4:
|
domcox@2
|
425 <pre># tazinst set root_format ext4</pre></li>
|
domcox@2
|
426 <li>Use a separate /home partition:
|
domcox@2
|
427 <pre># tazinst set home_uuid /dev/hda2</pre></li>
|
domcox@2
|
428 <li>Format /home as ext2:
|
domcox@2
|
429 <pre># tazinst set home_format ext2</pre></li>
|
domcox@2
|
430 <li>Install a bootloader:<pre># tazinst set bootloader auto</pre>
|
domcox@2
|
431 <li>Set up a Windows<sup>™</sup> dual-boot:
|
domcox@2
|
432 <pre># tazinst set winboot auto</pre></li>
|
domcox@2
|
433 <li>Execute installation:<pre># tazinst execute</pre>
|
domcox@2
|
434 <li>Don't let traces behind:<pre># tazinst clean</pre>
|
domcox@0
|
435 </ol>
|
domcox@0
|
436
|
domcox@2
|
437 <h3>Upgrade</h3>
|
domcox@2
|
438
|
domcox@2
|
439 <p>
|
domcox@2
|
440 How to upgrade an already installed SliTaz system on your hard disk drive.
|
domcox@2
|
441 Your <code>/home /etc /var/www</code> directories will be kept, all other
|
domcox@2
|
442 directories will be removed. Any additional packages added to your old
|
domcox@2
|
443 Slitaz system will be updated as long you have an active internet
|
domcox@2
|
444 connection.
|
domcox@2
|
445 </p>
|
domcox@0
|
446
|
domcox@0
|
447 <ol>
|
domcox@2
|
448 <li>Create an install file:<pre># tazinst new</pre></li>
|
domcox@2
|
449 <li>Set mode as upgrade:<pre># tazinst set mode upgrade</pre></li>
|
domcox@2
|
450 <li>Use web as source:<pre># tazinst set media web</pre></li>
|
domcox@2
|
451 <li>Select the stable image:
|
domcox@2
|
452 <pre># tazinst set source stable</pre></li>
|
domcox@2
|
453 <li>Select the partition containing Slitaz to upgrade:
|
domcox@2
|
454 <pre># tazinst set root_uuid /dev/hda1</pre></li>
|
domcox@2
|
455 <li>Install a bootloader:<pre># tazinst set bootloader auto</pre>
|
domcox@2
|
456 <li>Execute installation:<pre># tazinst execute</pre>
|
domcox@0
|
457 </ol>
|
domcox@0
|
458
|
domcox@2
|
459 <h3>Tips</h3>
|
domcox@0
|
460
|
domcox@0
|
461 <ol>
|
domcox@2
|
462 <li>Not all settings are used depending on the mode of install. List all
|
domcox@2
|
463 settings to see which you need to edit:
|
domcox@2
|
464 <pre># tazinst get</pre></li>
|
domcox@2
|
465 <li>Check your settings before executing install:
|
domcox@2
|
466 <pre># tazinst check</pre></li>
|
domcox@0
|
467 </ol>
|
domcox@2
|
468
|
domcox@2
|
469 <h2>FILES</h2>
|
domcox@2
|
470
|
domcox@2
|
471 <h3>INSTALL FILE</h3>
|
domcox@2
|
472
|
domcox@2
|
473 <p>
|
domcox@2
|
474 Settings are saved in the install file, then used by tazinst to execute
|
domcox@2
|
475 an unattended installation. The default file is <code>./tazint.rc</code>,
|
domcox@2
|
476 but an optional file name may be given as a parameter. The install file is
|
domcox@2
|
477 self-documented. The clean command erases this file.
|
domcox@2
|
478 </p>
|
domcox@2
|
479
|
domcox@2
|
480 <h3>SYSTEM FILE</h3>
|
domcox@2
|
481 <p>
|
domcox@2
|
482 The <code>/etc/slitaz/tazinst.conf</code> configuration file allows you to
|
domcox@2
|
483 change the default settings of <code>tazinst</code>, in the case you want
|
domcox@2
|
484 to use default custom values.
|
domcox@2
|
485 </p>
|
domcox@2
|
486
|
domcox@2
|
487 <p>
|
domcox@2
|
488 All settings are customisable, if a particular setting is missing, just add
|
domcox@2
|
489 the name of the setting in caps and enter the new value.
|
domcox@2
|
490 </p>
|
domcox@2
|
491
|
domcox@2
|
492 <h4>Example:</h4>
|
domcox@2
|
493
|
domcox@2
|
494 <p>
|
domcox@2
|
495 If you intend to allways install SliTaz from the same iso on the web, you
|
domcox@2
|
496 just have to modify or add the following values:
|
domcox@2
|
497 <pre>MEDIA="web"
|
domcox@2
|
498 SOURCE="stable"</pre>
|
domcox@2
|
499 </p>
|
domcox@2
|
500
|
domcox@2
|
501 <h3>LOG FILE</h3>
|
domcox@2
|
502
|
domcox@2
|
503 <p>
|
domcox@2
|
504 The file <code>/var/log/tazinst.log</log> contains a log of the install
|
domcox@2
|
505 process. The clean command erases this file.
|
domcox@2
|
506 </p>
|
domcox@0
|
507
|
domcox@0
|
508 <h2>MAINTAINERS</h2>
|
domcox@0
|
509 <p>
|
domcox@0
|
510 Christophe Lincoln <pankso at slitaz.org> <br />
|
domcox@0
|
511 Dominique Corbex <domcox at slitaz.org>
|
domcox@0
|
512 </p>
|
domcox@0
|
513
|
domcox@0
|
514 <!-- End of content -->
|
domcox@0
|
515 </div>
|
domcox@0
|
516
|
domcox@0
|
517 <div id="footer">
|
domcox@2
|
518 Copyright © 2007-2013 <a href="http://www.slitaz.org/">SliTaz GNU/Linux</a>
|
domcox@0
|
519 </div>
|
domcox@0
|
520
|
domcox@0
|
521 </body>
|
domcox@0
|
522 </html>
|