source: trunk/documentation/mondorescue-howto.sgml @ 350

Last change on this file since 350 was 350, checked in by bcornec, 15 years ago

merge -r 341:349 $SVN_M/branches/stable

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