1 | <!DOCTYPE BOOK PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
|
---|
2 | <!ENTITY curdate "DDD">
|
---|
3 | <!ENTITY curver "VVV">
|
---|
4 |
|
---|
5 | <!ENTITY WWWB "http://www.mondorescue.org/">
|
---|
6 | <!ENTITY WWW '<ulink url="http://www.mondorescue.org">MondoRescue</ulink>'>
|
---|
7 | <!ENTITY ML '<ulink url="http://lists.sourceforge.net/lists/listinfo/mondo-devel">mondorescue mailing list</ulink>'>
|
---|
8 | <!ENTITY gfdl SYSTEM "fdl.sgml">
|
---|
9 | ]>
|
---|
10 |
|
---|
11 | <book>
|
---|
12 |
|
---|
13 | <bookinfo>
|
---|
14 | <title>MondoRescue HOWTO</title>
|
---|
15 | <subtitle>
|
---|
16 | Utilisation and Configuration of Mondo and Mindi under Linux (Version &curver;)
|
---|
17 | </subtitle>
|
---|
18 | <graphic fileref="images/protected-by-mondo" align="center">
|
---|
19 |
|
---|
20 | <pubdate>
|
---|
21 | in its latest version the
|
---|
22 | &curdate;
|
---|
23 | </pubdate>
|
---|
24 |
|
---|
25 | <abstract>
|
---|
26 | <para>
|
---|
27 | This document describes the use of mondo and mindi tools to realize disaster recovery backup of your systems. It provides information on installation, backup and restore modes, hardware and software requirements, and answers to some frequently asked questions.
|
---|
28 | The goals are to offer a general view of the functions and their best usages.
|
---|
29 | Mondo Rescue is a Disaster Recovery Solution which allows you
|
---|
30 | to effortlessly backup and interactively restore Linux, Windows and
|
---|
31 | other supported filesystem partitions to/from CD/DVD-+R/RW media, tape,
|
---|
32 | NFS, ... and Mindi Linux provides the bootable emergency restore
|
---|
33 | CD/floppy set which Mondo uses at boot-time.
|
---|
34 | </para>
|
---|
35 | </abstract>
|
---|
36 |
|
---|
37 | <author>
|
---|
38 | <firstname>Bruno</firstname>
|
---|
39 | <surname>Cornec</surname>
|
---|
40 | <affiliation>
|
---|
41 | <orgname>MondoRescue Project</orgname>
|
---|
42 | <address><email>bcornec@users.berlios.de</email></address>
|
---|
43 | </affiliation>
|
---|
44 | </author>
|
---|
45 | <!--
|
---|
46 | Hugo Rabson
|
---|
47 | Mikael Hultgren
|
---|
48 | Stan Benoit
|
---|
49 | Randy Delfs
|
---|
50 | Cafeole
|
---|
51 | Bryan J. Smith
|
---|
52 | -->
|
---|
53 |
|
---|
54 | <copyright>
|
---|
55 | <year>2000-2006</year>
|
---|
56 | <holder role="mailto:bcornec@users.berlios.de">Bruno Cornec</holder>
|
---|
57 | </copyright>
|
---|
58 |
|
---|
59 | <legalnotice>
|
---|
60 | <title>License</title>
|
---|
61 | <para>
|
---|
62 | </para>
|
---|
63 | <para>
|
---|
64 | This HOWTO is a free documentation. you may copy, redistribute and/or modify it under the terms of the
|
---|
65 | <Link LinkEnd="gfdl">
|
---|
66 | GNU Free Documentation License, Version 1.1
|
---|
67 | </link>.</para>
|
---|
68 | <para>
|
---|
69 | or any later version published by the Free Software Foundation; with no Invarian
|
---|
70 | t Sections, Front-Cover Texts or Back-Cover Texts. This document is distributed
|
---|
71 | hoping it will be useful, but <emphasis>without any guaranty</emphasis>; you're
|
---|
72 | completely responsible of its use, and coulnd't complain in case it doesn't work
|
---|
73 | , or even if it breaks the hardware. All the software included in it, if not alr
|
---|
74 | eady copyrighted is released under the GPL.
|
---|
75 | </para>
|
---|
76 | </legalnotice>
|
---|
77 |
|
---|
78 | <revhistory>
|
---|
79 | <revision>
|
---|
80 | <revnumber>2.06</revnumber>
|
---|
81 | <date>2006-01-16</date>
|
---|
82 | <authorinitials>Bruno Cornec</authorinitials>
|
---|
83 | <revdescription>
|
---|
84 | <para>
|
---|
85 | First SGML version publically available, remade from the HTML docs of the project.
|
---|
86 | </para>
|
---|
87 | </revdescription>
|
---|
88 | </revision>
|
---|
89 | </revhistory>
|
---|
90 | </bookinfo>
|
---|
91 |
|
---|
92 | <toc></toc>
|
---|
93 | <lot></lot>
|
---|
94 |
|
---|
95 |
|
---|
96 | <chapter id="intro">
|
---|
97 | <title>About this Guide</title>
|
---|
98 |
|
---|
99 | <sect1 id="intro-purpose">
|
---|
100 | <title>Purpose / Scope of this Guide</title>
|
---|
101 |
|
---|
102 | <para>
|
---|
103 | This HOWTO serves to help people get started with using
|
---|
104 | mondo/mindi as way to backup/restore their system. This is a work
|
---|
105 | constantly evolving. It was started by Hugo Rabson and has
|
---|
106 | since been worked upon by a number of people. See the
|
---|
107 | '<ulink url="&WWWB;about.html#devteam">About</ulink>' web
|
---|
108 | page for a list of members of the development team.</para>
|
---|
109 |
|
---|
110 | <para>There are many ways to contribute to the Linux movement
|
---|
111 | without actually writing code. One of the most important is writing
|
---|
112 | documentation, allowing each person to share their knowledge with
|
---|
113 | thousands of others around the world. This HOWTO is designed to
|
---|
114 | help you get familiar with how Mondo/Mindi works.</para>
|
---|
115 |
|
---|
116 | <para>
|
---|
117 | Opinions expressed here are those of the authors.
|
---|
118 | Informations are provided in the aim to be useful to the readers.
|
---|
119 | However, there can't be, through this document, any warranty of any kind
|
---|
120 | on the way it works on your systems, nor the author could be responsible for any problem caused by the use of these informations.
|
---|
121 | However, software editors don't garantee you a lot either (re-read the contracts).
|
---|
122 | </para>
|
---|
123 | </sect1>
|
---|
124 |
|
---|
125 | <sect1 id="intro-newversion"><title>New versions of this document</title>
|
---|
126 |
|
---|
127 | <para>The newest version of this document can always be found on
|
---|
128 | MondoRescue's homepage &WWW;.</para>
|
---|
129 | <para>
|
---|
130 | If you make a translation of this document into another language, please let meknow so that I can include a reference to it here.
|
---|
131 | </para>
|
---|
132 | </sect1>
|
---|
133 |
|
---|
134 | <sect1><title>Suggestions / Feedback</title>
|
---|
135 | <para>
|
---|
136 | I rely on you, the reader, to make this HOWTO useful. THis HOWTO is probably incomplete even if it tries to be accurate to the best of our knowledge.
|
---|
137 | If you have any suggestions, corrections, recommandations or congratulations :-) don't hesitate to send them to me
|
---|
138 | <email>bcornec@users.berlios.de</email>,
|
---|
139 | and I will try to incorporate them in a next revision or to the &ML;;
|
---|
140 | e-mail the list at
|
---|
141 | <ulink url="mailto:mondo-devel@lists.sourceforge.net">mondo-devel@lists.sourceforge.net</ulink>;
|
---|
142 | tell us what is wrong and how it should be fixed.
|
---|
143 | Include the section title and recommended changes. Whenever possible, include
|
---|
144 | the exact, spell-checked, grammar-checked text that you think would
|
---|
145 | improve the document.
|
---|
146 | </para>
|
---|
147 | <para>See Mondo's
|
---|
148 | <ulink url="../../feedback/feedback.html">Feedback</ulink> page for
|
---|
149 | more information.
|
---|
150 | </para>
|
---|
151 | <para>
|
---|
152 | Please note that we do our best to help everyone but it is
|
---|
153 | difficult for us to help you if you do not attach a log file to
|
---|
154 | your e-mail. Let me say that again - attach your log file to your
|
---|
155 | e-mail! Thank you. Without it we can't offer
|
---|
156 | any tangible help because you aren't either. That's what the log
|
---|
157 | file is for. It is located at <filename>/var/log/mondo-archive.log</filename>; and <filename>/var/log/miindi.log</filename> or at <filename>/var/log/mondo-restore.log</filename>
|
---|
158 | </para>
|
---|
159 | <para>
|
---|
160 | This document was originaly written by native english speakers, but is maintained by a non-native english speaker so help me correct mistaques instead of rumbling that I've done one :-)
|
---|
161 | </para>
|
---|
162 | <para>
|
---|
163 | I am also willing to answer general questions on MondoRescue, the best I can.
|
---|
164 | Before doing so, please read all of the information in this HOWTO, and then send me detailed information about the problem, especially including the logs generated by the tools, or traces obtained (Did I say that already :-].
|
---|
165 | </para>
|
---|
166 | <para>
|
---|
167 | If you publish this document on a CD-ROM or in hardcopy form, a complimentary copy would be appreciated; mail me for my postal address. Also consider making a donation to the Linux Documentation Project to help support free documentation for Linux. Contact the Linux HOWTO coordinator,
|
---|
168 | Guylhem AZNAR <email>guylhem@rrremovethis.oeil.qc.ca</email>.
|
---|
169 | </para>
|
---|
170 | </sect1>
|
---|
171 |
|
---|
172 | <sect1 id=intro-thanks><title>Aknowledgements</title>
|
---|
173 |
|
---|
174 | <para>Thanks goes to these people for helping and adding to this
|
---|
175 | HOWTO.</para>
|
---|
176 |
|
---|
177 | <para>Document maintainer:</para>
|
---|
178 | <itemizedlist mark="bullet" spacing="Compact">
|
---|
179 | <listitem>
|
---|
180 | <para>Bruno Cornec</para>
|
---|
181 | </listitem>
|
---|
182 | </itemizedlist>
|
---|
183 | <para>Original Design Assistance by:</para>
|
---|
184 | <itemizedlist>
|
---|
185 | <listitem>
|
---|
186 | <para>Xion Network.com</para>
|
---|
187 | </listitem>
|
---|
188 | </itemizedlist>
|
---|
189 | <para>Original Document Assistance by:</para>
|
---|
190 | <itemizedlist>
|
---|
191 | <listitem>
|
---|
192 | <para>Cafeole</para>
|
---|
193 | </listitem>
|
---|
194 | <listitem>
|
---|
195 | <para>Troff</para>
|
---|
196 | </listitem>
|
---|
197 | <listitem>
|
---|
198 | <para>Randy Delfs</para>
|
---|
199 | </listitem>
|
---|
200 | <listitem>
|
---|
201 | <para>Mikael Hultgren</para>
|
---|
202 | </listitem>
|
---|
203 | </itemizedlist>
|
---|
204 | <para>Original LinuxDoc and LaTeX Reformat by:</para>
|
---|
205 | <itemizedlist>
|
---|
206 | <listitem>
|
---|
207 | <para>Bryan J. Smith</para>
|
---|
208 | </listitem>
|
---|
209 | </itemizedlist>
|
---|
210 | <para>Original DocBook Reformat by:</para>
|
---|
211 | <itemizedlist>
|
---|
212 | <listitem>
|
---|
213 | <para>Mikael Hultgren</para>
|
---|
214 | </listitem>
|
---|
215 | </itemizedlist>
|
---|
216 | <para>Original author; 1.6x material:</para>
|
---|
217 | <itemizedlist>
|
---|
218 | <listitem>
|
---|
219 | <para>Hugo Rabson</para>
|
---|
220 | </listitem>
|
---|
221 | </itemizedlist>
|
---|
222 |
|
---|
223 | </sect1>
|
---|
224 | </chapter>
|
---|
225 |
|
---|
226 | <chapter id="quickstart"><title>QuickStart</title>
|
---|
227 | <itemizedlist mark="bullet" spacing="Compact">
|
---|
228 | <listitem>
|
---|
229 | <para>We recommend that you read this complete
|
---|
230 | HOWTO. However, if you are too busy or impatient, then
|
---|
231 | please use this QuickStart guide to stay out of trouble.</para>
|
---|
232 | </listitem>
|
---|
233 | <listitem>
|
---|
234 | <para>Install the tarball, RPM, or DEB mindi and mondo
|
---|
235 | packages. (see <link linkend="installation">Installation</link>
|
---|
236 | for more details)</para>
|
---|
237 | </listitem>
|
---|
238 | <listitem>
|
---|
239 | <para>Execute as root (type 'su -' to become root if you are not
|
---|
240 | logged in as root)</para>
|
---|
241 | <para></para>
|
---|
242 |
|
---|
243 | <informaltable><tgroup cols="1"><tbody>
|
---|
244 | <row>
|
---|
245 | <entry>
|
---|
246 |
|
---|
247 | bash# mondoarchive
|
---|
248 |
|
---|
249 | </entry>
|
---|
250 | </row>
|
---|
251 | </tbody></tgroup></informaltable>
|
---|
252 |
|
---|
253 | </listitem>
|
---|
254 | </itemizedlist>
|
---|
255 | <para></para>
|
---|
256 |
|
---|
257 | <informaltable><tgroup cols="2"><tbody>
|
---|
258 | <row>
|
---|
259 | <entry>
|
---|
260 | <ulink url="images/mamain.png"><inlinemediaobject><imageobject>
|
---|
261 | <imagedata fileref="images/mamain-mini">
|
---|
262 | </imageobject></inlinemediaobject>
|
---|
263 | </ulink>
|
---|
264 | </entry>
|
---|
265 | <entry>
|
---|
266 | Choose from the list of supported backup media types. The media you
|
---|
267 | will use most often are CD/DVD-+R, CD/DVD-+RW, tape, NFS and hard disk. If
|
---|
268 | you want to backup/restore over a network, choose 'NFS'. If you
|
---|
269 | want to backup/restore to/from a local partition or if you simply
|
---|
270 | want to store the ISO images in a local directory until you have
|
---|
271 | time or facilities to burn them to CD's, choose 'hard disk'. If you
|
---|
272 | choose 'CD/DVD-R[W]' or 'tape' then in general your hardware will be
|
---|
273 | detected and configured for you.
|
---|
274 | </entry>
|
---|
275 | </row>
|
---|
276 | <row>
|
---|
277 | <entry>
|
---|
278 | <ulink url="images/maburnproof.png"><inlinemediaobject><imageobject>
|
---|
279 | <imagedata fileref="images/maburnproof-mini">
|
---|
280 | </imageobject></inlinemediaobject>
|
---|
281 | </ulink>
|
---|
282 | </entry>
|
---|
283 | <entry>
|
---|
284 | If you are backing up to CD/DVD-+R[W] then Mondo will ask you if your CD
|
---|
285 | burner has BurnProof technology, is inside a laptop, or is
|
---|
286 | otherwise eccentric. If you are backing up to a tape streamer then
|
---|
287 | you will not see this message.
|
---|
288 | </entry>
|
---|
289 | </row>
|
---|
290 | <row>
|
---|
291 | <entry>
|
---|
292 | <ulink url="images/macompression.png"><inlinemediaobject><imageobject>
|
---|
293 | <imagedata fileref="images/macompression-mini">
|
---|
294 | </imageobject></inlinemediaobject>
|
---|
295 | </ulink>
|
---|
296 | </entry>
|
---|
297 | <entry>
|
---|
298 | How much compression do you want? None, if your tape streamer has
|
---|
299 | built-in hardware compression. Maximum, if your CPU is blazingly
|
---|
300 | fast. Average should do just fine for most situations.
|
---|
301 | </entry>
|
---|
302 | </row>
|
---|
303 | <row>
|
---|
304 | <entry>
|
---|
305 | <ulink url="images/mainclude.png"><inlinemediaobject><imageobject>
|
---|
306 | <imagedata fileref="images/mainclude-mini">
|
---|
307 | </imageobject></inlinemediaobject>
|
---|
308 | </ulink>
|
---|
309 | </entry>
|
---|
310 | <entry>
|
---|
311 | If you want to backup the whole computer (excluding /tmp and /proc,
|
---|
312 | naturally) then leave this as / which is the default. Otherwise,
|
---|
313 | specify subsets, (e.g. /usr/local /home ) being sure to put a space
|
---|
314 | in between each path.
|
---|
315 | </entry>
|
---|
316 | </row>
|
---|
317 | <row>
|
---|
318 | <entry>
|
---|
319 | <ulink url="images/maexclude.png"><inlinemediaobject><imageobject>
|
---|
320 | <imagedata fileref="images/maexclude-mini">
|
---|
321 | </imageobject></inlinemediaobject>
|
---|
322 | </ulink>
|
---|
323 | </entry>
|
---|
324 | <entry>
|
---|
325 | If you are backing up your whole computer then you might want to
|
---|
326 | exclude certain directories, e.g. /shared/MP3. Please specify them
|
---|
327 | in the 'exclude directories' dialog box. Please put a space in
|
---|
328 | between each path, e.g. /shared/private /scratch /nfs /windows
|
---|
329 | </entry>
|
---|
330 | </row>
|
---|
331 | <row>
|
---|
332 | <entry>
|
---|
333 | <ulink url="images/makernel.png"><inlinemediaobject><imageobject>
|
---|
334 | <imagedata fileref="images/makernel-mini">
|
---|
335 | </imageobject></inlinemediaobject>
|
---|
336 | </ulink>
|
---|
337 | </entry>
|
---|
338 | <entry>
|
---|
339 | Is your kernel sane? Red Hat, Mandrake, SuSE, Debian and Slackware users
|
---|
340 | should in general say 'yes' because these vendors are good at
|
---|
341 | producing reliable kernels. If you are using Gentoo or LFS
|
---|
342 | then your kernel might be non-standard, in which case say 'no' to
|
---|
343 | use Mondo's failsafe kernel.
|
---|
344 | </entry>
|
---|
345 | </row>
|
---|
346 | <row>
|
---|
347 | <entry>
|
---|
348 | <ulink url="images/maverifyq.png"><inlinemediaobject><imageobject>
|
---|
349 | <imagedata fileref="images/maverifyq-mini">
|
---|
350 | </imageobject></inlinemediaobject>
|
---|
351 | </ulink>
|
---|
352 | </entry>
|
---|
353 | <entry>
|
---|
354 | If you want to verify the archives after writing them to media, say
|
---|
355 | 'yes' here. If you have absolute faith in your hardware and your
|
---|
356 | Linux distribution, say 'no'... and a little prayer.
|
---|
357 | </entry>
|
---|
358 | </row>
|
---|
359 | <row>
|
---|
360 | <entry>
|
---|
361 | <ulink url="images/maproceedq.png"><inlinemediaobject><imageobject>
|
---|
362 | <imagedata fileref="images/maproceedq-mini">
|
---|
363 | </imageobject></inlinemediaobject>
|
---|
364 | </ulink>
|
---|
365 | </entry>
|
---|
366 | <entry>
|
---|
367 | If you are sure you want to go ahead, say 'yes' and find something
|
---|
368 | else to do while Mondo backs up your computer. If you say 'no' then
|
---|
369 | you will be unceremoniously dumped at the shell prompt. :-)
|
---|
370 | </entry>
|
---|
371 | </row>
|
---|
372 | <row>
|
---|
373 | <entry>
|
---|
374 | <ulink url="images/1.png"><inlinemediaobject><imageobject>
|
---|
375 | <imagedata fileref="images/1-mini">
|
---|
376 | </imageobject></inlinemediaobject>
|
---|
377 | </ulink>
|
---|
378 | </entry>
|
---|
379 | <entry>
|
---|
380 | The backup process will now commence. There are some pre-backup
|
---|
381 | tasks to be carried out first but the backup is essentially
|
---|
382 | underway. To simplify the backup process, you were asked a series
|
---|
383 | of questions. Next time, if you like, you could call mondoarchive
|
---|
384 | with various command-line switches to control its behavior, instead
|
---|
385 | of answering a series of questions. See the man page for details.
|
---|
386 | </entry>
|
---|
387 | </row>
|
---|
388 | <row>
|
---|
389 | <entry>
|
---|
390 | <ulink url="images/3.png"><inlinemediaobject><imageobject>
|
---|
391 | <imagedata fileref="images/3-mini">
|
---|
392 | </imageobject></inlinemediaobject>
|
---|
393 | </ulink>
|
---|
394 | </entry>
|
---|
395 | <entry>
|
---|
396 | Mondo will make a catalog of all files to be backed up. This may
|
---|
397 | take up to five minutes. The list of files will be divided into
|
---|
398 | sets, approximately 4 MB (before compression) of files per set.
|
---|
399 | This typically takes one minute.
|
---|
400 | </entry>
|
---|
401 | </row>
|
---|
402 | <row>
|
---|
403 | <entry>
|
---|
404 | <ulink url="images/4.png"><inlinemediaobject><imageobject>
|
---|
405 | <imagedata fileref="images/1-mini">
|
---|
406 | </imageobject></inlinemediaobject>
|
---|
407 | </ulink>
|
---|
408 | </entry>
|
---|
409 | <entry>
|
---|
410 | Mondo calls Mindi. Mindi generates bootable floppy disk images and
|
---|
411 | auxiliary data disk images which are based on your existing Linux
|
---|
412 | distribution and filesystem. That way, you can be sure Mondo's
|
---|
413 | tools will be compatible with your existing filesystems and
|
---|
414 | binaries: Mondo's tools are your tools. Mindi takes up to five
|
---|
415 | minutes to run.
|
---|
416 | </entry>
|
---|
417 | </row>
|
---|
418 | <row>
|
---|
419 | <entry>
|
---|
420 | <ulink url="images/5tape.png"><inlinemediaobject><imageobject>
|
---|
421 | <imagedata fileref="images/5tape-mini">
|
---|
422 | </imageobject></inlinemediaobject>
|
---|
423 | </ulink>
|
---|
424 | </entry>
|
---|
425 | <entry>
|
---|
426 | Finally, Mondo begins backing up your computer. This process may
|
---|
427 | take a few minutes or a few hours, depending on how much data you
|
---|
428 | are archiving, how fast your CPU is, how much RAM you have, and so
|
---|
429 | on. It will backup your regular files and then your large files
|
---|
430 | (files larger than approximately 32MB). If you have opted to verify
|
---|
431 | your backups, Mondo will do that too.
|
---|
432 | </entry>
|
---|
433 | </row>
|
---|
434 | <row>
|
---|
435 | <entry>
|
---|
436 | <ulink url="images/10cd.png"><inlinemediaobject><imageobject>
|
---|
437 | <imagedata fileref="images/10cd-mini">
|
---|
438 | </imageobject></inlinemediaobject>
|
---|
439 | </ulink>
|
---|
440 | </entry>
|
---|
441 | <entry>
|
---|
442 | Do you want to create a boot floppy at the end? Yes, if you're a
|
---|
443 | tape or NFS user. No, if you are using CD/DVD-R[W]'s and your computer
|
---|
444 | supports bootable CD's. Tape users only need one floppy but other
|
---|
445 | users may need more. Mondo will advise accordingly.
|
---|
446 | </entry>
|
---|
447 | </row>
|
---|
448 | </tbody></tgroup></informaltable>
|
---|
449 |
|
---|
450 | <itemizedlist>
|
---|
451 | <listitem>
|
---|
452 | <para>Try to boot from the first CD of the backup (or the first
|
---|
453 | floppy, if you made floppies). Choose 'Compare Mode' by typing
|
---|
454 | compare at the boot screen.</para>
|
---|
455 | </listitem>
|
---|
456 | <listitem>
|
---|
457 | <para>If you can boot, fine. If not, make a Mindi "Test" CD to
|
---|
458 | checkout the compatibility of your system. (see
|
---|
459 | <link linkend="test-mindi">Testing Mindi</link> for more
|
---|
460 | details). Remove the CD/floppy; boot your computer as usual;
|
---|
461 | execute as root</para>
|
---|
462 | <para></para>
|
---|
463 | <informaltable><tgroup cols="1"><tbody>
|
---|
464 | <row>
|
---|
465 | <entry>
|
---|
466 |
|
---|
467 | bash# mindi
|
---|
468 | bash# cd /root/images/mindi
|
---|
469 |
|
---|
470 | </entry>
|
---|
471 | </row>
|
---|
472 | </tbody></tgroup></informaltable>
|
---|
473 |
|
---|
474 | <para>(for CD-R)</para>
|
---|
475 | <para></para>
|
---|
476 | <informaltable><tgroup cols="1"><tbody>
|
---|
477 | <row>
|
---|
478 | <entry>
|
---|
479 |
|
---|
480 | bash# cdrecord dev=0,0,0 speed=4 -eject -v mindi.iso
|
---|
481 |
|
---|
482 | </entry>
|
---|
483 | </row>
|
---|
484 | </tbody></tgroup></informaltable>
|
---|
485 |
|
---|
486 | <para>(for CD-RW)</para>
|
---|
487 | <para></para>
|
---|
488 | <informaltable><tgroup cols="1"><tbody>
|
---|
489 | <row>
|
---|
490 | <entry>
|
---|
491 |
|
---|
492 | bash# cdrecord dev=0,0,0 speed=4 blank=fast -eject -v mindi.iso
|
---|
493 |
|
---|
494 | </entry>
|
---|
495 | </row>
|
---|
496 | </tbody></tgroup></informaltable>
|
---|
497 |
|
---|
498 | <para>Reboot your system with the created Mindi CD, with the BIOS
|
---|
499 | set to boot from CD. If the result is a command line in 'Expert'
|
---|
500 | mode, your system checks out. Remove the CD and reboot your
|
---|
501 | system.</para>
|
---|
502 | </listitem>
|
---|
503 | <listitem>
|
---|
504 | <para>If you still cannot boot from Mindi's CD then please e-mail
|
---|
505 | the &ML; for help.
|
---|
506 | </para>
|
---|
507 | </listitem>
|
---|
508 | </itemizedlist>
|
---|
509 | <para>When making a backup on a live system, there will always be
|
---|
510 | processes running that will write out data on the system after you
|
---|
511 | have made the backup and before you have made the compare, this
|
---|
512 | will result in difference showing up when comparing your backup.
|
---|
513 | For a full explanation and what can be done to avoid this, please
|
---|
514 | read this section.</para>
|
---|
515 | <itemizedlist>
|
---|
516 |
|
---|
517 | <listitem>
|
---|
518 | <para>This QuickStart covers the ideal case. Upon receiving any
|
---|
519 | system feedback/errors, read each related HOWTO section.</para>
|
---|
520 | <para>Example 2-1. A test backup of your /home directory to CD-Rs
|
---|
521 | using the command line</para>
|
---|
522 | <para></para>
|
---|
523 | <informaltable><tgroup cols="1"><tbody>
|
---|
524 | <row>
|
---|
525 | <entry>
|
---|
526 |
|
---|
527 | bash# mondoarchive -OVc 4 -I /home -gF
|
---|
528 |
|
---|
529 | </entry>
|
---|
530 | </row>
|
---|
531 | </tbody></tgroup></informaltable>
|
---|
532 |
|
---|
533 | <para>The 'c' means you must be writing to CD-Rs, not CD-RWs (the
|
---|
534 | latter would require 'w' instead of 'c'). The '4' is the speed of
|
---|
535 | your CD writer. The string after -I is the path to be backed up.
|
---|
536 | The '-gF' means you are going to see the pretty yellow-on-blue
|
---|
537 | screen instead of the boring white-on-black screen. :) It also
|
---|
538 | means Mondo will not offer to create physical boot floppies for
|
---|
539 | you. It is assumed that you are able to boot from the CD which
|
---|
540 | Mondo has generated.</para>
|
---|
541 | <para>Example 2-2. A backup of your whole filesystem to NFS using
|
---|
542 | the command line</para>
|
---|
543 | <para></para>
|
---|
544 | <informaltable><tgroup cols="1"><tbody>
|
---|
545 | <row>
|
---|
546 | <entry>
|
---|
547 |
|
---|
548 | bash# mkdir -p /mnt/nfs
|
---|
549 | bash# mount 192.168.1.28:/home/nfs /mnt/nfs
|
---|
550 | bash# mondoarchive -OVn 192.168.1.28:/home/nfs -gF[...]
|
---|
551 | bash# umount /mnt/nfs
|
---|
552 | bash# cdrecord dev=0,0,0 speed=4 -eject -v /root/images/mindi/mindi.iso
|
---|
553 |
|
---|
554 | </entry>
|
---|
555 | </row>
|
---|
556 | </tbody></tgroup></informaltable>
|
---|
557 |
|
---|
558 | <para>Note that you have to mount the NFS partition, backup to it,
|
---|
559 | unmount it, and create a boot CD to allow you to restore from
|
---|
560 | scratch if necessary. To reassure yourself that you will be able to
|
---|
561 | restore from the NFS share even if your PC is wiped, please boot
|
---|
562 | from the Mindi CD and type 'compare'. The on-screen instructions
|
---|
563 | from that point on should be sufficient.</para>
|
---|
564 | <para>Example 2-3. A backup of your whole
|
---|
565 | filesystem to tape using the command line</para>
|
---|
566 | <para></para>
|
---|
567 | <informaltable><tgroup cols="1"><tbody>
|
---|
568 | <row>
|
---|
569 | <entry>
|
---|
570 |
|
---|
571 | bash# mondoarchive -OVt -d /dev/st0 -9 -L -g
|
---|
572 |
|
---|
573 | </entry>
|
---|
574 | </row>
|
---|
575 | </tbody></tgroup></informaltable>
|
---|
576 |
|
---|
577 | <para>In this case, we assume Syslinux is incompatible with your
|
---|
578 | boot media. For some reason, some BIOSes just don't like Syslinux.
|
---|
579 | If you find this to be the case for your computer, please use '-L'
|
---|
580 | to force Mondo to use LILO instead of Syslinux as the boot loader
|
---|
581 | for its CD/floppies. (NB: This has nothing to do with which boot
|
---|
582 | loader your hard drive uses.) Also, it is a good habit to specify
|
---|
583 | your tape streamer with '-d <device>'. You don't usually need
|
---|
584 | to but it's good to be on the safe side. Some computers call your
|
---|
585 | tape streamer /dev/osst0, some call it /dev/ftape, ...</para>
|
---|
586 | </listitem>
|
---|
587 | </itemizedlist>
|
---|
588 |
|
---|
589 | </chapter>
|
---|
590 |
|
---|
591 | <chapter id="overview"><title>Overview</title>
|
---|
592 |
|
---|
593 | <sect1 id="overview-mondorescue">
|
---|
594 | <title>Mondo Rescue</title>
|
---|
595 | <para>Mondo Rescue backs up your file system to CD, tape, NFS
|
---|
596 | (archives stored remotely) or ISO's (archives stored locally).
|
---|
597 | Mondo uses afio as the backup engine; afio is a well-respected
|
---|
598 | replacement for tar. In the event of catastrophic data loss, you
|
---|
599 | may restore some or all of your system, even if your hard drives
|
---|
600 | are now blank. Mondo Rescue can do a lot of other cool
|
---|
601 | things:</para>
|
---|
602 | <itemizedlist>
|
---|
603 | <listitem>
|
---|
604 | <para>You can use Mondo to clone an installation of Linux. Just
|
---|
605 | backup the crucial stuff and exclude /home, /var/log, etc.</para>
|
---|
606 | </listitem>
|
---|
607 | <listitem>
|
---|
608 | <para>You can backup a non-RAID file system and restore it as RAID
|
---|
609 | including the root partition (if your kernel supports that).</para>
|
---|
610 | </listitem>
|
---|
611 | <listitem>
|
---|
612 | <para>You can backup a system running on one format and restore as
|
---|
613 | another format.</para>
|
---|
614 | </listitem>
|
---|
615 | <listitem>
|
---|
616 | <para>You can restructure your partitions, e.g. shrink/enlarge,
|
---|
617 | reassign devices, add hard drives, etc, before you partition and
|
---|
618 | format your drives. Mondo will restore your data and amend
|
---|
619 | /etc/lilo.conf and /etc/fstab accordingly.</para>
|
---|
620 | </listitem>
|
---|
621 | <listitem>
|
---|
622 | <para>You can backup Linux/Windows systems, including the boot
|
---|
623 | sectors. Mondo will make everything right at restore-time.
|
---|
624 | (However, do run "Scandisk" when you first boot into Windows, just
|
---|
625 | in case.)</para>
|
---|
626 | </listitem>
|
---|
627 | <listitem>
|
---|
628 | <para>You can use your Mondo backup CD to verify the integrity of
|
---|
629 | your computer.</para>
|
---|
630 | </listitem>
|
---|
631 | </itemizedlist>
|
---|
632 | <para>Mondo's principal virtue is that it protects you from the
|
---|
633 | problems that can arise when you reinstall completely from scratch.
|
---|
634 | If you want to wipe and restore your system every year just as a
|
---|
635 | matter of 'good practice', Mondo is not for you. However, if you
|
---|
636 | want to get up and running again in a hurry after someone breaks
|
---|
637 | into your computer and wipes it (or if you accidentally wipe it
|
---|
638 | yourself) then Mondo is definitely for you. It will permit you to
|
---|
639 | roll back to a known-good installation in a very short period of
|
---|
640 | time, sometimes as little as twenty minutes. Even if you backup
|
---|
641 | large amounts of data to tape daily and do not want to add yet
|
---|
642 | another backup regime, please consider backing up the core
|
---|
643 | filesystem (i.e. everything but the directories containing your
|
---|
644 | huge database and your prizewinning novel) every month or so, just
|
---|
645 | in case. You will be glad you did.</para>
|
---|
646 | <para>What is Mondo not?</para>
|
---|
647 | <para>Mondo is not an everyday backup program. It is not designed
|
---|
648 | to replace tar, afio, kbackup, etc. Mondo is designed to make it
|
---|
649 | possible to recover from scratch if necessary. Tar and afio offer a
|
---|
650 | quick, convenient way to backup small sets of files, sometimes to
|
---|
651 | removable media.</para>
|
---|
652 | </sect1>
|
---|
653 |
|
---|
654 | <sect1 id="overview-mindi">
|
---|
655 | <title>Mindi</title>
|
---|
656 | <para>
|
---|
657 | Mindi Linux creates a set of boot/root floppy disk images
|
---|
658 | that will let you perform basic system maintenance on your Linux
|
---|
659 | distro. The principal virtues of Mindi's boot disks are the fact
|
---|
660 | that they contain your kernel, modules, tools and libraries. You
|
---|
661 | can ask for additional binaries (or other files) to be included on
|
---|
662 | the kit. The libraries will be added for you.
|
---|
663 | </para>
|
---|
664 | <para>Whichever modules were loaded at backup-time, they are
|
---|
665 | reloaded at boot-time. So, in theory, you will boot into almost the
|
---|
666 | same environment as you were in when you backed up. If you want to
|
---|
667 | add files to your Mindi boot disks, edit '<INSTALLPATH OF
|
---|
668 | MINDI>/mindi/deplist.txt' and add the files to that list. The
|
---|
669 | added files and dependencies, will be spread across the data disks
|
---|
670 | at run-time.
|
---|
671 | </para>
|
---|
672 | <para>Mindi makes sure that Mondo has all the tools it needs at
|
---|
673 | boot-time. Mondo uses fdisk, mkfs, cat, less, more, afio, gzip,
|
---|
674 | bzip2, your keyboard configuration, your glibc libraries, your
|
---|
675 | other libraries, your kernel, your modules, ... a lot! Mindi takes
|
---|
676 | care of all that, so that Mondo can get on with the job of backing
|
---|
677 | up or restoring your data.
|
---|
678 | </para>
|
---|
679 | <para>Mindi is also handy for making boot CDs/disks which stand on
|
---|
680 | their own. You do not need Mondo. Indeed, if you like, you could
|
---|
681 | use another backup/restore program with Mindi. Just add it to
|
---|
682 | Mindi's dependency list (type 'locate deplist.txt' to find it).
|
---|
683 | Mindi will include your software on its boot CD/disks the next time
|
---|
684 | you run mindi.
|
---|
685 | </para>
|
---|
686 | </sect1>
|
---|
687 |
|
---|
688 |
|
---|
689 | <sect1 id="overview-linuxbackup">
|
---|
690 | <title>Linux Backup</title>
|
---|
691 | <para>Mondo Rescue and Mindi Linux are used primarily as Linux
|
---|
692 | backup and cloning tools. The fall in prices of CD-RW drives and
|
---|
693 | writable discs will allow current users to keep good backups and
|
---|
694 | future users to leverage the cloning capability.</para>
|
---|
695 | <para>Tape drives are more likely to suit your needs if you run a
|
---|
696 | larger installation (or have lots of MP3's). Warning! OnStream
|
---|
697 | drives do not play well with Mondo. I do not know why. It is, in my
|
---|
698 | opinion, something which OnStream should look into. Mondo uses
|
---|
699 | fopen(), fread(), fwrite() and fclose() to interact with tape
|
---|
700 | drives. That works for most drives but some drives just don't like
|
---|
701 | that.</para>
|
---|
702 | <para>I have tested it thousands of times on my own computer with
|
---|
703 | my own data and with no alternate backup regime. It worked for me.
|
---|
704 | Thousands of users testify to Mondo's stability and its ease of
|
---|
705 | use. However, please test it on your own system before you rely on
|
---|
706 | it. In fact, do not rely on any software until you have tested it
|
---|
707 | to see if it performs as expected.</para>
|
---|
708 | <para>To establish that Mondo will behave well in an emergency,
|
---|
709 | please be prepared. Run a test backup as follows:-</para>
|
---|
710 | <itemizedlist>
|
---|
711 | <listitem>
|
---|
712 | <para>Run mondoarchive without any command-line options.</para>
|
---|
713 | </listitem>
|
---|
714 | <listitem>
|
---|
715 | <para>Backup a subset of files - e.g. /usr/local - to CD or
|
---|
716 | tape. Say 'yes' when asked if you want to verify them.</para>
|
---|
717 | </listitem>
|
---|
718 | <listitem>
|
---|
719 | <para>If you are not backing up to CD, please create boot
|
---|
720 | floppies when prompted.</para>
|
---|
721 | </listitem>
|
---|
722 | </itemizedlist>
|
---|
723 | <para>Next, restore archives to your live filesystem.</para>
|
---|
724 | <itemizedlist>
|
---|
725 | <listitem>
|
---|
726 | <para>When mondoarchive terminates, run mondorestore without any
|
---|
727 | command-line options.</para>
|
---|
728 | </listitem>
|
---|
729 | <listitem><para>Insert the CD or the first boot floppy when prompted.
|
---|
730 | Press <Enter>. Wait a moment.</para></listitem>
|
---|
731 | <listitem><para>Select a subset of files to restore, e.g. /usr/local/man
|
---|
732 | and /usr/local/bin. Hit OK.</para></listitem>
|
---|
733 | <listitem><para>Restore files to /tmp or /root/RESTORED or something
|
---|
734 | similar.</para></listitem>
|
---|
735 | <listitem><para>When mondorestore terminates, compare the restored files
|
---|
736 | to the originals using cmp or diff.</para></listitem>
|
---|
737 | </itemizedlist>
|
---|
738 | <para>Finally, simulate an emergency restore.</para>
|
---|
739 | <itemizedlist>
|
---|
740 | <listitem>
|
---|
741 | <para>Boot from CD/floppies.</para>
|
---|
742 | </listitem>
|
---|
743 | <listitem><para>Select 'Interactive Mode' at boot-time. (Type
|
---|
744 | 'interactive' and hit <Enter>.)</para></listitem>
|
---|
745 | <listitem><para>Hit OK when shown the mountlist. Say 'yes' when asked if
|
---|
746 | you accept the mountlist.</para></listitem>
|
---|
747 | <listitem><para>Select files to restore, e.g. /usr/local/man and
|
---|
748 | /usr/local/bin. Hit OK.</para></listitem>
|
---|
749 | <listitem><para>Restore files to /tmp or /root/RESTORED or something
|
---|
750 | similar.</para></listitem>
|
---|
751 | <listitem><para>When mondorestore terminates, please reboot and compare
|
---|
752 | the restored files to the originals.</para></listitem>
|
---|
753 | </itemizedlist>
|
---|
754 | <para>FYI, the subroutines to repartition and reformat your drives
|
---|
755 | are very stable. If you are a RAID or LVM user, you
|
---|
756 | might encounter some difficulties when wiping and restoring
|
---|
757 | from scratch because of the sheer range of filesystem layouts and
|
---|
758 | the impossibility of testing Mondo on every single one. If you have
|
---|
759 | trouble, just drop to the command-line and partition/format
|
---|
760 | manually. Then, call mondorestore, select Interactive Mode, and say
|
---|
761 | 'no' when asked if you want Mondo to partition or format your
|
---|
762 | drives for you.</para>
|
---|
763 | <para>You see, even if you have trouble, you still have two hands
|
---|
764 | and most of the tools you need - lvchange, pvcreate, fdisk, mkraid,
|
---|
765 | etc. - to do it manually. After you have prepped and formatted your
|
---|
766 | drives manually (if you have to), just run mondorestore again and
|
---|
767 | say 'no' when asked if you want to prep or format your drives. What
|
---|
768 | could be easier?</para>
|
---|
769 | </sect1>
|
---|
770 |
|
---|
771 | <sect1 id="overview-winbackup">
|
---|
772 | <title>Windows Backup</title>
|
---|
773 | <para>Backing up windows partitions.</para>
|
---|
774 | <sect2 id="overview-winbackup-win95"><title>Windows ME/95/98</title>
|
---|
775 | <para>Verify that the partition is listed in /etc/fstab and is
|
---|
776 | mounted (e.g. /dev/hda1). Mondo will take care of everything else.
|
---|
777 | The files will be archived just like all other files in the live
|
---|
778 | file system. At restore-time, Mondo will take care of the boot
|
---|
779 | sector of /dev/hda1 prior to the restore.</para>
|
---|
780 | <para>Note: if Windows ME/95/98 is not located on /dev/hda1 or
|
---|
781 | /dev/sda1, then Mondo will not take care of the boot sector of
|
---|
782 | /dev/hda1. The user will have to boot from a DOS floppy and run SYS
|
---|
783 | C: to correct the Windows boot sector.</para>
|
---|
784 | </sect2>
|
---|
785 | <sect2 id="overview-winbackup-winnt"><title>Windows NT4/2K/XP</title>
|
---|
786 | <para>Windows NT4/2K/XP typically use the NTFS file system, not
|
---|
787 | VFAT.. The user should use '-x /dev/hda1' (or whichever device the
|
---|
788 | Windows partition resides). Mondo will treat the partition as a
|
---|
789 | biggiefile. Mondo will also add an entry to the mountlist to
|
---|
790 | reflect the size and type of the partition. The user may not edit
|
---|
791 | that partition's size at restore-time (for obvious reasons).</para>
|
---|
792 | <para>Please bear in mind that Mondo was written for Linux users.
|
---|
793 | If Mondo does not backup or restore your Windows system well, you
|
---|
794 | might want to consider paying for 1-to-1 technical support.
|
---|
795 | Ironically, the only people to pay for 1-to-1 technical support
|
---|
796 | have been Linux users, whereas Windows users want a free ride. That
|
---|
797 | is one reason why the Linux community gives me warm fuzzies.</para>
|
---|
798 | </sect2>
|
---|
799 | </sect1>
|
---|
800 |
|
---|
801 | <sect1 id="overview-history">
|
---|
802 | <title>Mondo Rescue and Mindi Linux
|
---|
803 | History</title>
|
---|
804 | <para>Mondo Rescue was created in December 1999 as a utility to
|
---|
805 | clone Linux/Windows installations. Norton Ghost would not do the
|
---|
806 | job, and my boss wanted to jump on the Linux bandwagon. So, I wrote
|
---|
807 | a few scripts and shoehorned them into the latest Linux-Mandrake
|
---|
808 | CD. Since that time, Mondo grew into a disaster recovery suite for
|
---|
809 | Linux and Windows. Mondo forced me to learn about the kernel, its
|
---|
810 | initrd initial ramdisk, modules, library dependencies, disk
|
---|
811 | partitioning, and the myriad differences between the Top 10 Linux
|
---|
812 | distributions.</para>
|
---|
813 | <para>
|
---|
814 | a few scripts and shoehorned them into the latest Linux-Mandrake
|
---|
815 | CD. Since that time, Mondo grew into a disaster recovery suite for
|
---|
816 | Linux and Windows. Mondo forced me to learn about the kernel, its
|
---|
817 | initrd initial ramdisk, modules, library dependencies, disk
|
---|
818 | partitioning, and the myriad differences between the Top 10 Linux
|
---|
819 | distributions.</para>
|
---|
820 | <para>The first formal release was made on February 18th, 2000.
|
---|
821 | Mondo is currently one of the top five Linux backup/restore
|
---|
822 | programs. Mondo has been compared favorably to ArcServe, Arkeia and
|
---|
823 | BRU. Although Mondo lacks the more advanced, enterprise-level
|
---|
824 | features of ArcServe and Arkeia, for workstations and small- to
|
---|
825 | medium-size servers it is ideal because it is small, fast,
|
---|
826 | efficient, stable, comes with source code, and is being actively
|
---|
827 | developed and supported.</para>
|
---|
828 | </sect1>
|
---|
829 |
|
---|
830 | <sect1 id="overview-sysreq">
|
---|
831 | <title>System
|
---|
832 | Requirements</title>
|
---|
833 | <sect2 id="overview-sysrq-hwreq">
|
---|
834 | <title>Hardware Requirements</title>
|
---|
835 |
|
---|
836 | <para>Your computer must have:</para>
|
---|
837 | <itemizedlist>
|
---|
838 | <listitem>
|
---|
839 | <para>Intel(R)-compatible CPU</para>
|
---|
840 | </listitem>
|
---|
841 | <listitem>
|
---|
842 | <para>64MB of RAM (128MB recommended)</para>
|
---|
843 | </listitem>
|
---|
844 | <listitem>
|
---|
845 | <para>800MB of hard disk space free</para>
|
---|
846 | </listitem>
|
---|
847 | <listitem>
|
---|
848 | <para>CD writer, tape streamer, NFS share or some way to backup the
|
---|
849 | backups :)</para>
|
---|
850 | </listitem>
|
---|
851 | </itemizedlist>
|
---|
852 | <para>It is recommended that your computer have very good airflow.
|
---|
853 | The backup with Mondo Rescue and Mindi Linux will utilize your CPU,
|
---|
854 | CD drive and fixed disk(s) like very few other applications. With a
|
---|
855 | few hours of system backup activity, computers without sufficient
|
---|
856 | airflow may show symptoms such as not burning full CD discs. The
|
---|
857 | solution is a $20 or less additional fan at your local electronics
|
---|
858 | discount store.</para>
|
---|
859 | </sect2>
|
---|
860 |
|
---|
861 | <sect2 id="overview-sysrq-kernelreq">
|
---|
862 | <title>Kernel Requirements</title>
|
---|
863 |
|
---|
864 | <para>Your kernel must have:</para>
|
---|
865 | <itemizedlist>
|
---|
866 | <listitem>
|
---|
867 | <para>stable loopfs support, which means it really needs to be
|
---|
868 | 2.2.19 or 2.4.7 (or later)</para>
|
---|
869 | </listitem>
|
---|
870 | <listitem>
|
---|
871 | <para>CD-ROM device support</para>
|
---|
872 | </listitem>
|
---|
873 | <listitem>
|
---|
874 | <para>ISO9660 file system support</para>
|
---|
875 | </listitem>
|
---|
876 | <listitem>
|
---|
877 | <para>initrd ramdisk support (built-in)</para>
|
---|
878 | </listitem>
|
---|
879 | <listitem>
|
---|
880 | <para>Virtual memory file system support (built-in)</para>
|
---|
881 | </listitem>
|
---|
882 | <listitem>
|
---|
883 | <para>floppy disk support (built in)</para>
|
---|
884 | </listitem>
|
---|
885 | <listitem>
|
---|
886 | <para>ext2 file system support (built-in)</para>
|
---|
887 | </listitem>
|
---|
888 | <listitem>
|
---|
889 | <para>Support for the backup media (Tape, CD-RW, NFS, Hard
|
---|
890 | disk)</para>
|
---|
891 | </listitem>
|
---|
892 | <listitem>
|
---|
893 | <para>If the backup media is CD-RW then you need SCSI emulation
|
---|
894 | also</para>
|
---|
895 | </listitem>
|
---|
896 | </itemizedlist>
|
---|
897 | <para>Please note that the stock kernels of Red Hat 7.2, 7.3, 8.0,
|
---|
898 | Mandrake 8.2, 9.0, SuSE 7.x,, 8.x, and Slackware 8.x all meet
|
---|
899 | Mondo's requirements. If your kernel does not meet Mondo's
|
---|
900 | requirements then there is something wrong with it. Mondo's demands
|
---|
901 | are not unreasonable.</para>
|
---|
902 | <para>Mondo (specifically Mindi) does not require any specific
|
---|
903 | modules. It does require that your kernel support the initrd
|
---|
904 | initial ramdisk facility. Typically this is supported by the Linux
|
---|
905 | kernel. Modules used are needed to support the CD, floppy disks,
|
---|
906 | hard disks, etc. If the support is modular, then the modules will
|
---|
907 | be incorporated in a boot disk by Mindi. If the support is built-in
|
---|
908 | (static), then it will be available at boot-time by default.</para>
|
---|
909 | </sect2>
|
---|
910 | <sect2 id="overview-sysrq-swreq">
|
---|
911 | <title>Software Requirements</title>
|
---|
912 | <para>See Mondo's <ulink url="../download.html">Download
|
---|
913 | page</ulink> for details.</para>
|
---|
914 | <para>Mondo requires afio, bzip2, cdrtools/cdrecord, ncurses, newt,
|
---|
915 | isolinux/syslinux, lzo (optional), lzop (optional), mkisofs, slang,
|
---|
916 | and a few other packages.</para>
|
---|
917 | <para>Good Linux distributions provide all these packages. If yours
|
---|
918 | does not then please go to the aforementioned Download page or surf
|
---|
919 | the Net, preferably the website of the distribution you are
|
---|
920 | using.</para>
|
---|
921 | <para>Mondo's expectations are not unreasonable, either of your
|
---|
922 | Linux distribution or of your kernel. However, if your distribution
|
---|
923 | fails to meet its expectations and you cannot find out how to
|
---|
924 | resolve them, please feel free to e-mail the &ML;
|
---|
925 | </para>
|
---|
926 | </sect2>
|
---|
927 | </sect1>
|
---|
928 | </chapter>
|
---|
929 |
|
---|
930 | <chapter id="installation">
|
---|
931 | <title>Installation</title>
|
---|
932 |
|
---|
933 | <sect1 id="installation-mindi">
|
---|
934 | <title>Mindi Installation</title>
|
---|
935 | <para>If you are installing from a tarball then copy it to wherever
|
---|
936 | you have enough space, for example /tmp and type:</para>
|
---|
937 | <para></para>
|
---|
938 | <informaltable><tgroup cols="1"><tbody>
|
---|
939 | <row>
|
---|
940 | <entry>
|
---|
941 |
|
---|
942 | bash# cd /tmpbash# tar -zxvf mindi-0.7x.tgzbash# cd mindi-0.7xbash# ./install.sh
|
---|
943 |
|
---|
944 | </entry>
|
---|
945 | </row>
|
---|
946 | </tbody></tgroup></informaltable>
|
---|
947 |
|
---|
948 | <para>This installs mindi into /usr/local/share/mindi and installs
|
---|
949 | links to the programs into /usr/local/sbin</para>
|
---|
950 | <para>Or, if you are installing from an RPM then copy it to
|
---|
951 | wherever you have enough space, for example /tmp and type:</para>
|
---|
952 | <para></para>
|
---|
953 | <informaltable><tgroup cols="1"><tbody>
|
---|
954 | <row>
|
---|
955 | <entry>
|
---|
956 |
|
---|
957 | bash# rpm -Uvh /tmp/mindi-0.7x-x.i386.rpm
|
---|
958 |
|
---|
959 | </entry>
|
---|
960 | </row>
|
---|
961 | </tbody></tgroup></informaltable>
|
---|
962 |
|
---|
963 | <para>This installs mindi into /usr/share/mindi and installs links
|
---|
964 | to the programs into /usr/sbin. This may be /usr/local/share/mindi
|
---|
965 | and /usr/local/sbin, depending on the package you use. Different
|
---|
966 | Linux distributions put system files in different places. The funny
|
---|
967 | thing is, each distribution claims it is right and the others are
|
---|
968 | wrong. Oh, and they all agree that I mustn't have read the LFS!
|
---|
969 | :-)</para>
|
---|
970 | <para>Debian users may wish to first create a .deb file and then
|
---|
971 | use the debian package manager:</para>
|
---|
972 | <para></para>
|
---|
973 | <informaltable><tgroup cols="1"><tbody>
|
---|
974 | <row>
|
---|
975 | <entry>
|
---|
976 |
|
---|
977 | bash# cd /tmpbash# alien mindi*.rpmbash# dpkg -i mindi*.deb
|
---|
978 |
|
---|
979 | </entry>
|
---|
980 | </row>
|
---|
981 | </tbody></tgroup></informaltable>
|
---|
982 |
|
---|
983 | <para>This installs mindi into /usr/share/mindi and installs links
|
---|
984 | to the programs into /usr/sbin</para>
|
---|
985 | </sect1>
|
---|
986 |
|
---|
987 | <sect1 id="installation-mondo">
|
---|
988 | <title>Mondo Installation</title>
|
---|
989 | <para>If you are installing from a tarball then copy it to wherever
|
---|
990 | you have enough space, for example /tmp and type:</para>
|
---|
991 | <para></para>
|
---|
992 | <informaltable><tgroup cols="1"><tbody>
|
---|
993 | <row>
|
---|
994 | <entry>
|
---|
995 |
|
---|
996 | bash# cd /tmpbash# tar -zxvf mondo-1.xx.tgzbash# cd mondo-1.xxbash# make && make install
|
---|
997 |
|
---|
998 | </entry>
|
---|
999 | </row>
|
---|
1000 | </tbody></tgroup></informaltable>
|
---|
1001 |
|
---|
1002 | <para>This installs mondo into /usr/local/share/mondo and installs
|
---|
1003 | links to the programs into /usr/local/bin</para>
|
---|
1004 | <para>Or, if you are installing from an RPM then copy it to copy it
|
---|
1005 | to wherever you have enough space, for example /tmp and
|
---|
1006 | type:</para>
|
---|
1007 | <para></para>
|
---|
1008 | <informaltable><tgroup cols="1"><tbody>
|
---|
1009 | <row>
|
---|
1010 | <entry>
|
---|
1011 |
|
---|
1012 | bash# rpm -Uvh /tmp/mondo-1.5x-x.i386.rpm
|
---|
1013 |
|
---|
1014 | </entry>
|
---|
1015 | </row>
|
---|
1016 | </tbody></tgroup></informaltable>
|
---|
1017 |
|
---|
1018 | <para>This installs mondo into /usr/share/mondo and installs links
|
---|
1019 | to the programs into /usr/bin</para>
|
---|
1020 | <para>Debian users may wish to first create a .deb file and then
|
---|
1021 | use the debian package manager:</para>
|
---|
1022 | <para></para>
|
---|
1023 | <informaltable><tgroup cols="1"><tbody>
|
---|
1024 | <row>
|
---|
1025 | <entry>
|
---|
1026 |
|
---|
1027 | bash# cd /tmpbash# alien mondo*.rpmbash# dpkg -i mondo*.deb
|
---|
1028 |
|
---|
1029 | </entry>
|
---|
1030 | </row>
|
---|
1031 | </tbody></tgroup></informaltable>
|
---|
1032 |
|
---|
1033 | <para>This installs mondo into /usr/share/mondo and installs links
|
---|
1034 | to the programs into /usr/bin</para>
|
---|
1035 | </sect1>
|
---|
1036 | </chapter>
|
---|
1037 |
|
---|
1038 | <chapter id="test">
|
---|
1039 | <title>Tests</title>
|
---|
1040 |
|
---|
1041 | <sect1 id="test-mindi">
|
---|
1042 | <title>Testing Mindi</title>
|
---|
1043 |
|
---|
1044 | <para>Mindi is a vital part of the backup procedure. If you have
|
---|
1045 | used Mondo before or if you are in a hurry, skip steps 6.2 and 6.3;
|
---|
1046 | go straight to QuickStart.</para>
|
---|
1047 | <para>However, if you have time or if you have been having trouble
|
---|
1048 | getting Mondo to work, I would recommend trying out Mindi directly
|
---|
1049 | (rather than via Mondo) to see if it can produce a bootable CD on
|
---|
1050 | your system.</para>
|
---|
1051 | <para>Make sure you are root while doing this, otherwise mindi will
|
---|
1052 | fail, now do this.</para>
|
---|
1053 | <para>If you have any problems, please:-</para>
|
---|
1054 | <itemizedlist>
|
---|
1055 | <listitem>
|
---|
1056 | <para>read /var/log/mindi.log</para>
|
---|
1057 | </listitem>
|
---|
1058 | <listitem><para>feel free to edit mindi (it's a shell script, btw) to try
|
---|
1059 | to fix the problem yourself</para></listitem>
|
---|
1060 | <listitem><para>contact the &ML; if you get stuck.</para></listitem>
|
---|
1061 | </itemizedlist>
|
---|
1062 | <para>Type:-</para>
|
---|
1063 | <para></para>
|
---|
1064 | <informaltable><tgroup cols="1"><tbody>
|
---|
1065 | <row>
|
---|
1066 | <entry>
|
---|
1067 |
|
---|
1068 | bash# mindi
|
---|
1069 |
|
---|
1070 | </entry>
|
---|
1071 | </row>
|
---|
1072 | </tbody></tgroup></informaltable>
|
---|
1073 |
|
---|
1074 | <para>Example screen output, selecting to use your own kernel, to
|
---|
1075 | create boot disks, and to create a bootable CD image:</para>
|
---|
1076 | <para></para>
|
---|
1077 | <informaltable><tgroup cols="1"><tbody>
|
---|
1078 | <row>
|
---|
1079 | <entry>
|
---|
1080 |
|
---|
1081 | Mindi Linux mini-distro generator v0.72 by HRabson <hugorabson@msn.com>--------------------------
|
---|
1082 | ----------------------------------------------------Do you want to use your own kernel to build the boo
|
---|
1083 | t disk (y/n) ? yYour kernel is /boot/vmlinuz-2.4.14-k6 (v2.4.14-k6)Generating list of dependency files.
|
---|
1084 | ....................... Done.Analyzing your keyboard's configuration.Adding the following keyboard mapp
|
---|
1085 | ing tables:................... DoneDropping i686-optimized libraries if appropriate.............DoneAss
|
---|
1086 | embling dependency files........ Done.The files have been subdivided into 2 directories.Your mountlist
|
---|
1087 | will look like this:-DEVICE MOUNTPOINT FORMAT SIZE (MB)/dev/hda3 / ext2 996/dev/hda2 swap swap 127/dev/
|
---|
1088 | hda4 /usr ext2 6189Tarring and zipping the groups......... Done.Creating data disk #1...#2... Done.1722
|
---|
1089 | KB boot disk was created OK............................ Done.2880KB boot disk was created OK...........
|
---|
1090 | ................. Done.In the directory '/root/images/mindi' you will find the images:-mindi-boot.1722.
|
---|
1091 | img mindi-boot.2880.img mindi-data-1.img mindi-data-2.imgWould you like to create boot+data floppy disk
|
---|
1092 | s now (y/n) ?yWARNING! THIS WILL ERASE YOUR FLOPPY DISKS.About to write boot disk. Please press ENTER.W
|
---|
1093 | riting boot disk.................................................. Done.About to write data disk #1. Pl
|
---|
1094 | ease press ENTER.Writing data disk #1........................... Done.About to write data disk #2. Plea
|
---|
1095 | se press ENTER.Writing data disk #2........................... Done.Shall I make a bootable CD image? (
|
---|
1096 | y/n) yFinished.One 1.72MB boot disk, one 2.88MB boot disk and 2 data disks were created.
|
---|
1097 |
|
---|
1098 | </entry>
|
---|
1099 | </row>
|
---|
1100 | </tbody></tgroup></informaltable>
|
---|
1101 |
|
---|
1102 | <para>If your kernel is too large (more than about 900KB) then you
|
---|
1103 | cannot make boot floppies, although you can still make a bootable
|
---|
1104 | CD image. The easiest way to test Mindi in either case is to say
|
---|
1105 | 'n' to its first question and 'y' to its second, then use the
|
---|
1106 | separate application cdrecord to make a bootable CD-R or
|
---|
1107 | CD-RW.</para>
|
---|
1108 | <para>Use the cdrecord application to write the CD image:</para>
|
---|
1109 | <para></para>
|
---|
1110 | <informaltable><tgroup cols="1"><tbody>
|
---|
1111 | <row>
|
---|
1112 | <entry>
|
---|
1113 |
|
---|
1114 | bash# cd /root/images/mindibash# cdrecord -scanbus
|
---|
1115 |
|
---|
1116 | </entry>
|
---|
1117 | </row>
|
---|
1118 | </tbody></tgroup></informaltable>
|
---|
1119 |
|
---|
1120 | <para>The output of the above call to cdrecord will tell you your
|
---|
1121 | CD writer's node. It is usually '0,0,0'. Choose one of the
|
---|
1122 | following calls to write the CD, depending on whether the disk in
|
---|
1123 | the drive is a CD-R or a CD-RW. Please replace 'x,x,x' with your
|
---|
1124 | writer's node. For further information, type 'man cdrecord" from a
|
---|
1125 | Linux command line.</para>
|
---|
1126 | <para>If writing to a CD-RW Drive/Disc:</para>
|
---|
1127 | <para></para>
|
---|
1128 | <informaltable><tgroup cols="1"><tbody>
|
---|
1129 | <row>
|
---|
1130 | <entry>
|
---|
1131 |
|
---|
1132 | bash# cdrecord -blank fast dev=x,x,x speed=4 mindi.iso (for CD-RW)
|
---|
1133 |
|
---|
1134 | </entry>
|
---|
1135 | </row>
|
---|
1136 | </tbody></tgroup></informaltable>
|
---|
1137 |
|
---|
1138 | <para>If writing to a CD-R Drive/Disc:</para>
|
---|
1139 | <para></para>
|
---|
1140 | <informaltable><tgroup cols="1"><tbody>
|
---|
1141 | <row>
|
---|
1142 | <entry>
|
---|
1143 |
|
---|
1144 | bash# cdrecord dev=x,x,x speed=4 mindi.iso (for CD-R)
|
---|
1145 |
|
---|
1146 | </entry>
|
---|
1147 | </row>
|
---|
1148 | </tbody></tgroup></informaltable>
|
---|
1149 | </sect1>
|
---|
1150 |
|
---|
1151 | <!--
|
---|
1152 | <sect1 id="test-mondo">
|
---|
1153 | <title>Testing Mondo</title>
|
---|
1154 | </sect1>
|
---|
1155 | -->
|
---|
1156 | </chapter>
|
---|
1157 |
|
---|
1158 | <chapter id="backup">
|
---|
1159 | <title>Backup</title>
|
---|
1160 |
|
---|
1161 | <sect1 id="backup-recommandations">
|
---|
1162 | <title>Recommandations</title>
|
---|
1163 | <para>Mama does Mondo? Papa does Mondo? Is that a Dean Martin song?
|
---|
1164 | Well, anyway, here is how I backup my system:</para>
|
---|
1165 | <itemizedlist>
|
---|
1166 | <listitem>
|
---|
1167 | <para>Shut down all possible applications (this minimizes any
|
---|
1168 | compare differences following the backup)</para>
|
---|
1169 | </listitem>
|
---|
1170 | <listitem>
|
---|
1171 | <para>Type:</para>
|
---|
1172 | </listitem>
|
---|
1173 | </itemizedlist>
|
---|
1174 | <para></para>
|
---|
1175 | <informaltable><tgroup cols="1"><tbody>
|
---|
1176 | <row>
|
---|
1177 | <entry>
|
---|
1178 |
|
---|
1179 | bash# mondoarchive
|
---|
1180 |
|
---|
1181 | </entry>
|
---|
1182 | </row>
|
---|
1183 | </tbody></tgroup></informaltable>
|
---|
1184 |
|
---|
1185 | <para>For most users, that should be enough. :-) Mondoarchive will
|
---|
1186 | usually autodetect your hardware and configure it for you.</para>
|
---|
1187 | <para>If you are a power user (or you like to control every detail
|
---|
1188 | of how Mondo runs) then you may want to look at the command-line
|
---|
1189 | switches. For example:-</para>
|
---|
1190 | <para></para>
|
---|
1191 | <informaltable><tgroup cols="1"><tbody>
|
---|
1192 | <row>
|
---|
1193 | <entry>
|
---|
1194 |
|
---|
1195 | bash# mondoarchive -Ow4 -gF -I /home
|
---|
1196 |
|
---|
1197 | </entry>
|
---|
1198 | </row>
|
---|
1199 | </tbody></tgroup></informaltable>
|
---|
1200 |
|
---|
1201 | <para>Cdrecord will tell me where my CD recorder lives, in SCSI
|
---|
1202 | terms, which in my case is '0,0,0'. The call to mondoarchive tells
|
---|
1203 | Mondo that I want to backup everything to a 4x CD-RW drive that has
|
---|
1204 | a CD-RW disk in it. (Use -Oc instead of -Ow if you are using
|
---|
1205 | CD-R.)</para>
|
---|
1206 | <para>Please put the first CD-R(W) in the drive now. You will be
|
---|
1207 | prompted to insert CD #2 but you will not be prompted to insert the
|
---|
1208 | first disk. However, if you forget, do not worry: if Mondo fails to
|
---|
1209 | write the first (or any) disk, it will offer to retry, abort or
|
---|
1210 | fail.</para>
|
---|
1211 | <para>I run Mondo at the highest compression available ('-9) and
|
---|
1212 | then go to work. I then walk home at lunch (I live right by my
|
---|
1213 | workplace), change CD, eat lunch, and go back to work. When I get
|
---|
1214 | home, it has all been done.</para>
|
---|
1215 | <para>Your mileage may vary. Experiment. Find the speed/compression
|
---|
1216 | compromise that best suits your needs.</para>
|
---|
1217 | <para>If you are using cron then please use -F to make sure that
|
---|
1218 | Mondo does not prompt you to create bootable floppy disks. Cron
|
---|
1219 | does not handle user interaction well because it pipes stdin and
|
---|
1220 | stdout specially. Please consult cron's manual for more
|
---|
1221 | information. Jesse Keating has written a script for cron/Mondo
|
---|
1222 | users. It is available on the
|
---|
1223 | <ulink url="../../docs/docs.html">Documentation</ulink>
|
---|
1224 | page.</para>
|
---|
1225 | </sect1>
|
---|
1226 |
|
---|
1227 | <sect1 id="backup-cmd">
|
---|
1228 | <title>Backup Commands and Options</title>
|
---|
1229 |
|
---|
1230 | <para>Backup Command:</para>
|
---|
1231 | <para></para>
|
---|
1232 | <informaltable><tgroup cols="1"><tbody>
|
---|
1233 | <row>
|
---|
1234 | <entry>
|
---|
1235 |
|
---|
1236 | mondoarchive <-option1> <-option2> ... <-optionN>
|
---|
1237 |
|
---|
1238 | </entry>
|
---|
1239 | </row>
|
---|
1240 | </tbody></tgroup></informaltable>
|
---|
1241 |
|
---|
1242 | <para>E.g.,</para>
|
---|
1243 | <para></para>
|
---|
1244 | <informaltable><tgroup cols="1"><tbody>
|
---|
1245 | <row>
|
---|
1246 | <entry>
|
---|
1247 |
|
---|
1248 | bash# mondoarchive -E /mnt/dos /mnt/cdrom -9 -Oc 8
|
---|
1249 |
|
---|
1250 | </entry>
|
---|
1251 | </row>
|
---|
1252 | </tbody></tgroup></informaltable>
|
---|
1253 |
|
---|
1254 | <para>Would create backup CD to a CD-R disc at the highest
|
---|
1255 | compression level, writing at speed 2 and ignoring the /mnt/dos and
|
---|
1256 | /mnt/cdrom directories.</para>
|
---|
1257 | <para>To see a detailed list of switches and their meaning, see the
|
---|
1258 | <ulink url="http://www.mondorescue.org/download/mondoarchive.1.html">HTML
|
---|
1259 | man page</ulink> on the website or type 'man mondoarchive' at the
|
---|
1260 | console.</para>
|
---|
1261 | <sect2 id="backup-cmd-cdr">
|
---|
1262 | <title>Standard Example With CD-R</title>
|
---|
1263 | <para></para>
|
---|
1264 | <informaltable><tgroup cols="1"><tbody>
|
---|
1265 | <row>
|
---|
1266 | <entry>
|
---|
1267 |
|
---|
1268 | bash# mondoarchive -Oc 2 -g
|
---|
1269 |
|
---|
1270 | </entry>
|
---|
1271 | </row>
|
---|
1272 | </tbody></tgroup></informaltable>
|
---|
1273 |
|
---|
1274 | <para>Replace '2' in '-Oc2' with the writer's speed. If
|
---|
1275 | mondoarchive cannot find your CD-R then please add '-d 0,0,0' (or
|
---|
1276 | whatever your CD writer's SCSI node is; usually, it is 0,0,0) to
|
---|
1277 | the call.</para>
|
---|
1278 | <para>Please insert the first disk in the writer while the PC is
|
---|
1279 | chugging away. If Mondo needs additional CD-R(W) then it will ask
|
---|
1280 | for them.</para>
|
---|
1281 | </sect2>
|
---|
1282 | <sect2 id="backup-cmd-cdrw">
|
---|
1283 | <title>Standard Example With CD-RW</title>
|
---|
1284 | <para></para>
|
---|
1285 | <informaltable><tgroup cols="1"><tbody>
|
---|
1286 | <row>
|
---|
1287 | <entry>
|
---|
1288 |
|
---|
1289 | bash# mondoarchive -Ow 2 -g
|
---|
1290 |
|
---|
1291 | </entry>
|
---|
1292 | </row>
|
---|
1293 | </tbody></tgroup></informaltable>
|
---|
1294 |
|
---|
1295 | <para>Replace '2' in '-Ow2' with the writer's speed.</para>
|
---|
1296 | </sect2>
|
---|
1297 | <sect2 id="backup-cmd-tape">
|
---|
1298 | <title>Standard Example With Tape</title>
|
---|
1299 | <para></para>
|
---|
1300 | <informaltable><tgroup cols="1"><tbody>
|
---|
1301 | <row>
|
---|
1302 | <entry>
|
---|
1303 |
|
---|
1304 | bash# mondoarchive -Ot -d /dev/st0 -g
|
---|
1305 |
|
---|
1306 | </entry>
|
---|
1307 | </row>
|
---|
1308 | </tbody></tgroup></informaltable>
|
---|
1309 |
|
---|
1310 | <para>With previous versions of Mondo, you needed to specify the
|
---|
1311 | size of the tape. As of v1.51, that is no longer necessary.</para>
|
---|
1312 | </sect2>
|
---|
1313 | <sect2 id="backup-cmd-failsafe">
|
---|
1314 | <title>Standard Example With Failsafe kernel</title>
|
---|
1315 | <para></para>
|
---|
1316 | <informaltable><tgroup cols="1"><tbody>
|
---|
1317 | <row>
|
---|
1318 | <entry>
|
---|
1319 |
|
---|
1320 | bash# mondoarchive -k FAILSAFE -Ow 2
|
---|
1321 |
|
---|
1322 | </entry>
|
---|
1323 | </row>
|
---|
1324 | </tbody></tgroup></informaltable>
|
---|
1325 |
|
---|
1326 | <para>Due to slight policy differences in the Debian distribution
|
---|
1327 | approach, the '-k FAILSAFE' option is typically needed with
|
---|
1328 | Debian.</para>
|
---|
1329 | </sect2>
|
---|
1330 | <sect2 id="backup-cmd-network">
|
---|
1331 | <title>Standard Example With Network Backup</title>
|
---|
1332 | <para></para>
|
---|
1333 | <informaltable><tgroup cols="1"><tbody>
|
---|
1334 | <row>
|
---|
1335 | <entry>
|
---|
1336 |
|
---|
1337 | bash# mount 192.168.1.3:/home/nfs -t nfs /mnt/nfsbash# mondoarchive -OVn 192.168.1.3:/home/nfs -g -s 20
|
---|
1338 | 0mbash# umount /mnt/nfs
|
---|
1339 |
|
---|
1340 | </entry>
|
---|
1341 | </row>
|
---|
1342 | </tbody></tgroup></informaltable>
|
---|
1343 |
|
---|
1344 | <para>The resultant ISO's can be burned to CD's if you want (which
|
---|
1345 | isn't a good idea unless you're a Mondo expert because they'll try
|
---|
1346 | to restore over a network by default, which is silly cos the
|
---|
1347 | archives are on the CD's). Or, you can boot from the Mindi floppies
|
---|
1348 | (or mondorescue.iso) and hit ENTER a few times to restore.</para>
|
---|
1349 | </sect2>
|
---|
1350 | </sect1>
|
---|
1351 | </chapter>
|
---|
1352 |
|
---|
1353 | <chapter id="compare">
|
---|
1354 | <title>Compare</title>
|
---|
1355 | <para>Before you trust your backup CD, make sure your BIOS can boot
|
---|
1356 | CD (and that it is configured to do so).</para>
|
---|
1357 | <itemizedlist>
|
---|
1358 | <listitem>
|
---|
1359 | <para>Boot from the first CD.</para>
|
---|
1360 | </listitem>
|
---|
1361 | <listitem>
|
---|
1362 | <para>Type:</para>
|
---|
1363 | </listitem>
|
---|
1364 | </itemizedlist>
|
---|
1365 | <para></para>
|
---|
1366 | <informaltable><tgroup cols="1"><tbody>
|
---|
1367 | <row>
|
---|
1368 | <entry>
|
---|
1369 |
|
---|
1370 | bash# compare
|
---|
1371 |
|
---|
1372 | </entry>
|
---|
1373 | </row>
|
---|
1374 | </tbody></tgroup></informaltable>
|
---|
1375 |
|
---|
1376 | <para>Follow the on-screen instructions. This will compare your
|
---|
1377 | backup against your original file system.</para>
|
---|
1378 | <para>FYI, no bad archives have been created since May 2000. Having
|
---|
1379 | said that, I would still encourage you to run Compare before
|
---|
1380 | trusting the backups.</para>
|
---|
1381 | <para>To view the file differences, look at the file
|
---|
1382 | '/tmp/changed.txt'. Normal differences include logs and other
|
---|
1383 | dynamic system files that changed during the time of the backup
|
---|
1384 | process. If only a few files differ - e.g. files in /var, files
|
---|
1385 | ending in '&#732;', logs, temporary files, /etc/mtab,
|
---|
1386 | /etc/adjtimex - then you know the archives are good. Your logs will
|
---|
1387 | change over time, too. Bear in mind that a difference between the
|
---|
1388 | backup and the live copy does not indicate a flaw in Mondo. It
|
---|
1389 | indicates that you or your filesystem changed the files, so the
|
---|
1390 | backup is no longer 100% up to date. However, that is inevitable,
|
---|
1391 | as your filesystem changes from moment to moment (which is why you
|
---|
1392 | back it up regularly).</para>
|
---|
1393 |
|
---|
1394 | </chapter>
|
---|
1395 |
|
---|
1396 | <chapter id="restore">
|
---|
1397 | <title>Restore</title>
|
---|
1398 |
|
---|
1399 | <sect1 id="restore-overview">
|
---|
1400 | <title>Overview</title>
|
---|
1401 |
|
---|
1402 | <para>I hope you don't have to restore from scratch very often.
|
---|
1403 | It's nerve-wracking until you realize that Mondo's restore engine
|
---|
1404 | is very reliable. I backup and restore my system 2 or 3 times a
|
---|
1405 | week as part of the testing process. I have no other backup regime,
|
---|
1406 | so it had better work.</para>
|
---|
1407 | <para>If you find that you cannot make your PC boot from the CD,
|
---|
1408 | take heart: the first backup CD of each set contains floppy disk
|
---|
1409 | images to give you the same functionality as the CD (minus the
|
---|
1410 | archives, of course) on floppies. Remember, your Mondo CD is a
|
---|
1411 | fully functional CD-based mini-distribution as well as a recovery
|
---|
1412 | CD.</para>
|
---|
1413 | <para>You can choose from the following modes:</para>
|
---|
1414 |
|
---|
1415 | <variablelist>
|
---|
1416 | <varlistentry><term>Interactive</term>
|
---|
1417 | <listitem><para>Restore step-by-step, or restore a subset of the
|
---|
1418 | archives. This is the method you should mainly use for your
|
---|
1419 | recovery needs.</para>
|
---|
1420 | </listitem></varlistentry>
|
---|
1421 | <varlistentry><term>Nuke</term>
|
---|
1422 | <listitem><para>Wipe your drives and restore everything,
|
---|
1423 | automatically and unattended. Warning: This does exactly what is
|
---|
1424 | says, so be carefull using it.</para>
|
---|
1425 | </listitem></varlistentry>
|
---|
1426 | <varlistentry><term>Expert</term>
|
---|
1427 | <listitem><para>Boot to a shell prompt. If you want to do anything
|
---|
1428 | creative, you should boot into Expert Mode. It's called expert, I
|
---|
1429 | think that says it all.</para>
|
---|
1430 | </listitem>
|
---|
1431 | </varlistentry>
|
---|
1432 | </variablelist>
|
---|
1433 |
|
---|
1434 | <para>If the CD is not found during the initial restore CD boot
|
---|
1435 | attempt, reboot the PC a second time prior to reporting failure.
|
---|
1436 | Occasional timing errors and hardware/software/system conflicts do
|
---|
1437 | occur.</para>
|
---|
1438 | </sect1>
|
---|
1439 |
|
---|
1440 | <sect1 id="restore-tips">
|
---|
1441 | <title>Tips and Tricks</title>
|
---|
1442 |
|
---|
1443 | <para>Ideally, restore your system to a spare hard drive to test
|
---|
1444 | the integrity and reliability of your disks. To do that, either
|
---|
1445 | edit your mountlist to make the devices point to your spare hard
|
---|
1446 | drive, or swap your hard drive cables between boots.</para>
|
---|
1447 | <para>At a bare minimum, compare your CD against your file system
|
---|
1448 | before you decide whether to trust them.</para>
|
---|
1449 | <para>To test Mondo's ability to handle your LILO or GRUB boot
|
---|
1450 | loader and accompanying configuration file:</para>
|
---|
1451 | <itemizedlist>
|
---|
1452 | <listitem>
|
---|
1453 | <para>Boot from the backup CD into Expert Mode</para>
|
---|
1454 | </listitem>
|
---|
1455 | <listitem>
|
---|
1456 | <para>Type:</para>
|
---|
1457 | </listitem>
|
---|
1458 | </itemizedlist>
|
---|
1459 | <para></para>
|
---|
1460 | <informaltable><tgroup cols="1"><tbody>
|
---|
1461 | <row>
|
---|
1462 | <entry>
|
---|
1463 |
|
---|
1464 | bash# mondorestore --mbr
|
---|
1465 |
|
---|
1466 | </entry>
|
---|
1467 | </row>
|
---|
1468 | </tbody></tgroup></informaltable>
|
---|
1469 |
|
---|
1470 | <itemizedlist>
|
---|
1471 | <listitem>
|
---|
1472 | <para>To fix any mess it made (not that it should) type:</para>
|
---|
1473 | </listitem>
|
---|
1474 | </itemizedlist>
|
---|
1475 | <para></para>
|
---|
1476 | <informaltable><tgroup cols="1"><tbody>
|
---|
1477 | <row>
|
---|
1478 | <entry>
|
---|
1479 |
|
---|
1480 | bash# mount-mebash# chroot /mnt/RESTORINGbash# lilo OR grub-install '(hd0)'bash# exitbash# unmount-me
|
---|
1481 |
|
---|
1482 | </entry>
|
---|
1483 | </row>
|
---|
1484 | </tbody></tgroup></informaltable>
|
---|
1485 |
|
---|
1486 | <itemizedlist>
|
---|
1487 | <listitem>
|
---|
1488 | <para>If it did not work then please copy /tmp/mondo-restore.log to
|
---|
1489 | a floppy (or to your hard disk), gzip it and e-mail it to the
|
---|
1490 | &ML;.</para>
|
---|
1491 | </listitem>
|
---|
1492 | </itemizedlist>
|
---|
1493 |
|
---|
1494 | <sect2>
|
---|
1495 | <title>Barebones (Nuke) Restore</title>
|
---|
1496 | <para>Imagine that your hard drives happen to be wiped,
|
---|
1497 | deliberately or accidentally. Or, imagine that you want to clone
|
---|
1498 | your existing operating system. In either case, you want to run in
|
---|
1499 | Nuke Mode.</para>
|
---|
1500 | <para>If you want to wipe everything and restore your whole system
|
---|
1501 | from CD, please:</para>
|
---|
1502 | <itemizedlist>
|
---|
1503 | <listitem>
|
---|
1504 | <para>Boot from the first Mondo CD</para>
|
---|
1505 | </listitem>
|
---|
1506 | <listitem>
|
---|
1507 | <para>Press <enter></para>
|
---|
1508 | </listitem>
|
---|
1509 | <listitem>
|
---|
1510 | <para>Insert the subsequent CD when asked</para>
|
---|
1511 | </listitem>
|
---|
1512 | <listitem>
|
---|
1513 | <para>Watch the screen for errors</para>
|
---|
1514 | </listitem>
|
---|
1515 | </itemizedlist>
|
---|
1516 | <para>That's it. The restoration process for tape or NFS users is
|
---|
1517 | similarly easy: just boot, answer the on-screen prompts, and
|
---|
1518 | wait.</para>
|
---|
1519 | <para>Now, should something go wrong, you will be able to examine
|
---|
1520 | /tmp/mondo-restore.log to see what happened. All is not lost. You
|
---|
1521 | can fdisk and format the partitions yourself, using the tools that
|
---|
1522 | come with the CD. You can then run mondorestore in Interactive Mode
|
---|
1523 | and say 'no' when asked if you want Mondo to partition/format your
|
---|
1524 | drives.</para>
|
---|
1525 | <para>If you want to see exactly what Mondo is doing while it is
|
---|
1526 | restoring, press <Alt><left cursor> to view its
|
---|
1527 | logfile, in a virtual console, scrolling past.</para>
|
---|
1528 | </sect2><sect2>
|
---|
1529 | <title>Interactive Restore</title>
|
---|
1530 | <para>Interactive Mode is for people who have lost a subset of data
|
---|
1531 | from their live file system, or perhaps who have lost some data
|
---|
1532 | from their latest backup and want to restore a subset of data from
|
---|
1533 | an earlier backup. If you want to restore only some files or if you
|
---|
1534 | do not want to prep/format your drives, then you should boot into
|
---|
1535 | Interactive Mode. The interactive mode will provide an 'Editing
|
---|
1536 | mountlist screen' that allows you to setup a different disk
|
---|
1537 | geometry.</para>
|
---|
1538 | <para>To move up and down between partitions in the 'Editing
|
---|
1539 | mountlist screen', use the Up and Down arrows. To move between the
|
---|
1540 | main window and the buttons at the bottom, use the Left and Right
|
---|
1541 | cursor keys. TAB shifts focus from one screen item to the other in
|
---|
1542 | a haphazard fashion, owing to the complexities of the Newt
|
---|
1543 | library.</para>
|
---|
1544 | <para>If you want to restore selectively, just press <enter>
|
---|
1545 | and follow the on-screen instructions. You will be asked to say
|
---|
1546 | yes/no to a range of questions.</para>
|
---|
1547 | <para>If you are planning to modify your partition table, you would
|
---|
1548 | do well to read up on the partition layout and the use of fdisk, it
|
---|
1549 | gives you some could pointers on how to best lay out partitions.
|
---|
1550 | You can find good guide her.
|
---|
1551 | <ulink url="http://www.ibiblio.org/pub/Linux/docs/HOWTO/mini/Partition/index.html">http://www.ibiblio.o
|
---|
1552 | rg/pub/Linux/docs/HOWTO/mini/Partition/index.html</ulink></para>
|
---|
1553 | <para>If you want to restore a subset of the backup then:</para>
|
---|
1554 | <itemizedlist>
|
---|
1555 | <listitem>
|
---|
1556 | <para>Boot from the CD</para>
|
---|
1557 | </listitem>
|
---|
1558 | <listitem>
|
---|
1559 | <para>Type:</para>
|
---|
1560 | </listitem>
|
---|
1561 | </itemizedlist>
|
---|
1562 | <para></para>
|
---|
1563 | <informaltable><tgroup cols="1"><tbody>
|
---|
1564 | <row>
|
---|
1565 | <entry>
|
---|
1566 |
|
---|
1567 | bash# interactive
|
---|
1568 |
|
---|
1569 | </entry>
|
---|
1570 | </row>
|
---|
1571 | </tbody></tgroup></informaltable>
|
---|
1572 |
|
---|
1573 | <itemizedlist>
|
---|
1574 | <listitem>
|
---|
1575 | <para>Then, after booting, answer the questions as follows:</para>
|
---|
1576 | </listitem>
|
---|
1577 | </itemizedlist>
|
---|
1578 | <para></para>
|
---|
1579 | <informaltable><tgroup cols="1"><tbody>
|
---|
1580 | <row>
|
---|
1581 | <entry>
|
---|
1582 |
|
---|
1583 | Do you want to partition your devices? noDo you want to format them? noDo you want to restore everythin
|
---|
1584 | g? noDo you want to restore something? yesWhich path do you want to restore? /home/hugo [e.g.]Do you wa
|
---|
1585 | nt to run LILO to setup your boot sectors? Yes
|
---|
1586 |
|
---|
1587 | </entry>
|
---|
1588 | </row>
|
---|
1589 | </tbody></tgroup></informaltable>
|
---|
1590 |
|
---|
1591 | </sect2>
|
---|
1592 |
|
---|
1593 | <sect2>
|
---|
1594 | <title>Expert Restore</title>
|
---|
1595 | <para>If you are planning to modify your partition table, you would
|
---|
1596 | do well to read up on the partition layout and the use of fdisk, it
|
---|
1597 | gives you some could pointers on how to best lay out partitions.
|
---|
1598 | You can find good guide her.
|
---|
1599 | <ulink url="http://www.ibiblio.org/pub/Linux/docs/HOWTO/mini/Partition/index.html">http://www.ibiblio.o
|
---|
1600 | rg/pub/Linux/docs/HOWTO/mini/Partition/index.html</ulink></para>
|
---|
1601 | <para>To restore manually, please:</para>
|
---|
1602 | <itemizedlist>
|
---|
1603 | <listitem>
|
---|
1604 | <para>Boot from the first CD, then type:</para>
|
---|
1605 | </listitem>
|
---|
1606 | </itemizedlist>
|
---|
1607 | <para></para>
|
---|
1608 | <informaltable><tgroup cols="1"><tbody>
|
---|
1609 | <row>
|
---|
1610 | <entry>
|
---|
1611 |
|
---|
1612 | bash# expert
|
---|
1613 |
|
---|
1614 | </entry>
|
---|
1615 |
|
---|
1616 | </row>
|
---|
1617 | </tbody></tgroup></informaltable>
|
---|
1618 |
|
---|
1619 | <itemizedlist>
|
---|
1620 | <listitem>
|
---|
1621 | <para>Then do whatever you like. :) You may type the following, of
|
---|
1622 | course:</para>
|
---|
1623 | </listitem>
|
---|
1624 | </itemizedlist>
|
---|
1625 | <para></para>
|
---|
1626 | <informaltable><tgroup cols="1"><tbody>
|
---|
1627 | <row>
|
---|
1628 | <entry>
|
---|
1629 |
|
---|
1630 | bash# mondorestore
|
---|
1631 |
|
---|
1632 | </entry>
|
---|
1633 | </row>
|
---|
1634 | </tbody></tgroup></informaltable>
|
---|
1635 | </sect2>
|
---|
1636 |
|
---|
1637 | <sect2>
|
---|
1638 | <title>Modified partitions - Restore to a different disk geometry</title>
|
---|
1639 | <para>One of the nice things about Mondo is that it lets you wipe
|
---|
1640 | your existing system and restore it in any layout you like (within
|
---|
1641 | reason). You can move from non-RAID to RAID,install and utilize
|
---|
1642 | additional drives, move from ext2 to ReiserFS, etc., all without
|
---|
1643 | risking the loss of data.</para>
|
---|
1644 | <para>If the user excluded a particular partition from backup and
|
---|
1645 | specifically excluded it from the mountlist itself using -E then
|
---|
1646 | Mondo will insert a small (32MB) partition at restore-time, in
|
---|
1647 | order to avoid having to re-jig fstab, the partition table,
|
---|
1648 | etc.</para>
|
---|
1649 | <para>To do this:</para>
|
---|
1650 | <itemizedlist>
|
---|
1651 | <listitem>
|
---|
1652 | <para>Boot into Expert Mode, then type:</para>
|
---|
1653 | </listitem>
|
---|
1654 | </itemizedlist>
|
---|
1655 | <para></para>
|
---|
1656 | <informaltable><tgroup cols="1"><tbody>
|
---|
1657 | <row>
|
---|
1658 | <entry>
|
---|
1659 |
|
---|
1660 | bash# mondorestore
|
---|
1661 |
|
---|
1662 | </entry>
|
---|
1663 | </row>
|
---|
1664 | </tbody></tgroup></informaltable>
|
---|
1665 |
|
---|
1666 | <itemizedlist>
|
---|
1667 | <listitem>
|
---|
1668 | <para>(edit the mountlist using the on-screen editor)</para>
|
---|
1669 | </listitem>
|
---|
1670 | </itemizedlist>
|
---|
1671 | <para>If you want to move from ext2 to ReiserFS, you can do it here
|
---|
1672 | (so long as your kernel supports ReiserFS). Ditto for XFS, JFS or
|
---|
1673 | ext3.</para>
|
---|
1674 | <para>Mondorestore will try to modify your /etc/fstab to reflect
|
---|
1675 | changes you have made to the mountlist. If you are not using LILO,
|
---|
1676 | you can still create your own /mnt/RESTORING/etc/lilo.conf and run
|
---|
1677 | lilo -r /mnt/RESTORING to configure your boot sectors and Master
|
---|
1678 | Boot Record.</para>
|
---|
1679 | <para>Mondo (technically, Mindi on behalf of Mondo) creates a file
|
---|
1680 | called a mountlist. This can be found on the ramdisk at
|
---|
1681 | /tmp/mountlist.txt; it looks something like this:</para>
|
---|
1682 | <para></para>
|
---|
1683 | <informaltable><tgroup cols="1"><tbody>
|
---|
1684 | <row>
|
---|
1685 | <entry>
|
---|
1686 |
|
---|
1687 | /dev/hda1/mnt/windows vfat 4096000/dev/hda5 / reiserfs 6023000>/dev/hda6 /tmp xfs 955000/dev/hda7 /u
|
---|
1688 | sr xfs 4096000
|
---|
1689 |
|
---|
1690 | </entry>
|
---|
1691 | </row>
|
---|
1692 | </tbody></tgroup></informaltable>
|
---|
1693 |
|
---|
1694 | <para>It is fairly easy to understand the list. Each line refers to
|
---|
1695 | a single device/partition. The line format is:</para>
|
---|
1696 | <para></para>
|
---|
1697 | <informaltable><tgroup cols="1"><tbody>
|
---|
1698 | <row>
|
---|
1699 | <entry>
|
---|
1700 |
|
---|
1701 | <device> <partition> <format> <Kilobytes>
|
---|
1702 |
|
---|
1703 | </entry>
|
---|
1704 | </row>
|
---|
1705 | </tbody></tgroup></informaltable>
|
---|
1706 |
|
---|
1707 | <para>If you have added a hard drive and want to take advantage of
|
---|
1708 | the additional space, you could amend the above mountlist to
|
---|
1709 | read:</para>
|
---|
1710 | <para></para>
|
---|
1711 | <informaltable><tgroup cols="1"><tbody>
|
---|
1712 | <row>
|
---|
1713 | <entry>
|
---|
1714 |
|
---|
1715 | /dev/hda1/mnt/windows vfat 6096000/dev/hda5 / reiserfs 9123000/dev/hda6 /tmp xfs 955000/dev/hdb1 /usr x
|
---|
1716 | fs 8192000/dev/hdb2 /home xfs 8192000
|
---|
1717 |
|
---|
1718 | </entry>
|
---|
1719 | </row>
|
---|
1720 | </tbody></tgroup></informaltable>
|
---|
1721 |
|
---|
1722 | <para>This assumes that your old hard drive is /dev/hda and the new
|
---|
1723 | hard drive is /dev/hdb.</para>
|
---|
1724 | <para>Or, if you want to add RAID support, create a new
|
---|
1725 | /etc/raidtab on the ramdisk (which is beyond the scope of this
|
---|
1726 | HOWTO) and then write a mountlist like this:</para>
|
---|
1727 | <para></para>
|
---|
1728 | <informaltable><tgroup cols="1"><tbody>
|
---|
1729 | <row>
|
---|
1730 | <entry>
|
---|
1731 |
|
---|
1732 | /dev/hda1 /mnt/windows vfat 6096000/dev/md0 / reiserfs 9123000/dev/md1 /tmp xfs 955000/dev/md2 xfs 8192
|
---|
1733 | 000/dev/md3 /home xfs 8192000
|
---|
1734 |
|
---|
1735 | </entry>
|
---|
1736 | </row>
|
---|
1737 | </tbody></tgroup></informaltable>
|
---|
1738 |
|
---|
1739 | <para>So long as your /etc/raidtab file is sane, Mondo can
|
---|
1740 | automatically partition and format your disks for you, including
|
---|
1741 | the RAID devices.</para>
|
---|
1742 | <para>Once you have finished editing /tmp/mountlist.txt using
|
---|
1743 | mondorestore's built-in editor then you may choose 'OK'. Please
|
---|
1744 | note that this will not write anything to your hard disk. You will
|
---|
1745 | only reformat or repartition your disks if you say 'Yes' when asked
|
---|
1746 | if you want to do those things.</para>
|
---|
1747 | </sect2>
|
---|
1748 |
|
---|
1749 | <sect2>
|
---|
1750 | <title>Advanced</title>
|
---|
1751 | <para>It is now possible to restore to a live filesystem using
|
---|
1752 | Mondo. In other words, you do not have to boot your PC from your
|
---|
1753 | CD/floppy in order to restore files. Mondo was originally designed
|
---|
1754 | for disaster recovery - situations in which you cannot boot your
|
---|
1755 | PC. If you can boot your PC, it is not really a disaster, is it? :)
|
---|
1756 | Well, if you have wiped out your priceless collection of "MTV's
|
---|
1757 | Bjork Unplugged" MP3's, perhaps it is. Anyway, just type this as
|
---|
1758 | root</para>
|
---|
1759 | <para></para>
|
---|
1760 | <informaltable><tgroup cols="1"><tbody>
|
---|
1761 | <row>
|
---|
1762 | <entry>
|
---|
1763 |
|
---|
1764 | bash# mondorestore
|
---|
1765 |
|
---|
1766 | </entry>
|
---|
1767 | </row>
|
---|
1768 | </tbody></tgroup></informaltable>
|
---|
1769 |
|
---|
1770 | <para></para>
|
---|
1771 | <informaltable><tgroup cols="2"><tbody>
|
---|
1772 | <row>
|
---|
1773 | <entry>
|
---|
1774 | <ulink url="images/rest1.png"><inlinemediaobject><imageobject>
|
---|
1775 | <imagedata fileref="images/rest1-mini">
|
---|
1776 | </imageobject></inlinemediaobject>
|
---|
1777 | </ulink>
|
---|
1778 | </entry>
|
---|
1779 | <entry>
|
---|
1780 | Choose your type of backup media. The live restoration process is
|
---|
1781 | very similar to what you'll experience if you type mondorestore
|
---|
1782 | with no parameters after booting from a Mondo CD/floppy.
|
---|
1783 | </entry>
|
---|
1784 | </row>
|
---|
1785 | <row>
|
---|
1786 | <entry>
|
---|
1787 | <ulink url="images/rest2.png"><inlinemediaobject><imageobject>
|
---|
1788 | <imagedata fileref="images/rest2-mini">
|
---|
1789 | </imageobject></inlinemediaobject>
|
---|
1790 | </ulink>
|
---|
1791 | </entry>
|
---|
1792 | <entry>
|
---|
1793 | Hit 'OK' when you have inserted the tape/CD. If you generated a
|
---|
1794 | tape backup, the tape itself should be enough. If you generated a
|
---|
1795 | CD backup, the first CD should be enough. Otherwise, you may need
|
---|
1796 | the boot floppy.
|
---|
1797 | </entry>
|
---|
1798 | </row>
|
---|
1799 | <row>
|
---|
1800 | <entry>
|
---|
1801 | <ulink url="images/rest3.png"><inlinemediaobject><imageobject>
|
---|
1802 | <imagedata fileref="images/rest3-mini">
|
---|
1803 | </imageobject></inlinemediaobject>
|
---|
1804 | </ulink>
|
---|
1805 | </entry>
|
---|
1806 | <entry>
|
---|
1807 | Flag the files and directories you wish to restore. Use the 'More'
|
---|
1808 | and 'Less' buttons to open and close subdirectories.
|
---|
1809 | </entry>
|
---|
1810 | </row>
|
---|
1811 | <row>
|
---|
1812 | <entry>
|
---|
1813 | <ulink url="images/rest4.png"><inlinemediaobject><imageobject>
|
---|
1814 | <imagedata fileref="images/rest4-mini">
|
---|
1815 | </imageobject></inlinemediaobject>
|
---|
1816 | </ulink>
|
---|
1817 | </entry>
|
---|
1818 | <entry>
|
---|
1819 | Specify the location to restore the files to. In general, '/' is
|
---|
1820 | appropriate. If you do not want to overwrite newer versions of the
|
---|
1821 | files you are restoring then specify /tmp/BKP or similar as the
|
---|
1822 | restore path.
|
---|
1823 | </entry>
|
---|
1824 | </row>
|
---|
1825 | <row>
|
---|
1826 | <entry>
|
---|
1827 | <ulink url="images/rest5.png"><inlinemediaobject><imageobject>
|
---|
1828 | <imagedata fileref="images/rest5-mini">
|
---|
1829 | </imageobject></inlinemediaobject>
|
---|
1830 | </ulink>
|
---|
1831 | </entry>
|
---|
1832 | <entry>
|
---|
1833 | Mondorestore will retrieve configuration information from the
|
---|
1834 | media. (The sample screen is for tape users. CD users will see
|
---|
1835 | something different.)
|
---|
1836 | </entry>
|
---|
1837 | </row>
|
---|
1838 | <row>
|
---|
1839 | <entry>
|
---|
1840 | <ulink url="images/rest6.png"><inlinemediaobject><imageobject>
|
---|
1841 | <imagedata fileref="images/rest6-mini">
|
---|
1842 | </imageobject></inlinemediaobject>
|
---|
1843 | </ulink>
|
---|
1844 | </entry>
|
---|
1845 | <entry>
|
---|
1846 | Data will be restored to the hard disk - first the regular files,
|
---|
1847 | then any big (32MB or greater) files in the restore set.
|
---|
1848 | </entry>
|
---|
1849 | </row>
|
---|
1850 | </tbody></tgroup></informaltable>
|
---|
1851 |
|
---|
1852 | <para>I hope this manual is proving to be useful to you.</para>
|
---|
1853 | </sect2>
|
---|
1854 | </sect1>
|
---|
1855 |
|
---|
1856 | </chapter>
|
---|
1857 |
|
---|
1858 | <chapter id="faq">
|
---|
1859 | <title>FAQ</title>
|
---|
1860 |
|
---|
1861 | <sect1 id="faq-overview">
|
---|
1862 | <title>Overview</title>
|
---|
1863 | <para>Are the errors from Mindi or Mondo? Look at
|
---|
1864 | /var/log/mondo-archive.log, /var/log/mindi.log or the
|
---|
1865 | mondo.err.xxxxx.tgz log indicated by the screen message. Pipe
|
---|
1866 | screen errors which relate to the creation of boot disk(s) and or
|
---|
1867 | data disk(s) to a text file.</para>
|
---|
1868 | <para>See the <ulink url="http://www.mondorescue.org">web
|
---|
1869 | site</ulink> for details. If you are going to e-mail
|
---|
1870 | <ulink url="../../feedback/feedback.html">the list</ulink> then
|
---|
1871 | please attach that text file (zipped!) and tell me:</para>
|
---|
1872 | <itemizedlist>
|
---|
1873 | <listitem>
|
---|
1874 | <para>Your kernel version</para>
|
---|
1875 | </listitem>
|
---|
1876 | <listitem>
|
---|
1877 | <para>Your Linux distro's name and version</para>
|
---|
1878 | </listitem>
|
---|
1879 | <listitem>
|
---|
1880 | <para>Whether your kernel supports initrd and loopfs; it
|
---|
1881 | should!</para>
|
---|
1882 | </listitem>
|
---|
1883 | <listitem>
|
---|
1884 | <para>What sort of PC you are using, including hard disk
|
---|
1885 | configurations</para>
|
---|
1886 | </listitem>
|
---|
1887 | </itemizedlist>
|
---|
1888 | <para>Mondo is freely available and you are given it for no charge.
|
---|
1889 | When you e-mail the &ML;, please bear that in mind.</para>
|
---|
1890 | </sect1>
|
---|
1891 | <sect1 id="faq-general">
|
---|
1892 | <title>General Questions</title>
|
---|
1893 |
|
---|
1894 | <qandaset>
|
---|
1895 | <qandaentry>
|
---|
1896 | <question><para>Q: What is "Mindi"?</para></question>
|
---|
1897 | <answer>
|
---|
1898 | <para>A: Mindi, a.k.a. Mindi-Linux, makes a mini-distribution from
|
---|
1899 | your kernel, modules, modules, tools and libraries. It can also
|
---|
1900 | generate an El Torito 2.88MB boot disk image. Mondo uses Mindi to
|
---|
1901 | create a mini-distro, then boots from it and runs on it.</para>
|
---|
1902 | </answer>
|
---|
1903 | </qandaentry>
|
---|
1904 | <qandaentry>
|
---|
1905 | <question><para>Q: Why is it called "Mondo"?</para></question>
|
---|
1906 | <answer>
|
---|
1907 | <para>A: The Teenage Mutant Ninja Turtles described cool things as
|
---|
1908 | 'mondo'. I wasn't sure what to call this project. 'Faust' was one
|
---|
1909 | idea I had, partly as a dig at my former boss who practically owned
|
---|
1910 | me because of my legal status at the time. In the end, I chose
|
---|
1911 | something short and distinctive.</para>
|
---|
1912 | </answer>
|
---|
1913 | </qandaentry>
|
---|
1914 | <qandaentry>
|
---|
1915 | <question><para>Q: Mondo does not work on my system. It
|
---|
1916 | keels over and dies. What's wrong?</para></question>
|
---|
1917 | <answer>
|
---|
1918 | <para>A: It works on Red Hat 7.x, Linux-Mandrake 8.x, some flavors
|
---|
1919 | of SuSE, some flavors of Slackware, some flavors of Debian, etc.
|
---|
1920 | The more distributions I support, the more moving targets I have to
|
---|
1921 | hit. Please bear this in mind when e-mailing the list. :) If you
|
---|
1922 | would like to help me by beta-testing Mondo (or Mindi) on your PC
|
---|
1923 | then I would be very interested in working with you to work around
|
---|
1924 | the eccentricities of your Linux distro. However, rest assured, 90%
|
---|
1925 | of the bugs reported to me are actually symptoms of FooLinux X.Y's
|
---|
1926 | unique way of doing things.</para>
|
---|
1927 | </answer>
|
---|
1928 | </qandaentry>
|
---|
1929 | <qandaentry>
|
---|
1930 | <question><para>Q: What if the error is in Mindi?</para></question>
|
---|
1931 | <answer>
|
---|
1932 | <para>A: Then send me a copy of /var/log/mindi.log (compressed,
|
---|
1933 | please) along with a description of your distro, your kernel, etc.
|
---|
1934 | Oh, and before sending it, please read it.</para>
|
---|
1935 | </answer>
|
---|
1936 | </qandaentry>
|
---|
1937 | <qandaentry>
|
---|
1938 | <question><para>Q: Can I trust Mondo?</para></question>
|
---|
1939 | <answer>
|
---|
1940 | <para>A: Mondo has generated reliable archives since May 2000. I
|
---|
1941 | have lost data by using bad CD-R disks and not verifying their
|
---|
1942 | contents. Some users have not tried booting from their CD until
|
---|
1943 | crunch time. Remember to boot into Compare Mode to verify the
|
---|
1944 | backup before you trust it. If Mondo did not work, you would not be
|
---|
1945 | reading this. If it does not work for you, your kernel is usually
|
---|
1946 | the culprit. Check <link linkend="overview-sysrq-kernelreq">Linux Kernel
|
---|
1947 | support</link> to see what your kernel should support. Please
|
---|
1948 | e-mail the list (or me) if you need some help with this.</para>
|
---|
1949 | </answer>
|
---|
1950 | </qandaentry>
|
---|
1951 | <qandaentry>
|
---|
1952 | <question><para>Q: How do I report a bug?</para></question>
|
---|
1953 | <answer>
|
---|
1954 | <para>A: E-mail the bug report (mondo.err.xxxxx.tgz) to me. If you
|
---|
1955 | want to discuss it, please e-mail the list. The list is for
|
---|
1956 | talking; my e-mail address is for big files. :-) If you don't send
|
---|
1957 | me a logfile then there isn't a lot that I can do for you, so
|
---|
1958 | PLEASE include a logfile at the very least. Or, pop into #mondo on
|
---|
1959 | irc.redhat.com and see if I'm there.</para>
|
---|
1960 | </answer>
|
---|
1961 | </qandaentry>
|
---|
1962 | <qandaentry>
|
---|
1963 | <question><para>Q: I think Mondo should (...insert
|
---|
1964 | suggestion here...) and I have rewritten it accordingly. Would you
|
---|
1965 | like to see my patch?</para></question>
|
---|
1966 | <answer>
|
---|
1967 | <para>A: Absolutely! :-) The best way for you to make Mondo do what
|
---|
1968 | you want is to modify it and then send me the patch. That way, we
|
---|
1969 | can all benefit.</para>
|
---|
1970 | </answer>
|
---|
1971 | </qandaentry>
|
---|
1972 | <qandaentry>
|
---|
1973 | <question><para>Q: I think Mondo should (...insert
|
---|
1974 | suggestion here...); will you incorporate this feature for me,
|
---|
1975 | please?</para></question>
|
---|
1976 | <answer>
|
---|
1977 | <para>A: I'll definitely think about it. Would you like to
|
---|
1978 | help?</para>
|
---|
1979 | </answer>
|
---|
1980 | </qandaentry>
|
---|
1981 | <qandaentry>
|
---|
1982 | <question><para>Q: Mondo says, "XXX is missing," and
|
---|
1983 | then terminates. What's wrong?</para></question>
|
---|
1984 | <answer>
|
---|
1985 | <para>A: A good Linux distribution should contain XXX but the
|
---|
1986 | designers, in their infinite wisdom, decided not to include that
|
---|
1987 | particular tool. Check <!--<link linkend="linuxpackages">-->Related
|
---|
1988 | Linux Packages<!--</link>--> and install the missing package. If that
|
---|
1989 | fails, contact the vendor/distributor/manufacturer/designer of your
|
---|
1990 | distro.</para>
|
---|
1991 | </answer>
|
---|
1992 | </qandaentry>
|
---|
1993 | <qandaentry>
|
---|
1994 | <question><para>Q: Can Mondo handle multi-CD backups and
|
---|
1995 | restores?</para></question>
|
---|
1996 | <answer>
|
---|
1997 | <para>A: Yes, up to twenty CD per set. This 20-CD limit results
|
---|
1998 | from laziness on my part. I can remove it at any time. However, if
|
---|
1999 | your system occupies more than 20 CD, may I recommend that you
|
---|
2000 | invest in a tape streamer?</para>
|
---|
2001 | </answer>
|
---|
2002 | </qandaentry>
|
---|
2003 | <qandaentry>
|
---|
2004 | <question><para>Q: Can Mondo handle Linux/Windows
|
---|
2005 | dual-boot systems?</para></question>
|
---|
2006 | <answer>
|
---|
2007 | <para>A: Yes. If your system currently boots into Linux or Windows
|
---|
2008 | via LILO, you can backup and restore both OSes at the same time
|
---|
2009 | using Mondo. If you are using NTFS then add the switch, '-x
|
---|
2010 | <device>'.</para>
|
---|
2011 | </answer>
|
---|
2012 | </qandaentry>
|
---|
2013 | <qandaentry>
|
---|
2014 | <question><para>Q: Can Mondo backup Windows-only
|
---|
2015 | systems?</para></question>
|
---|
2016 | <answer>
|
---|
2017 | <para>A: Sure, if you pay me to play catch-up to Microsoft. ;)
|
---|
2018 | Seriously, Mondo can do it but I do not give away the
|
---|
2019 | functionality. If you are a Microsoft-only user, you are accusomed
|
---|
2020 | to paying for software and technical support. Please e-mail me for
|
---|
2021 | more information.</para>
|
---|
2022 | </answer>
|
---|
2023 | </qandaentry>
|
---|
2024 | <qandaentry>
|
---|
2025 | <question><para>Q: Does Mondo support LVM?</para></question>
|
---|
2026 | <answer>
|
---|
2027 | <para>A: Mondo supports LVM, yes. Mondo backs up and restores your
|
---|
2028 | existing setup but it does not make it easy for you to change your
|
---|
2029 | LVM configuration. You have to edit /tmp/i-want-my-lvm at boot-time
|
---|
2030 | to do that.</para>
|
---|
2031 | </answer>
|
---|
2032 | </qandaentry>
|
---|
2033 | <qandaentry>
|
---|
2034 | <question><para>Q: What if I don't use LILO? What if I
|
---|
2035 | use GRUB?</para></question>
|
---|
2036 | <answer>
|
---|
2037 | <para>A: GRUB is supported by Mondo.</para>
|
---|
2038 | </answer>
|
---|
2039 | </qandaentry>
|
---|
2040 | <qandaentry>
|
---|
2041 | <question><para>Q: Mondoarchive (or mondorestore)
|
---|
2042 | segfaults when I run it. What could be wrong?</para></question>
|
---|
2043 | <answer>
|
---|
2044 | <para>A: Install from tarball instead of RPM. (Or, try RPM if you
|
---|
2045 | just installed from tarball.) Your compiler or your libraries may
|
---|
2046 | be fubar. We'll see. If that doesn't work then please e-mail the
|
---|
2047 | &ML;.</para>
|
---|
2048 | </answer>
|
---|
2049 | </qandaentry>
|
---|
2050 | <qandaentry>
|
---|
2051 | <question><para>Q: I get the error, 'Cannot find
|
---|
2052 | /tmp/dev.0' or 'Cannot mount device 0x0701'; what do I do?</para></question>
|
---|
2053 | <answer>
|
---|
2054 | <para>A: Please free up /dev/loop0 using 'losetup /dev/loop0 -d' to
|
---|
2055 | unmount that loop device. If your OS will not let you do that,
|
---|
2056 | contact your local support group or Linux vendor.</para>
|
---|
2057 | </answer>
|
---|
2058 | </qandaentry>
|
---|
2059 | <qandaentry>
|
---|
2060 | <question><para>Q: Can I create a Mondo CD and then use
|
---|
2061 | it to create an archive of any OS on any PC?</para></question>
|
---|
2062 | <answer>
|
---|
2063 | <para>A: Not yet. You can use Mondo to backup Linux or
|
---|
2064 | Linux/Windows dual boot. One day, Mondo will let you backup
|
---|
2065 | partitions it can't read or write, by treating each partition as
|
---|
2066 | one long file to be backed up. This file will be chopped,
|
---|
2067 | compressed and archived like any other big file.</para>
|
---|
2068 | </answer>
|
---|
2069 | </qandaentry>
|
---|
2070 | <qandaentry>
|
---|
2071 | <question><para>Q: Why do you insist on putting floppy
|
---|
2072 | disk images on Mondo CD? They waste space and I never use them. The
|
---|
2073 | CD works just fine, so why keep the floppy disk images?</para></question>
|
---|
2074 | <answer>
|
---|
2075 | <para>A: Because of my old college buddy, Justin Case. If you
|
---|
2076 | really, truly want them gone then please submit a patch to make
|
---|
2077 | </para>
|
---|
2078 | </answer>
|
---|
2079 | </qandaentry>
|
---|
2080 | <qandaentry>
|
---|
2081 | <question><para>Q: Why do you insist on putting floppy
|
---|
2082 | disk images on Mondo CD? They waste space and I never use them. The
|
---|
2083 | CD works just fine, so why keep the floppy disk images?</para>
|
---|
2084 | <para>A: Because of my old college buddy, Justin Case. If you
|
---|
2085 | really, truly want them gone then please submit a patch to make
|
---|
2086 | them optional.</para></question>
|
---|
2087 | <answer>
|
---|
2088 | </answer>
|
---|
2089 | </qandaentry>
|
---|
2090 | <qandaentry>
|
---|
2091 | <question><para>Q: Why doesn't the Mondo project have a
|
---|
2092 | cool-looking animal logo?</para></question>
|
---|
2093 | <answer>
|
---|
2094 | <para>A: Excellent question! Please submit graphics of candidate
|
---|
2095 | animal logos!</para>
|
---|
2096 | </answer>
|
---|
2097 | </qandaentry>
|
---|
2098 | <qandaentry>
|
---|
2099 | <question><para>Q: Is there a Mondo user 'Code of
|
---|
2100 | Conduct?</para></question>
|
---|
2101 | <answer>
|
---|
2102 | <para>A: Yes. Read the HOWTO. Submit patches. Recommend realistic
|
---|
2103 | improvements. Be courteous to other users on the discussion list.
|
---|
2104 | Do not whine.</para>
|
---|
2105 | </answer>
|
---|
2106 | </qandaentry>
|
---|
2107 | </qandaset>
|
---|
2108 | </sect1>
|
---|
2109 |
|
---|
2110 | <sect1 id="faq-booting">
|
---|
2111 | <title>Booting and Kernel related Questions</title>
|
---|
2112 | <qandaset>
|
---|
2113 | <qandaentry>
|
---|
2114 | <question><para>Q: How do I know if Mondo works with my
|
---|
2115 | Linux distro?</para></question>
|
---|
2116 | <answer>
|
---|
2117 | <para>A: Try running it. :) That's always a good way to find out.
|
---|
2118 | Check the <ulink url="../../docs/docs.html">Documentation
|
---|
2119 | page</ulink>, too.</para>
|
---|
2120 | </answer>
|
---|
2121 | </qandaentry>
|
---|
2122 | <qandaentry>
|
---|
2123 | <question><para>Q: When I try to boot from the Mondo CD,
|
---|
2124 | it says, "VFS: Unable to mount root fs." I am using a Debian
|
---|
2125 | distro. What do I do?</para></question>
|
---|
2126 | <answer>
|
---|
2127 | <para>A: Ask Debian's designers why they, unlike every other distro
|
---|
2128 | I can find, have included cramfs and other 'goodies' with their
|
---|
2129 | kernel. In the meantime, please use '-k FAILSAFE' in your command
|
---|
2130 | line when calling Mondo.</para>
|
---|
2131 | </answer>
|
---|
2132 | </qandaentry>
|
---|
2133 | <qandaentry>
|
---|
2134 | <question><para>Q: When I try to boot from the Mondo CD,
|
---|
2135 | it says, "Cannot mount root fs - kernel panic," or something
|
---|
2136 | similar. What do I do?</para></question>
|
---|
2137 | <answer>
|
---|
2138 | <para>A: Recompile your kernel (or use '-k FAILSAFE'). Take a look
|
---|
2139 | at <link linkend="overview-sysrq-kernelreq">Linux Kernel support</link> to
|
---|
2140 | see what you're kernel must support.</para>
|
---|
2141 | </answer>
|
---|
2142 | </qandaentry>
|
---|
2143 | <qandaentry>
|
---|
2144 | <question><para>Q: When I try to boot from the Mondo CD,
|
---|
2145 | it says, "UPGRADE YOUR RAM". What does that mean?</para></question>
|
---|
2146 | <answer>
|
---|
2147 | <para>A: Recompile your kernel and add Virtual memory file system
|
---|
2148 | support. Take a look at <link linkend="overview-sysrq-kernelreq">Linux
|
---|
2149 | Kernel support</link> to see what you're kernel must support. (Of
|
---|
2150 | course, if your PC has less than 64MB of RAM, you could always...
|
---|
2151 | what's the phrase? I know, upgrade your RAM!)</para>
|
---|
2152 | </answer>
|
---|
2153 | </qandaentry>
|
---|
2154 | <qandaentry>
|
---|
2155 | <question><para>Q: When I try to boot from the Mondo CD,
|
---|
2156 | it says something about not finding my CD-ROM drive and then it
|
---|
2157 | blames the kernel. What does that mean?</para></question>
|
---|
2158 | <answer>
|
---|
2159 | <para>A: Your kernel must support initrd, loopfs, IDE CD-ROM's, and
|
---|
2160 | ramdisks. Take a look at <link linkend="overview-sysrq-kernelreq">Linux
|
---|
2161 | Kernel support</link> to see what you're kernel must support. If
|
---|
2162 | your kernel does not support these things, Mondo will not boot from
|
---|
2163 | your CD. However, when running Mindi, you may choose to use _its_
|
---|
2164 | kernel instead of your own. In addition, you may boot from floppy
|
---|
2165 | disk images instead the CD: copy the disk images from the CD
|
---|
2166 | /images directory to floppy disks, using 'dd'. Take a look at
|
---|
2167 | <link linkend="copybootdatadisk">Copy boot data
|
---|
2168 | disks</link> on how to make those.</para>
|
---|
2169 | </answer>
|
---|
2170 | </qandaentry>
|
---|
2171 | <qandaentry>
|
---|
2172 | <question><para>Q: The Mondo CD/floppy takes ages to
|
---|
2173 | boot. How can I speed it up?</para></question>
|
---|
2174 | <answer>
|
---|
2175 | <para>A: Edit mindi (it's a shell script, btw) and change
|
---|
2176 | LILO_OPTIONS="" to LILO_OPTIONS="-c". This enables map compaction
|
---|
2177 | in lilo and speeds up booting, for more info see the lilo man
|
---|
2178 | page.</para>
|
---|
2179 | </answer>
|
---|
2180 | </qandaentry>
|
---|
2181 | <qandaentry>
|
---|
2182 | <question><para>Q: I made a Mondo CD using the failsafe
|
---|
2183 | kernel (i.e. I said 'no' when Mondo asked if I wanted to use my own
|
---|
2184 | kernel). It still doesn't boot. Help!</para></question>
|
---|
2185 | <answer>
|
---|
2186 | <para>A: OK, now that is a bug. :-) I included a kernel with Mondo
|
---|
2187 | (technically, with Mindi, which Mondo uses) to make sure that users
|
---|
2188 | could use Mondo despite flaws in their own kernels. If you are
|
---|
2189 | using Mondo/Mindi's kernel but still cannot boot from your Mondo CD
|
---|
2190 | then please e-mail the list.</para>
|
---|
2191 | </answer>
|
---|
2192 | </qandaentry>
|
---|
2193 | <qandaentry>
|
---|
2194 | <question><para>Q: What if my PC won't boot from a
|
---|
2195 | CD?</para></question>
|
---|
2196 | <answer>
|
---|
2197 | <para>A: Copy the image files from the CD /images directory, using
|
---|
2198 | the dd command. Take a look at
|
---|
2199 | <link linkend="copybootdatadisk">Copy boot data
|
---|
2200 | disks</link> on how to make those. Then boot from the first
|
---|
2201 | floppy; follow it up with the data disks; finally, type 'mount
|
---|
2202 | /mnt/cdrom' and then utilize the restore script as usual, e.g.
|
---|
2203 | mondorestore.</para>
|
---|
2204 | </answer>
|
---|
2205 | </qandaentry>
|
---|
2206 | <qandaentry>
|
---|
2207 | <question><para>Q: But why won't Mondo boot from my CD?
|
---|
2208 | It says my kernel is flawed/outdated/ whatever, and when I wrote to
|
---|
2209 | you, you told me the same thing... but I still don't get it. I
|
---|
2210 | mean, my kernel works for everything else. Why not Mondo?</para></question>
|
---|
2211 | <answer>
|
---|
2212 | <para>A: Because Mondo makes a boot disk using your kernel. I bet
|
---|
2213 | your other software doesn't do that. Also, not all kernels are
|
---|
2214 | suitable for boot disks. I'm sorry but that's Life. Upgrade your
|
---|
2215 | kernel and/or recompile it. Take a look at
|
---|
2216 | <link linkend="overview-sysrq-kernelreq">Linux Kernel support</link> to see
|
---|
2217 | what you're kernel must support.</para>
|
---|
2218 | </answer>
|
---|
2219 | </qandaentry>
|
---|
2220 | <qandaentry>
|
---|
2221 | <question><para>Q: Why do I only need a boot disk if I'm
|
---|
2222 | using a tape drive? Where are the data disks?</para></question>
|
---|
2223 | <answer>
|
---|
2224 | <para>A: On the tape. :-) The first 32MB of the tape will be set
|
---|
2225 | aside for a large tarball containing the data disks, a list of all
|
---|
2226 | files backed up, and other sundries. If Mondo and Mindi do their
|
---|
2227 | respective jobs then you won't need additional floppies, just the
|
---|
2228 | boot floppy and the tape(s).</para>
|
---|
2229 | </answer>
|
---|
2230 | </qandaentry>
|
---|
2231 | <qandaentry>
|
---|
2232 | <question><para>Q: Why does it say, "Process accounting
|
---|
2233 | FAILED" when I reboot?</para></question>
|
---|
2234 | <answer>
|
---|
2235 | <para>A: You were using Process Accounting. Red Hat (or whichever
|
---|
2236 | distro you are using) does not provide a startup/shutdown script
|
---|
2237 | yet. So, when you try to backup the process log, it just grows and
|
---|
2238 | grows as Mondo tries to back it up. Mondo doesn't back it up
|
---|
2239 | anymore and that's why. The unfortunate side-effect is... well,
|
---|
2240 | what you see on your screen. Type 'touch /var/log/pacct' and then
|
---|
2241 | 'paccton' to fix the error message.</para>
|
---|
2242 | </answer>
|
---|
2243 | </qandaentry>
|
---|
2244 | <qandaentry>
|
---|
2245 | <question><para>Q: Why does it say,
|
---|
2246 | &#8220;request_module[block-major-1]: Root fs not mounted VFS:
|
---|
2247 | Cannot open root device "100" or 01:00 Please append a correct
|
---|
2248 | "root=" boot option kernel panic: VFS: Unable to mount root fs on
|
---|
2249 | 01:00&#8221; when i boot from the CD?</para></question>
|
---|
2250 | <answer>
|
---|
2251 | <para>A: Recompile your kernel and add initrd support. Take a look
|
---|
2252 | at <link linkend="overview-sysrq-kernelreq">Linux Kernel support</link>to
|
---|
2253 | see what you're kernel must support.</para>
|
---|
2254 | <para><anchor id="COPYBOOTDATADISK"/>Q: How do i copy boot+data
|
---|
2255 | disk images to physical floppy disks ?</para>
|
---|
2256 | <para>A: The images are in /root/images/mindi (eve if they are
|
---|
2257 | created by Mondo) and also in the 'images' directory on the first
|
---|
2258 | CD of your backup set, if you have backed up to CD. You can copy
|
---|
2259 | the images to disk as follows:-</para>
|
---|
2260 | <informaltable><tgroup cols="1"><tbody>
|
---|
2261 | <row>
|
---|
2262 | <entry>
|
---|
2263 |
|
---|
2264 | [boot disk]bash# fdformat /dev/fd0u1722bash# dd if=/root/images/mindi/mindi-boot.1722.img of=/dev/fd0u1
|
---|
2265 | 772[data disk]bash# fdformat /dev/fd0bash# dd if=/root/images/mindi/mindi-data-N.img of=/dev/fd0Replace
|
---|
2266 | N with 1, 2, etc.
|
---|
2267 |
|
---|
2268 | </entry>
|
---|
2269 | </row>
|
---|
2270 | </tbody></tgroup></informaltable>
|
---|
2271 | </answer>
|
---|
2272 | </qandaentry>
|
---|
2273 |
|
---|
2274 | <qandaentry>
|
---|
2275 | <question><para id="TAPENICE">Q: My tape drive
|
---|
2276 | doesn't play nicely with Mondo at boot-time. What do I do?</para></question>
|
---|
2277 | <answer><para>A: Play with 'mt'. Use its setblksize and
|
---|
2278 | defblksize switches to reconfigure your tape drive if necessary.
|
---|
2279 | Some tape drives just suck, I'm sorry to say. If yours is one of
|
---|
2280 | them then God help you. Mondo can handle any tape drive whose drive
|
---|
2281 | and firmware can handle fread(), fwrite(), fread() and fclose().
|
---|
2282 | Mondo uses standard C libraries to talk to your tape streamer. If
|
---|
2283 | your tape streamer can't handle that then you had better call a
|
---|
2284 | priest. Either that or ask for a refund.
|
---|
2285 | </para>
|
---|
2286 | </answer>
|
---|
2287 | </qandaentry>
|
---|
2288 | </qandaset>
|
---|
2289 | </sect1>
|
---|
2290 |
|
---|
2291 | <sect1 id="faq-install">
|
---|
2292 | <title>Installation related Questions</title>
|
---|
2293 | <qandaset>
|
---|
2294 | <qandaentry>
|
---|
2295 | <question><para>Q: Why do I get, "newt.h not found," or
|
---|
2296 | "popt.h not found," several times when I try to install
|
---|
2297 | Mondo?</para></question>
|
---|
2298 | <answer>
|
---|
2299 | <para>A: You have not installed libnewt and/or libnewt-devel.
|
---|
2300 | Please do so. Check <ulink url="linuxpackages.html">Related Linux
|
---|
2301 | Packages</ulink> to see what Mondo requires and where you can get
|
---|
2302 | tarballs and RPM's. Make sure you are using the right version of
|
---|
2303 | newt/libnewt. Read the error messages carefully.</para>
|
---|
2304 | </answer>
|
---|
2305 | </qandaentry>
|
---|
2306 | <qandaentry>
|
---|
2307 | <question><para>Q: Newt won't compile when I try. What's
|
---|
2308 | the problem?</para></question>
|
---|
2309 | <answer>
|
---|
2310 | <para>A: You are probably missing popt.h, which newt needs to
|
---|
2311 | compile, it can be found in the 'popt' package. Check your
|
---|
2312 | distribution and see if they have popt, if not check
|
---|
2313 | <ulink url="linuxpackages.html">Related Linux Packages</ulink> to
|
---|
2314 | see where you can get it.</para>
|
---|
2315 | </answer>
|
---|
2316 | </qandaentry>
|
---|
2317 | <qandaentry>
|
---|
2318 | <question><para>Q: I've just used up 6 CD-R, only to
|
---|
2319 | find that Mondo won't boot!</para></question>
|
---|
2320 | <answer>
|
---|
2321 | <para>A: You should have used CD-RW. ;) In the HOWTO, it gives
|
---|
2322 | instructions on how to create a test CD (one, not six).</para>
|
---|
2323 | </answer>
|
---|
2324 | </qandaentry>
|
---|
2325 | <qandaentry>
|
---|
2326 | <question>
|
---|
2327 | <para id="PACKREQ">Q: Lots of packages,
|
---|
2328 | required by Mondo, are missing from my system. What do I do?</para>
|
---|
2329 | </question>
|
---|
2330 | <answer>
|
---|
2331 | <para>
|
---|
2332 | A: Install them. :) If you are using RPM or DEB
|
---|
2333 | then you'll be told which packages you need. Mondo offers a lot of
|
---|
2334 | those packages on its
|
---|
2335 | <ulink url="http://www.mondorescue.org/download/download.html">Download</ulink>
|
---|
2336 | web page.</para>
|
---|
2337 | </answer>
|
---|
2338 | </qandaentry>
|
---|
2339 | </qandaset>
|
---|
2340 | </sect1>
|
---|
2341 |
|
---|
2342 | <sect1 id="faq-hardware">
|
---|
2343 | <title>Hardware related Questions</title>
|
---|
2344 | <qandaset>
|
---|
2345 | <qandaentry>
|
---|
2346 | <question><para>Q: Can Mondo handle CD-RW?</para></question>
|
---|
2347 | <answer>
|
---|
2348 | <para>A: Yes. Use '-Ow <speed> <device>' to make it
|
---|
2349 | work.</para>
|
---|
2350 | </answer>
|
---|
2351 | </qandaentry>
|
---|
2352 | <qandaentry>
|
---|
2353 | <question><para>Q: Does Mondo support tape
|
---|
2354 | drives?</para></question>
|
---|
2355 | <answer>
|
---|
2356 | <para>A: Yes. See above.</para>
|
---|
2357 | </answer>
|
---|
2358 | </qandaentry>
|
---|
2359 | <qandaentry>
|
---|
2360 | <question><para>Q: Does Mondo support my tape
|
---|
2361 | drive?</para></question>
|
---|
2362 | <answer>
|
---|
2363 | <para>A: If your tape drive and its firmware and the kernel-level
|
---|
2364 | driver support fopen(), fread(), fwrite() and fclose() - standard C
|
---|
2365 | library calls - then yes, Mondo should support it. If not, well,
|
---|
2366 | you need a refund. :) Mondo plays nicely with any sane, sensible
|
---|
2367 | drives. That's most of them, by the way. :) If your drive doesn't
|
---|
2368 | play nicely with Mondo then you may try tinkering with setblksize
|
---|
2369 | and defblksize using 'mt', or tweaking Mondo's block size by
|
---|
2370 | recompiling it with make INTTAPE=4096 or INTTAPE=8192 or something.
|
---|
2371 | Other than that, you need a priest or a refund.</para>
|
---|
2372 | </answer>
|
---|
2373 | </qandaentry>
|
---|
2374 | <qandaentry>
|
---|
2375 | <question><para>Q: How do I copy the floppy images from
|
---|
2376 | the CD to floppy disks?</para></question>
|
---|
2377 | <answer>
|
---|
2378 | <para>A: Mount the CD-ROM, e.g. at /mnt/cdrom. Insert a blank
|
---|
2379 | floppy. Type:</para>
|
---|
2380 | <para></para>
|
---|
2381 | <informaltable><tgroup cols="1"><tbody>
|
---|
2382 | <row>
|
---|
2383 | <entry>
|
---|
2384 |
|
---|
2385 | bash# cd /mnt/cdrom/imagesbash# dd if=mindi-boot.1722.img of=/dev/fd0u1722
|
---|
2386 |
|
---|
2387 | </entry>
|
---|
2388 | </row>
|
---|
2389 | </tbody></tgroup></informaltable>
|
---|
2390 |
|
---|
2391 | <para>Insert another blank floppy and type:</para>
|
---|
2392 | <para></para>
|
---|
2393 | <informaltable><tgroup cols="1"><tbody>
|
---|
2394 | <row>
|
---|
2395 | <entry>
|
---|
2396 |
|
---|
2397 | bash# dd if=mindi-data-1.img of=/dev/fd0u1722
|
---|
2398 |
|
---|
2399 | </entry>
|
---|
2400 | </row>
|
---|
2401 | </tbody></tgroup></informaltable>
|
---|
2402 |
|
---|
2403 | <para>Do the above for each 'mindi-data' disk image.</para>
|
---|
2404 | </answer>
|
---|
2405 | </qandaentry>
|
---|
2406 | <qandaentry>
|
---|
2407 | <question><para>Q: Sometimes, my laptop won't mount
|
---|
2408 | Mondo CD properly, or something. Umm...</para></question>
|
---|
2409 | <answer>
|
---|
2410 | <para>A: Please insert the CD, close the CD-ROM tray, wait a few
|
---|
2411 | seconds and then press Enter to acknowledge insertion of the next
|
---|
2412 | CD. Your laptop is on crack and is sucking a little too hard on the
|
---|
2413 | pipe.</para>
|
---|
2414 | </answer>
|
---|
2415 | </qandaentry>
|
---|
2416 | <qandaentry>
|
---|
2417 | <question><para>Q: Does Mondo support RAID?</para></question>
|
---|
2418 | <answer>
|
---|
2419 | <para>A: Yes. You may backup and restore RAID systems. You may also
|
---|
2420 | backup a non-RAID system and restore as RAID (or vice versa) by
|
---|
2421 | using the mountlist editor to edit your RAID and non-RAID
|
---|
2422 | partitions and their settings. Mondo will do the partitioning and
|
---|
2423 | formatting for you.</para>
|
---|
2424 | </answer>
|
---|
2425 | </qandaentry>
|
---|
2426 | <qandaentry>
|
---|
2427 | <question><para>Q: Where is my CD burner, in SCSI
|
---|
2428 | terms?</para></question>
|
---|
2429 | <answer>
|
---|
2430 | <para>A: Type:</para>
|
---|
2431 | <para></para>
|
---|
2432 | <informaltable><tgroup cols="1"><tbody>
|
---|
2433 | <row>
|
---|
2434 | <entry>
|
---|
2435 |
|
---|
2436 | bash# cdrecord -scanbus
|
---|
2437 |
|
---|
2438 | </entry>
|
---|
2439 | </row>
|
---|
2440 | </tbody></tgroup></informaltable>
|
---|
2441 |
|
---|
2442 | <para>Find your CD burner's device# (e.g. '0,0,0'). Call Mondo with
|
---|
2443 | the switch '-Oc <speed>' -d '<device>'. Or, if you feel
|
---|
2444 | lucky, just use '-Oc 2'; Mondo will (a) assume you want to write at
|
---|
2445 | 4x to</para>
|
---|
2446 | <para>a CD-R and (b) will do its best to find your CD
|
---|
2447 | burner.</para>
|
---|
2448 | </answer>
|
---|
2449 | </qandaentry>
|
---|
2450 | <qandaentry>
|
---|
2451 | <question><para>Q: Can Mondo handle SCSI devices?</para></question>
|
---|
2452 | <answer>
|
---|
2453 | <para>A: Mondo should be able to handle almost any hardware. So
|
---|
2454 | long as your kernel and modules support it, Mindi will support it
|
---|
2455 | and therefore so will Mondo.</para>
|
---|
2456 | </answer>
|
---|
2457 | </qandaentry>
|
---|
2458 | </qandaset>
|
---|
2459 | </sect1>
|
---|
2460 |
|
---|
2461 | <sect1 id="faq-backup">
|
---|
2462 | <title>Backup related Questions</title>
|
---|
2463 |
|
---|
2464 | <qandaset>
|
---|
2465 | <qandaentry>
|
---|
2466 | <question><para id="MMKM">Q: Mondo says, 'Cannot
|
---|
2467 | run mindi --makemountlist' and aborts. What do I do?</para></question>
|
---|
2468 | <answer>
|
---|
2469 | <para>
|
---|
2470 | A: Look at /var/log/mindi.log and see what it
|
---|
2471 | says. Also, try typing 'mindi --makemountlist /tmp/mountlist.txt'
|
---|
2472 | to see what Mindi says. Compress the log and send it to the &ML; if you get stuck.
|
---|
2473 | </para>
|
---|
2474 | </answer>
|
---|
2475 | </qandaentry>
|
---|
2476 | <qandaentry>
|
---|
2477 | <question><para>Q: Can Mondo burn CD as they are
|
---|
2478 | created?</para></question>
|
---|
2479 | <answer>
|
---|
2480 | <para>A: Yes. Use the '-Oc <speed>' switch. Use a negative
|
---|
2481 | number for a dummy burn.</para>
|
---|
2482 | </answer>
|
---|
2483 | </qandaentry>
|
---|
2484 | <qandaentry>
|
---|
2485 | <question><para>Q: When I try to backup to CD,
|
---|
2486 | cdrecord/mkisofs returns an error. Nothing else appears to be
|
---|
2487 | wrong. What do I do?</para></question>
|
---|
2488 | <answer>
|
---|
2489 | <para>A: Upgrade cdrecord and mkisofs.</para>
|
---|
2490 | </answer>
|
---|
2491 | </qandaentry>
|
---|
2492 | <qandaentry>
|
---|
2493 | <question><para>Q: Mondo failed to burn my CD. It said
|
---|
2494 | something like, "Error CDB A1 01 02 53 ..." and so on. What does
|
---|
2495 | that mean?</para></question>
|
---|
2496 | <answer>
|
---|
2497 | <para>A: Cdrecord reported some serious errors while trying to burn
|
---|
2498 | your CD. Check your CD burner, your CD-R and your kernel.</para>
|
---|
2499 | </answer>
|
---|
2500 | </qandaentry>
|
---|
2501 | <qandaentry>
|
---|
2502 | <question><para>Q: May I backup my system with one
|
---|
2503 | partition layout and restore with another?</para></question>
|
---|
2504 | <answer>
|
---|
2505 | <para>A: Yes. Boot in Interactive Mode and edit the mountlist using
|
---|
2506 | the snazzy new mountlist editor. Mondo can now edit your RAID
|
---|
2507 | partitions for you. Just open /dev/md0 (or whatever) and select
|
---|
2508 | "RAID.." to start. Or, to add a RAID device:</para>
|
---|
2509 | <itemizedlist>
|
---|
2510 | <listitem>
|
---|
2511 | <para>Add two or more partitions, of type and mountpoint
|
---|
2512 | 'raid'</para>
|
---|
2513 | </listitem>
|
---|
2514 | <listitem>
|
---|
2515 | <para>Add device '/dev/md0' and click OK</para>
|
---|
2516 | </listitem>
|
---|
2517 | <listitem>
|
---|
2518 | <para>Follow the prompts and your own common-sense :)</para>
|
---|
2519 | </listitem>
|
---|
2520 | </itemizedlist>
|
---|
2521 | </answer>
|
---|
2522 | </qandaentry>
|
---|
2523 | <qandaentry>
|
---|
2524 | <question><para>Q: Why does Mondo need so much free disk
|
---|
2525 | space?</para></question>
|
---|
2526 | <answer>
|
---|
2527 | <para>A: Because I'm a bitter, twisted man who lives to torment
|
---|
2528 | you. Mwahahahaha! :-) Mondo has to work around the inadequacies of
|
---|
2529 | mkisofs, cdrecord and your own Linux distribution; in return, it
|
---|
2530 | asks for a lot of free disk space.</para>
|
---|
2531 | </answer>
|
---|
2532 | </qandaentry>
|
---|
2533 | <qandaentry>
|
---|
2534 | <question><para>Q: Will Mondo backup partitions whose
|
---|
2535 | formats are not understood by Linux, such as NTFS?</para></question>
|
---|
2536 | <answer>
|
---|
2537 | <para>A: Yes. Use '-x <device>'. (You can have more than one
|
---|
2538 | device.)</para>
|
---|
2539 | </answer>
|
---|
2540 | </qandaentry>
|
---|
2541 | <qandaentry>
|
---|
2542 | <question><para>Q: I am trying to do something clever,
|
---|
2543 | e.g. write my ISO's to an NFS mount, and I get some weird error
|
---|
2544 | messages. What do I do?</para></question>
|
---|
2545 | <answer>
|
---|
2546 | <para>A: Well, (a) use '-T /tmp' or '-T /home' or something in your
|
---|
2547 | call to Mondo. Oh, and (b) send me /var/log/mondo-archive.log,
|
---|
2548 | please :-)</para>
|
---|
2549 | </answer>
|
---|
2550 | </qandaentry>
|
---|
2551 | <qandaentry>
|
---|
2552 | <question><para>Q: Can Mondo backup to data files on
|
---|
2553 | another partition, e.g. an NFS mount?</para></question>
|
---|
2554 | <answer>
|
---|
2555 | <para>A: Yes. Just backup as usual but add '-d /mnt/nfs' or
|
---|
2556 | wherever your partition is mounted; don't use '-Oc' or '-Ot' at
|
---|
2557 | all; just '-Oi -d /root'. Then, after booting from the floppies
|
---|
2558 | which Mondo generates, you need to type 'ISO' at the
|
---|
2559 | console.</para>
|
---|
2560 | </answer>
|
---|
2561 | </qandaentry>
|
---|
2562 | <qandaentry>
|
---|
2563 | <question><para>Q: Can Mondo backup _to_ an NFS
|
---|
2564 | partition, i.e. backup over a network? How about restoring?</para></question>
|
---|
2565 | <answer>
|
---|
2566 | <para>A: Yes. Use '-On <mount> <directory>'. On my
|
---|
2567 | system, I use:</para>
|
---|
2568 | <para></para>
|
---|
2569 | <informaltable><tgroup cols="1"><tbody>
|
---|
2570 | <row>
|
---|
2571 | <entry>
|
---|
2572 |
|
---|
2573 | bash# mondoarchive -On 192.168.1.3:/home/nfs
|
---|
2574 |
|
---|
2575 | </entry>
|
---|
2576 | </row>
|
---|
2577 | </tbody></tgroup></informaltable>
|
---|
2578 |
|
---|
2579 | </answer>
|
---|
2580 | </qandaentry>
|
---|
2581 | <qandaentry>
|
---|
2582 | <question><para>Q: Does Mondo handle System or Hidden
|
---|
2583 | attributes when archiving Dos/Win files?</para></question>
|
---|
2584 | <answer>
|
---|
2585 | <para>A: No. It probably never will, either. Sorry.</para>
|
---|
2586 | </answer>
|
---|
2587 | </qandaentry>
|
---|
2588 | <qandaentry>
|
---|
2589 | <question><para>Q: Why do you include IO.SYS and
|
---|
2590 | MSDOS.SYS in mondo-vfat, when they belong to Microsoft and are
|
---|
2591 | copyrighted?</para></question>
|
---|
2592 | <answer>
|
---|
2593 | <para>A: Well, I used to, but I don't anymore. However, if you do
|
---|
2594 | have a Windows partition, you can still use 'format-and-kludge-vfat
|
---|
2595 | <DEVICE>/' to format and make bootable a VFAT partition.
|
---|
2596 | AFAIK, I am the only person to write a Linux equivalent of the DOS
|
---|
2597 | "SYS" command.</para>
|
---|
2598 | </answer>
|
---|
2599 | </qandaentry>
|
---|
2600 | </qandaset>
|
---|
2601 | </sect1>
|
---|
2602 |
|
---|
2603 | <sect1 id="faq-compare">
|
---|
2604 | <title>Compare related Questions</title>
|
---|
2605 |
|
---|
2606 | <qandaset>
|
---|
2607 | <qandaentry>
|
---|
2608 | <question><para>Q: When I compare my archives to my file
|
---|
2609 | system, Mondo tells me there are differences or errors. Are the
|
---|
2610 | archives bad?</para></question>
|
---|
2611 | <answer>
|
---|
2612 | <para>A: Look at /tmp/changed.files; if the files are logfiles,
|
---|
2613 | temp files or files which you think you may have changed recently
|
---|
2614 | then the archives are simply out of date, albeit only by a few
|
---|
2615 | minutes. Not a problem. However, if lots of files in /usr have
|
---|
2616 | changed or if you get lots of errors then perhaps your CD, your
|
---|
2617 | tapes or even your hardware could be to blame. Check your CD writer
|
---|
2618 | or tape streamer.</para>
|
---|
2619 | <para>Also, don't forget to review /var/log/mondo-archive.log for
|
---|
2620 | more information.</para>
|
---|
2621 | </answer>
|
---|
2622 | </qandaentry>
|
---|
2623 | </qandaset>
|
---|
2624 | </sect1>
|
---|
2625 |
|
---|
2626 | <sect1 id="faq-restore">
|
---|
2627 | <title>Restore related Questions</title>
|
---|
2628 | <qandaset>
|
---|
2629 | <qandaentry>
|
---|
2630 | <question><para>Q: Can Mondo help me
|
---|
2631 | move/resize/re-allocate my partitions?</para></question>
|
---|
2632 | <answer>
|
---|
2633 | <para>A: Yes. Just backup your system in Interactive Mode using
|
---|
2634 | Mondo. Edit the mountlist when prompted.</para>
|
---|
2635 | </answer>
|
---|
2636 | </qandaentry>
|
---|
2637 | <qandaentry>
|
---|
2638 | <question><para>Q: My zip drive is a SCSI drive. When I
|
---|
2639 | restore, Mondo craps out, saying it can't mount the drive (because
|
---|
2640 | there is no disk in it). What do I do?</para></question>
|
---|
2641 | <answer>
|
---|
2642 | <para>A: Restore in Interactive Mode. Delete the SCSI drive from
|
---|
2643 | the mountlist before you restore. Then Mondo won't try to partition
|
---|
2644 | or format it. Next time you backup, use -E /dev/sdd (or whatever
|
---|
2645 | your zip drive is). The /dev entry will be excluded from the
|
---|
2646 | mountlist but not from the filelist. So, when you restore, you
|
---|
2647 | won't accidentally reformat your zip disk. However, after
|
---|
2648 | restoring, you will find that /dev/sdd (the _file_) will still be
|
---|
2649 | present in your /dev directory. Cool, eh?</para>
|
---|
2650 | </answer>
|
---|
2651 | </qandaentry>
|
---|
2652 | <qandaentry>
|
---|
2653 | <question><para>Q: I received a message like, 'Fileset
|
---|
2654 | NNN failed' during restore. What does it mean.</para></question>
|
---|
2655 | <answer>
|
---|
2656 | <para>A: It usually means either you had a very large (>2GB)
|
---|
2657 | file which was not archived owing to a flaw in your distro or your
|
---|
2658 | filesystem has changed in relation to the backup.</para>
|
---|
2659 | </answer>
|
---|
2660 | </qandaentry>
|
---|
2661 | <qandaentry>
|
---|
2662 | <question><para>Q: Why does my ext3 partition have less
|
---|
2663 | space free than when I backed it up?</para></question>
|
---|
2664 | <answer>
|
---|
2665 | <para>A: Mondo creates a 10MB journal file area. Your journal was
|
---|
2666 | probably smaller than that, hence the difference.</para>
|
---|
2667 | </answer>
|
---|
2668 | </qandaentry>
|
---|
2669 | <qandaentry>
|
---|
2670 | <question><para id="SEGF">Q: When I restore after
|
---|
2671 | booting from the CD/floppies, I sometimes get errors like, "Running
|
---|
2672 | out of memory" or "Segmentation fault". What is going on?</para></question>
|
---|
2673 | <answer><para>A: It sounds as if you are running out of disk
|
---|
2674 | space, probably ram disk space. Type 'df -m' to see which
|
---|
2675 | partitions are running low on space. Please send as much
|
---|
2676 | information as you can to the &ML;. This problem is
|
---|
2677 | believed to have been fixed in 1.63 and 1.71.</para>
|
---|
2678 | </answer>
|
---|
2679 | </qandaentry>
|
---|
2680 | <qandaentry>
|
---|
2681 | <question>
|
---|
2682 | <para id="LVM"/>Q: I can't nuke-restore my LVM or RAID or
|
---|
2683 | LVM-on-RAID setup. I have to do it manually. What now?</para></question>
|
---|
2684 | <answer>
|
---|
2685 | <para>A: You said it yourself. You have to do it manually. :) Sorry
|
---|
2686 | but that's about it. At least you have all the tools to do it. I
|
---|
2687 | assume you know how. If you don't, look at i-want-my-lvm (a script
|
---|
2688 | on the ramdisk) if you're using LVM. It should give you a few
|
---|
2689 | clues. RAID is harder but in general Mondo's RAID support is good.
|
---|
2690 | After you've prepped and formatted your drives, run mondorestore
|
---|
2691 | again but say 'no' when asked if you want Mondo to prep or format
|
---|
2692 | your drives.</para>
|
---|
2693 | </answer>
|
---|
2694 | </qandaentry>
|
---|
2695 | </qandaset>
|
---|
2696 | </sect1>
|
---|
2697 | </chapter>
|
---|
2698 |
|
---|
2699 | &gfdl;
|
---|
2700 |
|
---|
2701 | </book>
|
---|