1 | <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
|
---|
2 |
|
---|
3 | <article>
|
---|
4 | <articleinfo>
|
---|
5 | <!-- $MVD$:app("MicroVision WebExpress","769") -->
|
---|
6 | <!-- $MVD$:template("","0","0") -->
|
---|
7 | <!-- $MVD$:color("18","840084","Custom #1","0") -->
|
---|
8 | <!-- $MVD$:color("19","e0e0e0","Custom #2","0") -->
|
---|
9 | <!-- $MVD$:color("20","80ff","Orange","1") -->
|
---|
10 | <!-- $MVD$:color("21","ffd6ce","Lavender","1") -->
|
---|
11 | <!-- $MVD$:fontset("Courier","Courier New") -->
|
---|
12 | <title>QuickStart</title>
|
---|
13 | </articleinfo>
|
---|
14 |
|
---|
15 | <para></para>
|
---|
16 | <informaltable><tgroup cols="3"><tbody>
|
---|
17 | <row>
|
---|
18 | <entry>
|
---|
19 | Mondo Rescue and Mindi Linux HOWTO
|
---|
20 | </entry>
|
---|
21 | </row>
|
---|
22 | <row>
|
---|
23 | <entry>
|
---|
24 | <ulink url="version.html">Prev</ulink>
|
---|
25 | </entry>
|
---|
26 | <entry></entry>
|
---|
27 | <entry>
|
---|
28 | <ulink url="overview.html">Next</ulink>
|
---|
29 | </entry>
|
---|
30 | </row>
|
---|
31 | </tbody></tgroup></informaltable>
|
---|
32 |
|
---|
33 | <sect1 id="QUICKSTAR"><title>Chapter 2. QuickStart</title>
|
---|
34 | <itemizedlist>
|
---|
35 | <listitem>
|
---|
36 | <para>We recommend that you read the complete Mondo Rescue and
|
---|
37 | Mindi Linux HOWTO. However, if you are too busy or impatient, then
|
---|
38 | please use this QuickStart guide to stay out of trouble.</para>
|
---|
39 | </listitem>
|
---|
40 | <listitem>
|
---|
41 | <para>Install the tarball, RPM, or DEB mindi package and mondo
|
---|
42 | package. (see <ulink url="installation.html">Installation</ulink>
|
---|
43 | for more details)</para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Execute as root (type 'su -' to become root if you are not
|
---|
47 | logged in as root)</para>
|
---|
48 | <para></para>
|
---|
49 | <informaltable><tgroup cols="1"><tbody>
|
---|
50 | <row>
|
---|
51 | <entry>
|
---|
52 |
|
---|
53 | bash# mondoarchive
|
---|
54 |
|
---|
55 | </entry>
|
---|
56 | </row>
|
---|
57 | </tbody></tgroup></informaltable>
|
---|
58 |
|
---|
59 | </listitem>
|
---|
60 | </itemizedlist>
|
---|
61 | <para></para>
|
---|
62 | <informaltable><tgroup cols="2"><tbody>
|
---|
63 | <row>
|
---|
64 | <entry>
|
---|
65 | <ulink url="images/mamain.png"><inlinemediaobject><imageobject>
|
---|
66 | <imagedata fileref="images/mamain-mini.png">
|
---|
67 | </imageobject></inlinemediaobject>
|
---|
68 | </ulink>
|
---|
69 | </entry>
|
---|
70 | <entry>
|
---|
71 | Choose from the list of supported backup media types. The media you
|
---|
72 | will use most often are CD-R, CD-RW, tape, NFS and hard disk. If
|
---|
73 | you want to backup/restore over a network, choose 'NFS'. If you
|
---|
74 | want to backup/restore to/from a local partition or if you simply
|
---|
75 | want to store the ISO images in a local directory until you have
|
---|
76 | time or facilities to burn them to CD's, choose 'hard disk'. If you
|
---|
77 | choose 'CD-R[W]' or 'tape' then in general your hardware will be
|
---|
78 | detected and configured for you.
|
---|
79 | </entry>
|
---|
80 | </row>
|
---|
81 | <row>
|
---|
82 | <entry>
|
---|
83 | <ulink url="images/maburnproof.png"><inlinemediaobject><imageobject>
|
---|
84 | <imagedata fileref="images/maburnproof-mini.png">
|
---|
85 | </imageobject></inlinemediaobject>
|
---|
86 | </ulink>
|
---|
87 | </entry>
|
---|
88 | <entry>
|
---|
89 | If you are backing up to CD-R[W] then Mondo will ask you if your CD
|
---|
90 | burner has BurnProof technology, is inside a laptop, or is
|
---|
91 | otherwise eccentric. If you are backing up to a tape streamer then
|
---|
92 | you will not see this message.
|
---|
93 | </entry>
|
---|
94 | </row>
|
---|
95 | <row>
|
---|
96 | <entry>
|
---|
97 | <ulink url="images/macompression.png"><inlinemediaobject><imageobject>
|
---|
98 | <imagedata fileref="images/macompression-mini.png">
|
---|
99 | </imageobject></inlinemediaobject>
|
---|
100 | </ulink>
|
---|
101 | </entry>
|
---|
102 | <entry>
|
---|
103 | How much compression do you want? None, if your tape streamer has
|
---|
104 | built-in hardware compression. Maximum, if your CPU is blazingly
|
---|
105 | fast. Average should do just fine for most situations.
|
---|
106 | </entry>
|
---|
107 | </row>
|
---|
108 | <row>
|
---|
109 | <entry>
|
---|
110 | <ulink url="images/mainclude.png"><inlinemediaobject><imageobject>
|
---|
111 | <imagedata fileref="images/mainclude-mini.png">
|
---|
112 | </imageobject></inlinemediaobject>
|
---|
113 | </ulink>
|
---|
114 | </entry>
|
---|
115 | <entry>
|
---|
116 | If you want to backup the whole computer (excluding /tmp and /proc,
|
---|
117 | naturally) then leave this as / which is the default. Otherwise,
|
---|
118 | specify subsets, (e.g. /usr/local /home ) being sure to put a space
|
---|
119 | in between each path.
|
---|
120 | </entry>
|
---|
121 | </row>
|
---|
122 | <row>
|
---|
123 | <entry>
|
---|
124 | <ulink url="images/maexclude.png"><inlinemediaobject><imageobject>
|
---|
125 | <imagedata fileref="images/maexclude-mini.png">
|
---|
126 | </imageobject></inlinemediaobject>
|
---|
127 | </ulink>
|
---|
128 | </entry>
|
---|
129 | <entry>
|
---|
130 | If you are backing up your whole computer then you might want to
|
---|
131 | exclude certain directories, e.g. /shared/MP3. Please specify them
|
---|
132 | in the 'exclude directories' dialog box. Please put a space in
|
---|
133 | between each path, e.g. /shared/private /scratch /nfs /windows
|
---|
134 | </entry>
|
---|
135 | </row>
|
---|
136 | <row>
|
---|
137 | <entry>
|
---|
138 | <ulink url="images/makernel.png"><inlinemediaobject><imageobject>
|
---|
139 | <imagedata fileref="images/makernel-mini.png">
|
---|
140 | </imageobject></inlinemediaobject>
|
---|
141 | </ulink>
|
---|
142 | </entry>
|
---|
143 | <entry>
|
---|
144 | Is your kernel sane? Red Hat, Mandrake, SuSE and Slackware users
|
---|
145 | should in general say 'yes' because these vendors are good at
|
---|
146 | producing reliable kernels. If you are using Debian, Gentoo or LFS
|
---|
147 | then your kernel might be non-standard, in which case say 'no' to
|
---|
148 | use Mondo's failsafe kernel.
|
---|
149 | </entry>
|
---|
150 | </row>
|
---|
151 | <row>
|
---|
152 | <entry>
|
---|
153 | <ulink url="images/maverifyq.png"><inlinemediaobject><imageobject>
|
---|
154 | <imagedata fileref="images/maverifyq-mini.png">
|
---|
155 | </imageobject></inlinemediaobject>
|
---|
156 | </ulink>
|
---|
157 | </entry>
|
---|
158 | <entry>
|
---|
159 | If you want to verify the archives after writing them to media, say
|
---|
160 | 'yes' here. If you have absolute faith in your hardware and your
|
---|
161 | Linux distribution, say 'no'... and a little prayer.
|
---|
162 | </entry>
|
---|
163 | </row>
|
---|
164 | <row>
|
---|
165 | <entry>
|
---|
166 | <ulink url="images/maproceedq.png"><inlinemediaobject><imageobject>
|
---|
167 | <imagedata fileref="images/maproceedq-mini.png">
|
---|
168 | </imageobject></inlinemediaobject>
|
---|
169 | </ulink>
|
---|
170 | </entry>
|
---|
171 | <entry>
|
---|
172 | If you are sure you want to go ahead, say 'yes' and find something
|
---|
173 | else to do while Mondo backs up your computer. If you say 'no' then
|
---|
174 | you will be unceremoniously dumped at the shell prompt. :-)
|
---|
175 | </entry>
|
---|
176 | </row>
|
---|
177 | <row>
|
---|
178 | <entry>
|
---|
179 | <ulink url="images/1.png"><inlinemediaobject><imageobject>
|
---|
180 | <imagedata fileref="images/1-mini.png">
|
---|
181 | </imageobject></inlinemediaobject>
|
---|
182 | </ulink>
|
---|
183 | </entry>
|
---|
184 | <entry>
|
---|
185 | The backup process will now commence. There are some pre-backup
|
---|
186 | tasks to be carried out first but the backup is essentially
|
---|
187 | underway. To simplify the backup process, you were asked a series
|
---|
188 | of questions. Next time, if you like, you could call mondoarchive
|
---|
189 | with various command-line switches to control its behavior, instead
|
---|
190 | of answering a series of questions. See the man page for details.
|
---|
191 | </entry>
|
---|
192 | </row>
|
---|
193 | <row>
|
---|
194 | <entry>
|
---|
195 | <ulink url="images/3.png"><inlinemediaobject><imageobject>
|
---|
196 | <imagedata fileref="images/3-mini.png">
|
---|
197 | </imageobject></inlinemediaobject>
|
---|
198 | </ulink>
|
---|
199 | </entry>
|
---|
200 | <entry>
|
---|
201 | Mondo will make a catalog of all files to be backed up. This may
|
---|
202 | take up to five minutes. The list of files will be divided into
|
---|
203 | sets, approximately 4 MB (before compression) of files per set.
|
---|
204 | This typically takes one minute.
|
---|
205 | </entry>
|
---|
206 | </row>
|
---|
207 | <row>
|
---|
208 | <entry>
|
---|
209 | <ulink url="images/4.png"><inlinemediaobject><imageobject>
|
---|
210 | <imagedata fileref="images/1-mini.png">
|
---|
211 | </imageobject></inlinemediaobject>
|
---|
212 | </ulink>
|
---|
213 | </entry>
|
---|
214 | <entry>
|
---|
215 | Mondo calls Mindi. Mindi generates bootable floppy disk images and
|
---|
216 | auxiliary data disk images which are based on your existing Linux
|
---|
217 | distribution and filesystem. That way, you can be sure Mondo's
|
---|
218 | tools will be compatible with your existing filesystems and
|
---|
219 | binaries: Mondo's tools are your tools. Mindi takes up to five
|
---|
220 | minutes to run.
|
---|
221 | </entry>
|
---|
222 | </row>
|
---|
223 | <row>
|
---|
224 | <entry>
|
---|
225 | <ulink url="images/5tape.png"><inlinemediaobject><imageobject>
|
---|
226 | <imagedata fileref="images/5tape-mini.png">
|
---|
227 | </imageobject></inlinemediaobject>
|
---|
228 | </ulink>
|
---|
229 | </entry>
|
---|
230 | <entry>
|
---|
231 | Finally, Mondo begins backing up your computer. This process may
|
---|
232 | take a few minutes or a few hours, depending on how much data you
|
---|
233 | are archiving, how fast your CPU is, how much RAM you have, and so
|
---|
234 | on. It will backup your regular files and then your large files
|
---|
235 | (files larger than approximately 32MB). If you have opted to verify
|
---|
236 | your backups, Mondo will do that too.
|
---|
237 | </entry>
|
---|
238 | </row>
|
---|
239 | <row>
|
---|
240 | <entry>
|
---|
241 | <ulink url="images/10cd.png"><inlinemediaobject><imageobject>
|
---|
242 | <imagedata fileref="images/10cd-mini.png">
|
---|
243 | </imageobject></inlinemediaobject>
|
---|
244 | </ulink>
|
---|
245 | </entry>
|
---|
246 | <entry>
|
---|
247 | Do you want to create a boot floppy at the end? Yes, if you're a
|
---|
248 | tape or NFS user. No, if you are using CD-R[W]'s and your computer
|
---|
249 | supports bootable CD's. Tape users only need one floppy but other
|
---|
250 | users may need more. Mondo will advise accordingly.
|
---|
251 | </entry>
|
---|
252 | </row>
|
---|
253 | </tbody></tgroup></informaltable>
|
---|
254 |
|
---|
255 | <itemizedlist>
|
---|
256 | <listitem>
|
---|
257 | <para>Try to boot from the first CD of the backup (or the first
|
---|
258 | floppy, if you made floppies). Choose 'Compare Mode' by typing
|
---|
259 | compare at the boot screen.</para>
|
---|
260 | </listitem>
|
---|
261 | <listitem>
|
---|
262 | <para>If you can boot, fine. If not, make a Mindi "Test" CD to
|
---|
263 | checkout the compatibility of your system. (see
|
---|
264 | <ulink url="testingmindi.html">Testing Mindi</ulink> for more
|
---|
265 | details). Remove the CD/floppy; boot your computer as usual;
|
---|
266 | execute as root</para>
|
---|
267 | <para></para>
|
---|
268 | <informaltable><tgroup cols="1"><tbody>
|
---|
269 | <row>
|
---|
270 | <entry>
|
---|
271 |
|
---|
272 | bash# mindibash# cd /root/images/mindi
|
---|
273 |
|
---|
274 | </entry>
|
---|
275 | </row>
|
---|
276 | </tbody></tgroup></informaltable>
|
---|
277 |
|
---|
278 | <para>(for CD-R)</para>
|
---|
279 | <para></para>
|
---|
280 | <informaltable><tgroup cols="1"><tbody>
|
---|
281 | <row>
|
---|
282 | <entry>
|
---|
283 |
|
---|
284 | bash# cdrecord dev=0,0,0 speed=4 -eject -v mindi.iso
|
---|
285 |
|
---|
286 | </entry>
|
---|
287 | </row>
|
---|
288 | </tbody></tgroup></informaltable>
|
---|
289 |
|
---|
290 | <para>(for CD-RW)</para>
|
---|
291 | <para></para>
|
---|
292 | <informaltable><tgroup cols="1"><tbody>
|
---|
293 | <row>
|
---|
294 | <entry>
|
---|
295 |
|
---|
296 | bash# cdrecord dev=0,0,0 speed=4 blank=fast -eject -v mindi.iso
|
---|
297 |
|
---|
298 | </entry>
|
---|
299 | </row>
|
---|
300 | </tbody></tgroup></informaltable>
|
---|
301 |
|
---|
302 | <para>Reboot your system with the created Mindi CD, with the BIOS
|
---|
303 | set to boot from CD. If the result is a command line in 'Expert'
|
---|
304 | mode, your system checks out. Remove the CD and reboot your
|
---|
305 | system.</para>
|
---|
306 | </listitem>
|
---|
307 | <listitem>
|
---|
308 | <para>If you still cannot boot from Mindi's CD then please e-mail
|
---|
309 | the <ulink url="../../feedback/feedback.html">mailing list</ulink>
|
---|
310 | for help.</para>
|
---|
311 | </listitem>
|
---|
312 | </itemizedlist>
|
---|
313 | <para>When making a backup on a live system, there will always be
|
---|
314 | processes running that will write out data on the system after you
|
---|
315 | have made the backup and before you have made the compare, this
|
---|
316 | will result in difference showing up when comparing your backup.
|
---|
317 | For a full explanation and what can be done to avoid this, please
|
---|
318 | read this section.</para>
|
---|
319 | <itemizedlist>
|
---|
320 | <listitem>
|
---|
321 | <para>This QuickStart covers the ideal case. Upon receiving any
|
---|
322 | system feedback/errors, read each related HOWTO section.</para>
|
---|
323 | <para>Example 2-1. A test backup of your /home directory to CD-Rs
|
---|
324 | using the command line</para>
|
---|
325 | <para></para>
|
---|
326 | <informaltable><tgroup cols="1"><tbody>
|
---|
327 | <row>
|
---|
328 | <entry>
|
---|
329 |
|
---|
330 | bash# mondoarchive -OVc 4 -I /home -gF
|
---|
331 |
|
---|
332 | </entry>
|
---|
333 | </row>
|
---|
334 | </tbody></tgroup></informaltable>
|
---|
335 |
|
---|
336 | <para>The 'c' means you must be writing to CD-Rs, not CD-RWs (the
|
---|
337 | latter would require 'w' instead of 'c'). The '4' is the speed of
|
---|
338 | your CD writer. The string after -I is the path to be backed up.
|
---|
339 | The '-gF' means you are going to see the pretty yellow-on-blue
|
---|
340 | screen instead of the boring white-on-black screen. :) It also
|
---|
341 | means Mondo will not offer to create physical boot floppies for
|
---|
342 | you. It is assumed that you are able to boot from the CD which
|
---|
343 | Mondo has generated.</para>
|
---|
344 | <para>Example 2-2. A backup of your whole filesystem to NFS using
|
---|
345 | the command line</para>
|
---|
346 | <para></para>
|
---|
347 | <informaltable><tgroup cols="1"><tbody>
|
---|
348 | <row>
|
---|
349 | <entry>
|
---|
350 |
|
---|
351 | bash# mkdir -p /mnt/nfsbash# mount 192.168.1.28:/home/nfs /mnt/nfsbash# mondoarchive -OVn 192.168.1.28:/home/nfs -gF[...]bash# umount /mnt/nfsbash# cdrecord dev=0,0,0 speed=4 -eject -v /root/images/mindi/mindi.iso
|
---|
352 |
|
---|
353 | </entry>
|
---|
354 | </row>
|
---|
355 | </tbody></tgroup></informaltable>
|
---|
356 |
|
---|
357 | <para>Note that you have to mount the NFS partition, backup to it,
|
---|
358 | unmount it, and create a boot CD to allow you to restore from
|
---|
359 | scratch if necessary. To reassure yourself that you will be able to
|
---|
360 | restore from the NFS share even if your PC is wiped, please boot
|
---|
361 | from the Mindi CD and type 'compare'. The on-screen instructions
|
---|
362 | from that point on should be sufficient.</para>
|
---|
363 | <para><anchor id="AEN100C"/>Example 2-3. A backup of your whole
|
---|
364 | filesystem to tape using the command line</para>
|
---|
365 | <para></para>
|
---|
366 | <informaltable><tgroup cols="1"><tbody>
|
---|
367 | <row>
|
---|
368 | <entry>
|
---|
369 |
|
---|
370 | bash# mondoarchive -OVt -d /dev/st0 -9 -L -g
|
---|
371 |
|
---|
372 | </entry>
|
---|
373 | </row>
|
---|
374 | </tbody></tgroup></informaltable>
|
---|
375 |
|
---|
376 | <para>In this case, we assume Syslinux is incompatible with your
|
---|
377 | boot media. For some reason, some BIOSes just don't like Syslinux.
|
---|
378 | If you find this to be the case for your computer, please use '-L'
|
---|
379 | to force Mondo to use LILO instead of Syslinux as the boot loader
|
---|
380 | for its CD/floppies. (NB: This has nothing to do with which boot
|
---|
381 | loader your hard drive uses.) Also, it is a good habit to specify
|
---|
382 | your tape streamer with '-d <device>'. You don't usually need
|
---|
383 | to but it's good to be on the safe side. Some computers call your
|
---|
384 | tape streamer /dev/osst0, some call it /dev/ftape, ...</para>
|
---|
385 | </listitem>
|
---|
386 | </itemizedlist>
|
---|
387 | <para></para>
|
---|
388 | <informaltable><tgroup cols="3"><tbody>
|
---|
389 | <row>
|
---|
390 | <entry>
|
---|
391 | <ulink url="version.html">Prev</ulink>
|
---|
392 | </entry>
|
---|
393 | <entry>
|
---|
394 | <ulink url="index.html">Home</ulink>
|
---|
395 | </entry>
|
---|
396 | <entry>
|
---|
397 | <ulink url="overview.html">Next</ulink>
|
---|
398 | </entry>
|
---|
399 | </row>
|
---|
400 | <row>
|
---|
401 | <entry>
|
---|
402 | Version
|
---|
403 | </entry>
|
---|
404 | <entry>
|
---|
405 |
|
---|
406 | </entry>
|
---|
407 | <entry>
|
---|
408 | Overview
|
---|
409 | </entry>
|
---|
410 | </row>
|
---|
411 | </tbody></tgroup></informaltable>
|
---|
412 |
|
---|
413 |
|
---|
414 | </sect1></article>
|
---|