File: right.html

package info (click to toggle)
mondo 1.41.1-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,812 kB
  • ctags: 1,288
  • sloc: ansic: 8,825; sh: 8,529; makefile: 63
file content (1396 lines) | stat: -rw-r--r-- 50,870 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Mondo Rescue and Mindi Linux</title>
<meta http-equiv="Content-Type" content=
"text/html; charset=iso-8859-1">
<style type="text/css">
<!--
TD.text, A:link.text, A:visited.text, A:active.text
{  
   font-family: Arial, Helvetica, verdana, "Trebuchet MS", sans-serif; 
   font-size: 0.8em; 
   color: #000000;
   text-decoration: none;
   font-weight: normal
}

h1 
{  
   font-family: Arial, Helvetica, verdana, "Trebuchet MS", sans-serif; 
   font-size: 1.8em; 
}

h2
{  
   font-family: Arial, Helvetica, verdana, "Trebuchet MS", sans-serif; 
   font-size: 1.4em; 
}

h3 
{  
   font-family: Arial, Helvetica, verdana, "Trebuchet MS", sans-serif; 
   font-size: 1.2em; 
}

UL
{
   margin-left: 0.5in;
}

.margin
{
   margin-left: 0.5in;
}

-->
</style>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000"
width="100%" align="center">
<tr>
<td>
<table width="100%" cellpadding="3" cellspacing="1" border="0">
<tr>
<td bgcolor="#99CC99" align="center" valign="middle" width="100%">
<font size="5" face="arial, helvetica, verdana"><b>Mondo Rescue and
Mindi Linux</b></font></td>
</tr>
</table>
</td>
</tr>
</table>

<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000"
width="100%">
<tr>
<td>
<table width="100%" cellpadding="3" cellspacing="1" border="0">
<tr>
<td class="text" bgcolor="#EEEEEE" align="center" valign="middle" width="100%">
Manual by Hugo
Rabson with the assistance of Cafeole, Troff, Randy
Delfs, Mikael Hultgren</td>
</tr>
</table>
</td>
</tr>
</table>

<hr>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000"
width="100%">
<tr>
<td>
<table width="100%" cellpadding="6" cellspacing="1" border="0">
<tr>
<td class="text" bgcolor="#EFEFEF" align="left" valign="middle" width="100%">
<h1><a name="_Toc532745439"></a>I. QUICK START</h1>
This section is
still in work. Quick Start contents will be updated soon from the
reorganized manual.</td>
</tr>
</table>
</td>
</tr>
</table>

<hr>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000" width="100%">
<tr>
<td>
<table width="100%" cellpadding="6" cellspacing="1" border="0">
<tr>
<td class="text" bgcolor="#EFEFEF" align="left" valign="middle" width="100%">
<h1><a name="_Toc532745440"></a>II. OVERVIEW</h1>

<h2><a name="_Toc532745441"></a>1. Mondo Rescue</h2>

Mondo Rescue backs
up your file system to Cd's. Mondo uses afio as the backup engine.
In the event of catastrophic data loss, you may restore some or all
of your system from those Cd's, even if your hard drives are now
blank. Mondo Rescue can do a lot of other cool things: 

<ul>
<li>You can use Mondo to clone an installation of Linux.</li>
<li>You can backup a non-RAID file system and restore it as RAID,
including the root partition (if your kernel supports that).</li>
<li>You can backup a system running on one format and restore as
another format.</li>
<li>You can restructure your partitions, e.g. shrink/enlarge,
reassign devices, add hard drives, etc, before you partition and
format your drives. Mondo will restore your data and amend
/etc/lilo.conf and /etc/fstab accordingly.</li>
<li>You can backup Lin/Win systems, including the boot sectors.
Mondo will make everything right at restore-time. (However, do run
"Scandisk" when you first boot into Windows, just in case.)</li>
<li>You can use your Mondo backup Cd's to verify the integrity of
your computer.</li>
</ul>

Mondo's principal
virtue is that it protects you from the problems that can arise
when you reinstall completely from scratch. If you want to wipe and
restore your system every year just as a matter of 'good practice',
Mondo is not for you.<br>
<br>
 If Mondo eats your data, I shall apologize a lot but I am not to
be held liable. I have tested it a thousand times on my own
computer with my own data and with no alternate backup
regime. It worked for me. If it didn't work for you, it's
probably your fault. There, is that harsh enough for disclaimer or
what? 

<h2><a name="_Toc532745442"></a>2. Mindi Linux</h2>

Mindi Linux creates
a set of boot/root floppy disk images that will let you perform
basic system maintenance on your Linux distro.<br>
<br>
The principal virtues of Minid's boot disks are the fact that
they contain your kernel, modules, tools and libraries.
<br>
 You can ask for additional binaries (or other files) to be
included on the kit. The libraries will be added for you; you
won't have to figure that stuff out yourself.<br>
<br>
 Whichever modules were loaded at backup-time, they are reloaded at
boot-time. So, in theory, you will boot into almost the same
environment as you were in when you backed up. If you want to add
files to your Mindi boot disks, edit '&lt;INSTALLPATH OF MINDI&gt;/mindi/deplist.txt'
and add the files to that list. They, and their dependencies, will
be spread across the data disks at run-time. 

<h2><a name="_Toc532745443">3. Linux Backup</a></h2>

Mondo Rescue and
Mindi Linux are used primarily as Linux backup and cloning tools.
The fall in prices of CD-RW drives and writable discs allows
current users to keep good backups and future users to leverage the
cloning capability. 

<h2><a name="_Toc532745444">4. Windows Backup</a></h2>

a. For Windows ME/95/98,
verify that the partition is listed in /etc/fstab and is mounted
(e.g. /dev/hda1). Mondo will take care of everything else. The
files will be archived just like all other files in the live
file system. At restore-time, Mondo will take care of the boot
sector of /dev/hda1 prior to the restore.<br>
<br>
Note: if Windows ME/95/98 is not located on /dev/hda1 or /dev/sda1,
then Mondo will not take care of the boot sector of /dev/hda1. The
user will have to boot from a DOS floppy and run SYS C: to correct
the Windows boot sector.<br>
<br>
b. For Windows NT4/5/XP, then it is probably using the NTFS file system,
not VFAT. The user should use '-x /dev/hda1' (or whichever device
the Windows partition resides). Mondo will treat the partition as a
biggiefile. Mondo will also add an entry to the mountlist to
reflect the size and type of the partition. The user may not edit
that partition's size at restore-time (for obvious reasons).


<h2><a name="_Toc532745445">5. Other Operating System
Backup</a></h2>

Future content is
planned for this section. 

<h2><a name="_Toc532745446">6. Mondo Rescue and Mindi Linux
History</a></h2>

Mondo Rescue was
created in December 1999 as a utility to clone Linux/Windows
installations. Norton Ghost would not do the job, and my boss
wanted to jump on the Linux bandwagon. So, I wrote a few scripts
and shoehorned them into the latest Linux-Mandrake CD. Over the two
years that followed, Mondo grew into a disaster recovery suite for
Linux and Windows. Mondo forced me to learn about the kernel, its
initrd initial ramdisk, modules, library dependencies, disk
partitioning, and the myriad differences between the Top 10 Linux
distributions.</td>
</tr>
</table>
</td>
</tr>
</table>

<hr>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000"
width="100%">
<tr>
<td>
<table width="100%" cellpadding="6" cellspacing="1" border="0">
<tr>
<td class="text" bgcolor="#EFEFEF" align="left" valign="middle" width="100%">
<h1><a name="_Toc532745447"></a>III. SYSTEM REQUIREMENTS</h1>

<h2><a name="_Toc532745448"></a>1. System Requirements</h2>

Your computer must
have:

<ul>
<li>Intel&reg;-compatible CPU</li>
<li>64MB of RAM (128MB recommended)</li>
<li>800MB of hard disk space free</li>
</ul>

Note: It is
recommended that your computer have very good airflow. The backup
with Mondo Rescue and Mindi Linux will utilize your CPU, CD drive
and fixed disk(s) like very few other applications. With a few
hours of system backup activity, computers without sufficient
airflow may show symptoms such as not burning full CD discs. The
solution is a $20 or less additional fan at your local electronics
discount store.

<h2><a name="_Toc532745449"></a>2. Linux Kernel Support</h2>

Your kernel must
have:

<ul>
<li>stable loopfs support, which means it really needs to be 2.2.19
or 2.4.7 (or later)</li>
<li>CD-ROM device support</li>
<li>ISO9660 file system support</li>
<li>initrd ramdisk support (built-in)</li>
<li>Virtual memory file system support (built-in)</li>
<li>floppy disk support (built in)</li>
<li>ext2 file system support (built-in)</li>
<li>Support for the backup media(Tape, CD-RW, NFS, Hard disk)
<li>If the backup media is CD-RW then you need SCSI emulation also</li>
</ul>

<h2><a name="_Toc532745450"></a>3. Linux Kernel Modules</h2>

Mondo (specifically
Mindi) does not require any specific modules. It does require that
your kernel support the initrd initial ramdisk facility.
Typically this is supported by the Linux kernel.<br>
<br>
 Modules used are needed to support the Cd's, floppy disks, hard
disks, etc. If the support is modular, then the modules will be
incorporated in a boot disk by Mindi. If the support is built-in
(static), then it will be available at boot-time by default.


<h2><a name="_Toc532745451"></a>4. Related Linux Packages</h2>

<ul>
<li>afio [<a HREF="http://metalab.unc.edu/pub/linux/system/backup/afio-2.4.7.tgz">tar</a>]
         [<a HREF="http://rpmfind.net/linux/rpm2html/search.php?query=afio">rpm</a>]
</li>
<li>buffer [<a HREF="download/buffer-1.19.tgz">tar</a>]
         [<a HREF="ftp://rpmfind.net/linux/contrib/libc6/i386/buffer-1.19-1.i386.rpm">rpm</a>]
</li>
<li>bzip2 [<a HREF="ftp://sourceware.cygnus.com/pub/bzip2/v100/bzip2-1.0.1.tar.gz">tar</a>]
         [<a HREF="http://rpmfind.net/linux/rpm2html/search.php?query=bzip2">rpm</a>]
</li>
<li>cdrecord [<a HREF="ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/cdrtools-1.10.tar.gz">tar</a>]
         [<a HREF="http://rpmfind.net/linux/rpm2html/search.php?query=cdrecord">rpm</a>]
</li>
<li>IDE-OPT</li>
<li>ncurses [<a HREF="ftp://ftp.gnu.org/gnu/ncurses/ncurses-5.2.tar.gz">tar</a>]
         [<a HREF="http://rpmfind.net/linux/rpm2html/search.php?query=ncurses">rpm</a>]
</li>
<li>newt [<a HREF="ftp://ftp.msg.com.mx/pub/Newt/Newt-1.08.tar.gz">tar</a>]
         [<a HREF="http://rpmfind.net/linux/rpm2html/search.php?query=newt">rpm</a>]
</li>
<li>LILO [<a HREF="http://brun.dyndns.org/pub/linux/lilo/">tar</a>]
         [<a href="http://rpmfind.net/linux/rpm2html/search.php?query=lilo">rpm</a>]
</li>
<li>lzo [<a HREF="http://www.oberhumer.com/opensource/lzo/">tar</a>]
         [<a href="http://rpmfind.net/linux/rpm2html/search.php?query=lzo">rpm</a>]
</li>
<li>lzop [<a HREF="http://www.oberhumer.com/opensource/lzop/">tar</a>]
         [<a href="http://rpmfind.net/linux/rpm2html/search.php?query=lzop">rpm</a>]
</li>
<li>mkisofs [<a HREF="ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/mkisofs/mkisofs-1.13.tar.gz">tar</a>]
         [<a HREF="http://rpmfind.net/linux/rpm2html/search.php?query=mkisofs">rpm</a>]
</li>
<li>slang [<a HREF="ftp://space.mit.edu/pub/davis/slang/v1.4/slang-1.4.4.tar.gz">tar</a>]
         [<a HREF="http://rpmfind.net/linux/rpm2html/search.php?query=slang">rpm</a>]
</li>
<li>Alien (for Debian users wishing to convert RPMs to DEBs) [<a HREF="http://kitenet.net/programs/code/alien/alien_8.00.tar.gz">tar</a>]
         [<a HREF="http://rpmfind.net/linux/rpm2html/search.php?query=alien">rpm</a>]
</li>
</ul>

</td>
</tr>
</table>
</td>
</tr>
</table>

<hr>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000" width="100%">
<tr>
<td>
<table width="100%" cellpadding="6" cellspacing="1" border="0">
<tr>
<td class="text" bgcolor="#EFEFEF" align="left" valign="middle" width="100%">
<h1><a name="_Toc532745452"></a>IV. INSTALLATION</h1>

<h2><a name="_Toc532745453"></a>1. Mindi</h2>

<h3><a href=
"http://www.microwerks.net/~hugo/download/layout.html#_Toc532745491">
</a>a. TGZ</h3>

If you are
installing from a tarball then copy it to wherever you have enough space, for example /tmp and type:-<br><br>
# cd /tmp<br>
# tar -zxvf mindi-0.5x.tgz<br>
# cd mindi-0.5x<br>
# ./install.sh<br><br>

this installs mindi into /usr/local/share/mindi and installs links to the programs into /usr/local/sbin

<h3>b. RPM</h3>

Or, if you are
installing from an RPM then copy it to wherever you have enough space, for example /tmp and type:-<br>
<br>
# rpm -Uvh /tmp/mindi-0.5x-x.i386.rpm 
<br><br>
This install mindi into /usr/share/mindi and installs links to the programs into /usr/sbin
<h3>c.DEB</h3>

Debian users may
wish to first create a .deb file and then use the debian package
manager:<br>
<br>
# cd /tmp<br>
# alien mindi*.rpm<br>
# dpkg -i mindi*.deb<br>
<br>
This install mindi into /usr/share/mindi and installs links to the programs into /usr/sbin

<h2><a name="_Toc532745457"></a>2. Mondo</h2>

<h3>a. TGZ</h3>

If you are
installing from a tarball then copy it to wherever you have enough space, for example /tmp and type:-<br>
<br>
# cd /tmp<br>
# tar -zxvf mondo-1.4x.tgz<br>
# cd mondo-1.4x<br>
# ./configure &amp;&amp; make &amp;&amp; make install<br>
<br>
This install mondo into /usr/local/share/mondo and installs links to the programs into /usr/local/bin

<h3>b. RPM</h3>

Or, if you are
installing from an RPM then copy it to copy it to wherever you have enough space, for example /tmp and type:-<br>
<br>
# rpm -Uvh /tmp/mondo-1.4x-x.i386.rpm<br>
<br>
This install mondo into /usr/share/mondo and installs links to the programs into /usr/bin

<h3>c. DEB</h3>

Debian users may
wish to first create a .deb file and then use the debian package
manager:<br>
<br>
# cd /tmp<br>
# alien mondo*.rpm<br>
# dpkg -i mondo*.deb<br>
<br>
This install mondo into /usr/share/mondo and installs links to the programs into /usr/bin
</td>
</tr>
</table>
</td>
</tr>
</table>

<hr>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000"
width="100%">
<tr>
<td>
<table width="100%" cellpadding="6" cellspacing="1" border="0">
<tr>
<td class="text" bgcolor="#EFEFEF" align="left" valign="middle" width="100%">
<h1><a name="_Toc532745461"></a>V. CHECKOUT</h1>

<h2><a name="_Toc532745462"></a>1. Making a Test CD</h2>

Following
installation, run Mindi to create some boot disks, to verify that
Mindi works properly on your system.<br>
<br>
 Type:-<br>
<br>
 # mindi<br>
<br>
 Example screen output, selecting to use your own kernel, to create
boot disks, and to create a bootable CD image:<br>
<br>
 

<div class="margin">
Mindi Linux mini-distro generator v0.58 by
HRabson &lt;hugo@firstlinux.net&gt;<br>
 ------------------------------------------------------------------------------<br>

 Do you want to use your own kernel to build the boot disk (y/n) ?
y<br>
 Your kernel is /boot/vmlinuz-2.4.14-k6 (v2.4.14-k6)<br>
 Generating list of dependency files........................ Done.<br>
 Assembling dependency files........ Done.<br>
 The files have been subdivided into 2 directories.<br>
 Your mountlist will look like this:-<br>
 DEVICE MOUNTPOINT FORMAT SIZE (MB)<br>
 /dev/hda3 / ext2 996<br>
 /dev/hda2 swap swap 127<br>
 /dev/hda4 /usr ext2 6189<br>
 Tarring and zipping the groups......... Done.<br>
 Creating data disk #1...#2... Done.<br>
 1722KB boot disk was created<br>
 OK............................ Done.<br>
 2880KB boot disk was created OK............................
Done.<br>
 In the directory '/root/images/mindi' you will find the
images:-<br>
 mindi-boot.1722.img mindi-boot.2880.img mindi-data-1.img
mindi-data-2.img<br>
 Would you like to create boot+data floppy disks now (y/n) ?y<br>
 WARNING! THIS WILL ERASE YOUR FLOPPY DISKS.<br>
 About to write boot disk. Please press ENTER.<br>
 Writing boot
disk.................................................. Done.<br>
 About to write data disk #1. Please press ENTER.<br>
 Writing data disk #1........................... Done.<br>
About to write data disk #2. Please press ENTER.<br>
Writing data disk #2........................... Done.<br>
Shall I make a bootable CD image? (y/n) y<br>
Created image at /root/images/mindi/mindi.iso<br>
Finished.
</div>
<br>
If your kernel is
too large (more than about 900KB) then you cannot make boot
floppies, although you can still make a bootable CD image. The
easiest way to test Mindi in either case is to say 'n' to its first
question and 'y' to its second, then use the separate application
cdrecord to make a bootable CD-R or CD-RW. 

<h2><a name="_Toc532745463">2. Writing the Test CD image</a></h2>

Use the cdrecord
application to write the CD image:<br><br>
# cd /root/images/mindi<br>
# cdrecord -scanbus<br>
<br>
The output of the above call to cdrecord will tell you your CD
writer's node. It is usually '0,0,0'. Choose one of the following
calls to write the CD, depending on whether the disk in the drive
is a CD-R or a CD-RW. Please replace 'x,x,x' with your writer's node.
For further information, type 'man cdrecord" from a Linux
command line.<br>
<br>
If writing to a CD-RW Drive/Disc:<br><br>
# cdrecord -blank fast dev=x,x,x speed=2 mindi.iso (for CD-RW)<br>
<br>
If writing to a CD-R Drive/Disc:<br><br>
# cdrecord dev=x,x,x speed=2 mindi/mindi.iso (for CD-R)<br>
<br>
 

<h2><a name="_Toc532745464">3. Checking Your System With the Test
CD</a></h2>

Reboot from the CD instead of the hard disk. (You may
have to edit your BIOS settings to make your computer try to boot
from the CD before the hard drive.) If your computer boots OK
from the CD, and finishes up with a 'boot:' prompt where you type
"expert", then you know Mondo will also generate a bootable CD
reliably. If you do not finish up with "Expert Mode", then repeat
the generation, writing and checking of the Test CD selecting to
use the Mindi default kernel:<br>
<br>
# cd /usr/share/mindi<br>
# ./mindi<br>
<br>
<div class="margin">
Do you want to use your own kernel to build the boot disk (y/n) ?
n
<br>
Utilizing the stock kernel that comes with Mindi.
<br>
Generating list of dependency files........................ Done.
<br>
.
<br>
.
<br>
Created image at /root/images/mindi/mindi.iso
<br>
Finished.
</div>
<br>
If you do not finish up with "Expert Mode" by using either your
kernel or the Mindi default kernel, review the troubleshooting
section at the end of this document. If a solution is not available
there, a contact e-mail address is provided for further
assistance.<br>
<br>
Finally, reboot from your hard drive.</td>
</tr>
</table>
</td>
</tr>
</table>

<hr>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000"
width="100%">
<tr>
<td>
<table width="100%" cellpadding="6" cellspacing="1" border="0">
<tr>
<td class="text" bgcolor="#EFEFEF" align="left" valign="middle" width="100%">
<h1><a name="_Toc532745465"></a>VI. BACKUP</h1>

Mama does Mondo?
Papa does Mondo? Is that a Dean Martin song? Well, anyway, here is
how I backup my system:-<br>
<br>
 Shut down all possible applications; this minimizes any compare
differences following the backup.<br>
<br>
 # cdrecord -scanbus<br>
 # cd /home<br>
 # mondoarchive -Ow 2 -d 0,0,0 -9<br>
<br>
 Cdrecord will tell me where my CD recorder lives, in SCSI terms,
which in my case is '0,0,0'. By running Mondo from my /home
directory, I am asking Mondo to use my /home directory for temp
storage space. This does not affect your data. Mondo creates a
folder called 'mondo.scratch' in your home directory; it then
deletes it when it is done. Finally, the call to mondoarchive tells
Mondo that I want to backup everything to a 2x CD-RW drive
that has a CD-RW disk in it. (Use -Oc instead of -Ow if you are using
CD-R's.)<br>
<br>
 Please put the first CD-R(W) in the drive now. You will be
prompted to insert CD #2 but you will not be prompted to insert the
first disk. However, if you forget, do not worry: if Mondo fails to
write the first (or any) disk, it will offer to retry, abort or
fail.<br>
<br>
 I run Mondo at the highest compression available and then go to
work. I then walk home at lunch (I live right by my workplace),
change Cd's, eat lunch, and go back to work. When I get home, it
has all been done.<br>
<br>
 Your mileage may vary. Experiment. Find the speed/compression
compromise that best suits your needs.<br>
<br> 

<h2><a name="_Toc532745466"></a>1. Backup Command and Options</h2>

Backup Command:
mondoarchive &lt;-option1&gt; &lt;-option2&gt; ...
&lt;-optionN&gt;<br>
<br>
 e.g. # mondoarchive -E /mnt/dos /mnt/cdrom -9 -Oc 2 -d 0,0,0<br>
<br>
 Would create backup CDs to a CD-R disc at the highest compression level, writing
at speed 2 and ignoring the /mnt/dos and /mnt/cdrom
directories.<br>
<br>
 To see a detailed list of switches and their meaning, see the HTML
man page on the website or type 'man mondoarchive' at the
console. 

<h2><a name="_Toc532745468"></a>a. Standard Example With CD-R</h2>

# mondoarchive -Oc 2 -d 0,0,0<br>
<br>
Replace '2' with the writer's speed.<br>
<br>
Please insert the first disk in the writer while the PC is chugging
away. If Mondo needs additional CD-R(W)'s then it will ask for
them.

<h2><a name="_Toc532745469"></a>b. Standard Example
With CD-RW</h2>

# mondoarchive -Ow 2 -d 0,0,0

<h2><a name="_Toc532745470"></a>c. Standard Example
With Tape</h2>

# mondoarchive -Ot -d /dev/st0 -s 4g

<h2><a name="_Toc532745471"></a>d. Failsafe Kernel
Example w/CD-RW</h2>

# mondoarchive -k FAILSAFE -Ow 2 -d 0,0,0
</td>
</tr>
</table>
</td>
</tr>
</table>

<hr>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000"
width="100%" align="center">
<tr>
<td>
<table width="100%" cellpadding="6" cellspacing="1" border="0">
<tr>
<td class="text" bgcolor="#EFEFEF" align="left" valign="middle" width="100%">
<h1><a name="_Toc532745472"></a>VII. COMPARE</h1>

<h2><a name="_Toc532745473"></a>1. Standard Example</h2>

Before you trust
your backup Cd's, make sure your BIOS can boot Cd's (and that it is
configured to do so).<br>
<br>
 Boot from the first CD.<br>
<br>
 Type compare &lt;enter&gt; and follow the on-screen instructions.
This will compare your backup against your original file system.<br>
<br>
 FYI, no data loss has been reported since May 2000. Having said
that, I would still encourage you to run Compare before trusting
the backups.<br>
<br>
 To view the file differences, look at the file '/tmp/changed.txt'.
Normal differences include logs and other dynamic system files that
changed during the time of the backup process. If only a few files
differ - e.g. files in /var, files ending in '~', logs, temporary
files, /etc/mtab, /etc/adjtimex - then you know the archives are
good.</td>
</tr>
</table>
</td>
</tr>
</table>

<hr>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000"
width="100%">
<tr>
<td>
<table width="100%" cellpadding="6" cellspacing="1" border="0">
<tr>
<td class="text" bgcolor="#EFEFEF" align="left" valign="middle" width="100%">
<h1><a name="_Toc532745474"></a>VIII. RESTORE</h1>

<h2><a name="_Toc532745475"></a>1. Overview</h2>

I hope you don't
have to restore very often. It's nerve-wracking until you realize
that Mondo's restore engine is very reliable. I backup and restore
my system 2 or 3 times a week as part of the testing process. I
have no other backup regime, so it had better work.<br>
<br>
If you find that you cannot make your PC boot from the CD, take
heart: the first backup CD of each set contains floppy disk images
to give you the same functionality as the CD (minus the archives,
of course J) on floppies. Remember, your Mondo CD is a fully
functional CD-based mini-distribution as well as a recovery CD.<br>
<br>
You can choose from the following modes:-<br>
<br>
<div class="margin">
<i>Interactive</i> - restore step-by-step, or
restore a subset of the archives<br>
<br>
<i>Nuke</i> - wipe your drives and restore everything,
automatically and unattended<br>
<br>
<i>Expert</i> - boot to a shell prompt. If you want to do anything
creative, you should boot into Expert Mode.
</div>

<h2><a name="_Toc532745476"></a>2. Restore-Related Tips</h2>

To speed up the
restore process, run 'ide-opt' before running anything else. That
subroutine sends a bunch of groovy IDE optimization calls to all
your IDE devices. If you feel lucky, do it, especially on a
mission-critical server. Go on?<br>
<br>
Ideally, restore your system to a spare hard drive to test the
integrity and reliability of your disks. To do that, either edit
your mountlist to make the devices point to your spare hard drive,
or swap your hard drive cables between boots.<br>
<br>
At a bare minimum, compare your Cd's against your file system before
you decide whether to trust them.<br>
<br>
To test Mondo's ability to handle your LILO file, boot from the
backup CD into Expert Mode and type 'mount-me; stablilo-me;
unmount-me.' Just type 'lilo -r /mnt/RESTORING -c
lilo.conf.pre-hack' to fix any mess it made. (Oh, and later, copy
lilo.conf.pre-hack back to lilo.conf.) 

<h2><a name="_Toc532745477"></a>a. Barebones (Nuke)
Restore</h2>

Imagine that your
hard drives happen to be wiped, deliberately or accidentally. Or,
imagine that you want to clone your existing operating system. In
either case, you want to run in Nuke Mode. If you want to wipe
everything and restore your whole system from CD, please boot from
the first Mondo CD and type &lt;enter&gt;. Insert the subsequent
Cd's when asked. Watch the screen for errors. That's it.<br>
<br>
Now, should something go wrong, you will be able to examine
/tmp/mondo-restore.log to see what happened. All is not lost. You
can fdisk and format the partitions yourself, using the tools that
come with the CD. You can then mount the drives manually and type
'restore-me' to restore all data; then run 'lilo -r /mnt/RESTORING'
to reconfigure the boot sectors; finally, unmount the partitions
manually. That is as a last resort. I have never had to do that -
at least, not with any <i>published</i> version of Mondo.<br>
<br>
If you want to see exactly what Mondo is doing while it is
restoring, press &lt;Alt&gt;&lt;&agrave;&gt; and type 'tail -f
/tmp/mondo-restore.log' to monitor its progress in detail.<br>
<br> 

<h2><a name="_Toc532745478"></a>b. Interactive
Restore</h2>

Interactive Mode is
for people who have lost a subset of data from their live
file system, or perhaps who have lost some data from their latest
backup and want to restore a subset of data from an earlier backup.
If you want to restore only some files or if you do not want to
prep/format your drives, then you should boot into Interactive
Mode. If you want to edit the mountlist (i.e. restore to a
different disk geometry) then do not use Interactive Mode. You
should use Expert Mode instead.<br>
<br>
If you want to restore selectively, just press &lt;enter&gt; and
follow the on-screen instructions. You will be asked to say yes/no
to a range of questions.<br>
<br>
If you want to restore a subset of the backup then boot from the CD
and type interactive &lt;enter&gt;. Then, after booting, answer the
questions as follows:<br>
<div class="margin">
<br>
Do you want to partition your devices? yes<br>
Do you want to format them? no<br>
Do you want to restore everything? no<br>
Do you want to restore something? yes<br>
Which path do you want to restore? /home/hugo [e.g.]<br>
Do you want to run LILO to setup your boot sectors? Yes<br>
</div>
<h2><a name="_Toc532745479"></a>c. Expert
Restore</h2>

To restore
manually, please boot from the first CD and type 'expert
&lt;enter&gt;'. Then, type the following:<br>
<br>
# pico /tmp/mountlist.txt (edit the mountlist)<br>
# prep-me (format you're drives)<br>
# mount-me (mount the drives)<br>
# restore-me (restore everything)<br>
# stablilo-me (run LILO)<br>
# unmount-me (unmount drives)<br>
<br> 

<h3><a name="_Toc532745480"></a>1. Modified partitions - Restore to
a different disk geometry</h3>

One of the nice
things about Mondo is that it lets you wipe your existing system
and restore it in any layout you like (within reason). You can move
from non-RAID to RAID,install and utilize additional drives, move
from ext2 to ReiserFS, etc., all without risking the loss of
data.<br>
<br>
To do this, boot into Expert Mode. At boot-time, type 'expert'
&lt;Enter&gt; and wait for the shell prompt. Then type 'pico
/tmp/mountlist.txt' to edit the mountlist.<br>
<br>
Pico is a text editor. You may edit the layout of the partitions,
the sizes and the formats before you format and restore them. If
you have added a hard drive, list it here.<br>
<br>
If you want to move from ext2 to ReiserFS, you can do it here (so
long as your kernel supports ReiserFS). Ditto for XFS, JFS or
ext3.<br>
<br>
Stablilo-me will modify your /etc/fstab to reflect changes you have
made to the mountlist. If you are not using LILO, you can still
create your own /mnt/RESTORING/etc/lilo.conf and run lilo -r
/mnt/RESTORING to configure your boot sectors and Master Boot
Record.<br>
<br>
Mondo (technically, Mindi on behalf of Mondo) creates a file called
a mountlist. This can be found on the ramdisk at
/tmp/mountlist.txt; it looks something like this:-<br>
<br>
/dev/hda1/mnt/windows vfat 4096000<br>
/dev/hda5 / reiserfs 6023000&gt;<br>
/dev/hda6 /tmp xfs 955000<br>
/dev/hda7 /usr xfs 4096000<br>
<br>
It is fairly easy to understand the list. Each line refers to a
single device/partition. The line format is &lt;device&gt;
&lt;partition&gt; &lt;format&gt; &lt;Kilobytes&gt;. If you have
added a hard drive and want to take advantage of the additional
space, you could amend the above mountlist to read:<br>
<br>
/dev/hda1/mnt/windows vfat 6096000<br>
/dev/hda5 / reiserfs 9123000<br>
/dev/hda6 /tmp xfs 955000<br>
/dev/hdb1 /usr xfs 8192000<br>
/dev/hdb2 /home xfs 8192000<br>
<br>
This assumes that your old hard drive is /dev/hda and the new hard
drive is /dev/hdb.<br>
<br>
Or, if you want to add RAID support, create a new /etc/raidtab on
the ramdisk (which is beyond the scope of this manual) and then
write a mountlist like this:<br>
<br>
/dev/hda1 /mnt/windows vfat 6096000<br>
/dev/md0 / reiserfs 9123000<br>
/dev/md1 /tmp xfs 955000<br>
/dev/md2 xfs 8192000<br>
/dev/md3 /home xfs 8192000<br>
<br>
So long as your /etc/raidtab file is sane, Mondo can automatically
partition and format your disks for you, including the RAID
devices.<br>
<br>
Once you have finished editing /tmp/mountlist.txt (and /etc/raidtab
if necessary) then you may run 'mondo-restore --interactive'.<br>
<br> 

<h2><a name="_Toc532745481"></a>d. Advanced</h2>

Future content is
planned for this section.<br>
<br>
In principle, you could do everything by hand using the Mondo CD as
a big mini-distro. You could partition, format, mount and restore
the disks yourself. Mondo comes with scripts and tools to automate
the process but in a jam you could do everything
manually.</td>
</tr>
</table>
</td>
</tr>
</table>

<hr>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000"
width="100%">
<tr>
<td>
<table width="100%" cellpadding="6" cellspacing="1" border="0">
<tr>
<td class="text" bgcolor="#EFEFEF" align="left" valign="middle" width="100%">
<h1><a name="_Toc532745482"></a>IX. TROUBLESHOOTING/README</h1>

Are the errors from
Mindi or Mondo? Mindi does not write to any log, so if you get
errors on the screen which relate to the creation of the boot
disk(s) and or data disk(s) then pipe that output to a text file
and send it to the Mondo mailing list. See the web site - <a href=
"http://www.microwerks.net/~hugo">http://www.microwerks.net/~hugo</a>&nbsp;
- for details. If you are going to e-mail the list (or me) then
please attach that text file and tell me: 

<ul>
<li>your kernel version</li>
<li>your Linux distro's name and version</li>
<li>whether your kernel supports initrd and loopfs; it should!</li>
<li>what sort of PC you are using, including hard disk
configurations</li>
</ul>

Mondo is
freely available, you are given it for no charge and I am giving
you technical support in my spare time. When you e-mail me, please
bear this in mind. 

<hr>
<h2><a name="_Toc532745483"></a>1. General</h2>

<b>Q: What is
"Mindi"?</b><br>
A: Mindi, a.k.a. Mindi-Linux, makes a mini-distribution from your
kernel, modules, modules, tools and libraries. It can also generate
an El Torito 2.88MB boot disk image. Mondo uses Mindi to create a
mini-distro, then boots from it and runs on it.<br>
<br>
<b>Q: Why is it called "Mondo"?</b><br>
A: The Teenage Mutant Ninja Turtles described cool things as
'mondo'. I wasn't sure what to call this project. 'Faust' was one
idea I had, partly as a dig at my former boss who practically owned
me because of my legal status at the time. In the end, I chose
something short and distinctive.<br>
<br>
<b>Q: Mondo does not work on my system. It keels over and dies.
What's wrong?</b><br>
A: It works on Red Hat 7.x, Linux-Mandrake 8.x, some flavors of
SuSE, some flavors of Slackware, some flavors of Debian, etc. Do
you have any idea how many little differences exist between these
distributions? The more distributions I support, the more moving
targets I have to hit. Please bear this in mind when e-mailing me.
If you would like to help me by beta-testing Mondo (or Mindi) on
your PC then I would be very interested in working with you to work
around the eccentricities of you're Linux distro. However, rest
assured, 90% of the bugs reported to me are actually symptoms of
FooLinux X.Y's unique way of doing things.<br>
<br>
<b>Q: What if the error is in Mindi?</b><br>
 A: Then send me a copy of /var/log/mindi.log, along with a
description of your distro, your kernel, etc. I'll have a look when
I have time.<br>
<br>
 <b>Q: Can I trust Mondo?</b><br>
A: Mondo has generated good, reliable archives since May 2000. I
have lost data by using bad CD-R disks and not verifying their
contents. Some users have not tried booting from their Cd's until
crunch time. Remember to boot into Compare Mode to verify the
backup before you trust it. If Mondo did not work, you would not be
reading this. If it does not work for you, your kernel is usually
the culprit. Check <a href="#_Toc532745449">Linux Kernel Support</a>
to see what your kernel should support. Please e-mail the list
(or me) if you need some help with this.<br>
<br>
<b>Q: How do I report a bug?</b><br>
A: E-mail the bug report (mondo.err.xxxxx.tgz) to me. If you want
to discuss it, please e-mail the list. The list is for talking; my
e-mail address is for big files. :-) If you don't send me a logfile
then there isn't a lot that I can do for you, so PLEASE include a
logfile at the very least. Or, pop into #mondo on irc.redhat.com
and see if I'm there.<br>
<br>
<b>Q: I think Mondo should (...insert suggestion here...) and I
have rewritten it accordingly. Would you like to see my
patch?</b><br>
A: Absolutely! :-) The best way for you to make Mondo do what you
want is to modify it and then send me the patch. That way, we can
all benefit.<br>
<br>
<b>Q: I think Mondo should (...insert suggestion here...); will you
incorporate this feature for me, please?</b><br>
A: I'll definitely think about it. Would you like to help?<br>
<br>
<b>Q: Mondo says, "XXX is missing," and then terminates. What's
wrong?</b><br>
A: A good Linux distribution should contain XXX but the designers,
in their infinite wisdom, decided not to include that particular
tool. Check <a href="#_Toc532745451">Related Linux Packages</a> and install the missing package.
If that fails, contact the vendor/distributor/manufacturer/designer of your distro.<br>
<br>
<b>Q: Can Mondo handle multi-CD backups and restores?</b><br>
A: Yes, up to twenty Cd's per set. This 20-CD limit results from
laziness on my part. I can remove it at any time. However, if your
system occupies more than 20 Cd's, may I recommend that you invest
in a tape streamer?<br>
<br>
<b>Q: Can Mondo handle Linux/Windows dual-boot systems?</b><br>
A: Yes. If your system currently boots into Linux or Windows via
LILO, you can backup and restore both OSes at the same time using
Mondo. If you are using NTFS then add the switch, '-x
&lt;device&gt;'.<br>
<br>
<b>Q: Can Mondo backup Windows-only systems?</b><br>
A: Sure, if you pay me to play catch-up to Microsoft. ;)<br>
<br>
<b>Q: Does Mondo support LVM?</b><br>
A: Mondo supports LVM, yes. Mondo backs up and restores your
existing setup but it does not make it easy for you to change your
LVM configuration. You have to edit /tmp/i-want-my-lvm (IIRC) at
boot-time to do that.<br>
<br>
<b>Q: What if I don't use LILO? What if I use GRUB?</b><br>
A: GRUB is supported by mondo 1.3x and newer versions. Try it and let me know how you get
on.<br>
<br>
<b>Q: Mondoarchive (or mondorestore) segfaults when I run it. What
could be wrong?</b><br>
A: Install from tarball instead of RPM. (Or, try RPM if you just
installed from tarball.) Your compiler or your libraries may be
fubar. We'll see. If that doesn't work then please e-mail the
mailing list.<br>
<br>
<b>Q: I get the error, 'Cannot find /tmp/dev.0'; what do I
do?</b><br>
A: Type 'losetup /dev/loop0 -d' to unmount that loop device. If
your OS will not let you do that, contact your local support group
or Linux vendor.<br>
<br>
<b>Q: Can I create a Mondo CD and then use it to create an archive
of any OS on any PC?</b><br>
A: Not yet. You can use Mondo to backup Linux or Linux/Windows dual boot.
One day, Mondo will let you backup partitions it can't read or
write, by treating each partition as one long file to be backed up.
This file will be chopped, compressed and archived like any other
big file.<br>
<br>
<b>Q: Why do you insist on putting floppy disk images on Mondo
Cd's? They waste space and I never use them. The Cd's works just
fine, so why keep the floppy disk images?</b><br>
A: Because of my old college buddy, Justin Case. If you really,
truly want them gone then please submit a patch to make them
optional.<br>
<br> 

<hr>
<h2><a name="_Toc532745484"></a>2. Kernel/Linux/Booting</h2>

<b>Q: How do I know
if Mondo works with my Linux distro?</b><br>
A: Check the Download page - <a href=
"http://www.microwerks.net/~hugo/download.html">http://www.microwerks.net/~hugo/download.html</a>.<br>

<br>
<b>Q: When I try to boot from the Mondo CD, it says, "VFS: Unable
to mount root fs." I am using a Debian distro. What do I
do?</b><br>
A: Ask Debian's designers why they, unlike every other distro I can
find, have included cramfs and other 'goodies' with their kernel.
In the meantime, please use '-k FAILSAFE' in your command line when
calling Mondo.<br>
<br>
<b>Q: When I try to boot from the Mondo CD, it says, "Cannot mount
root fs - kernel panic," or something similar. What do I
do?</b><br>
A: Recompile your kernel (or use '-k FAILSAFE').
Take a look at <a href="#_Toc532745449">Linux Kernel Support</a> to see what you're kernel must support..<br>
<br>
<b>Q: When I try to boot from the Mondo CD, it says, "Mounting /tmp/tmpfs...
 fatal error! Failed UPGRADE YOUR RAM". What does that mean?</b><br>
A: Recompile your kernel and add Virtual memory file system
support. Take a look at <a href="#_Toc532745449">Linux Kernel Support</a> to see what you're kernel must support.<br>
<br>
<b>Q: When I try to boot from the Mondo CD, it says something about
not finding my CD-ROM drive and then it blames the kernel. What
does that mean?</b><br>
A: Your kernel must
support initrd, loopfs, IDE CD-ROM's, and ramdisks. Please see
Mindi's web site for a complete list. If your kernel does not
support these things, Mondo will not boot from your CD. However,
when running Mindi, you may choose to use _its_ kernel instead of
your own. In addition, you may boot from floppy disk images instead
the CD: copy the disk images from the Cd's /images directory to
floppy disks, using 'dd'.<br>
<br>
<b>Q: The Mondo CD/floppy takes ages to boot. How can I speed it
up?</b><br>
A: Edit /usr/local/mindi/mindi and change LILO_OPTIONS="" to
LILO_OPTIONS="-c". This enables map compaction in lilo and speeds up booting, for more info
see the lilo man page<br>
<br>
<b>Q: I made a Mondo CD using the failsafe kernel (i.e. I said 'no'
when Mondo asked if I wanted to use my own kernel). It still
doesn't boot. Help!</b><br>
A: OK, now _that_ is a bug. :-) I included a kernel with Mondo
(technically, with Mindi, which Mondo uses) to make sure that users
could use Mondo despite flaws in their own kernels. If you are
using Mondo/Mindi's kernel but still cannot boot from your Mondo CD
then please e-mail the list.<br>
<br>
<b>Q: What if my PC won't boot from a CD?</b><br>
A: Copy the image files from the Cd's /images directory, using the
dd command. Then boot from the first floppy; follow it up with the
data disks; finally, type 'mount /mnt/cdrom' and then utilize the
restore scripts as usual, e.g. prep-me, mount-me, restore-me,
stablilo-me, unmount-me.<br>
<br>
<b>Q: But why won't Mondo boot from my CD? It says my kernel is
flawed/outdated/ whatever, and when I wrote to you, you told me the
same thing... but I still don't get it. I mean, my kernel works for
everything else. Why not Mondo?</b><br>
A: Because Mondo makes a boot disk using your kernel. I bet your
other software doesn't do that. Also, not all kernels are suitable
for boot disks. I'm sorry but that's Life. Upgrade your kernel
and/or recompile it to include loopfs and initrd support, among
other things.<br>
<br>
<b>Q: Why do I only need a boot disk if I'm using a tape drive?
Where are the data disks?</b><br>
A: On the tape. :-) The first 32MB of the tape will be set aside
for a large tarball containing the data disks, a list of all files
backed up, and other sundries. If Mondo and Mindi do their
respective jobs then you won't need additional floppies, just the
boot floppy and the tape(s).<br>
<br> 

<hr>
<h2><a name="_Toc532745485"></a>3. Installation</h2>

<b>Q: Why do I get,
"newt.h not found," several times when I try to install
Mondo?</b><br>
A: You have not installed libnewt and/or libnewt-devel. Please do
so. Check <a href="#_Toc532745451">Related Linux Packages</a> to see what Mondo requires and where you can get
tarballs and RPM's.<br>
<br>
<b>Q: I've just used up 6 CD-R's, only to find that Mondo won't
boot!</b><br>
A: You should have used CD-RW's. ;) In the HTML manual, it gives
instructions on how to create a test CD (one, not six).<br>
<br> 

<hr>
<h2><a name="_TocTSEquipment"></a>4. Equipment-Related</h2>

<b>Q: Can Mondo
handle CD-RW's?</b><br>
A: Yes. Use '-Ow &lt;speed&gt; &lt;device&gt;' to make it work.<br>
<br>
<b>Q: Does Mondo support tape drives?</b><br>
A: Yes. See above.<br>
<br>
<b>Q: How do I copy the floppy images from the CD to floppy
disks?</b><br>
A: Mount the CD-ROM, e.g. at /mnt/cdrom. Insert a blank floppy.
Type:<br>
# cd /mnt/cdrom/images<br>
# dd if=mindi-boot.1722.img of=/dev/fd0u1722<br>
<br>
Insert another blank floppy and type: # dd if=mindi-data-1.img
of=/dev/fd0u1722 Do the above for each 'mindi-data' disk image.<br>
<br>
<b>Q: Sometimes, my laptop won't mount Mondo Cd's properly, or
something. Umm...</b><br>
A: Please insert the CD, close the CD-ROM tray, wait a few seconds
and then press Enter to acknowledge insertion of the next CD. Your
laptop is on crack and is sucking a little too hard on the
pipe.<br>
<br>
<b>Q: Does Mondo support RAID?</b><br>
A: Yes. You may backup and restore RAID systems. You may also
backup a non-RAID system and restore as RAID (or vice versa) by
using the mountlist editor to edit your RAID and non-RAID
partitions and their settings. Mondo will do the partitioning and
formatting for you.<br>
<br>
<b>Q: Were is my CD burner, in SCSI terms?</b><br>
A: Type 'cdrecord -scanbus'. Find your CD burner's device# (e.g.
'0,0,0'). Call Mondo with the switch '-Oc &lt;speed&gt;' -d
'&lt;device&gt;'. Or, if you feel lucky, just use '-Oc 2'; Mondo
will (a) assume you want to write at 4x to a CD-R and (b) will do
its best to find your CD burner.<br>
<br>
<b>Q: Can Mondo handle SCSI devices?</b><br>
A: Mondo should be able to handle almost any hardware. So long as
your kernel and modules support it, Mindi will support it and
therefore so will Mondo.<br>
<br> 

<hr>
<h2><a name="_Toc532745486"></a>5. Backup</h2>

<b>Q: Can Mondo
burn Cd's as they are created?</b><br>
A: Yes. Use the '-Oc &lt;speed&gt; &lt;device&gt;' switch. Use a
negative number for a dummy burn.<br>
<br>
<b>Q: When I try to backup to CD, cdrecord/mkisofs returns an
error. Nothing else appears to be wrong. What do I do?</b><br>
A: Upgrade cdrecord and mkisofs.<br>
<br>
<b>Q: Mondo failed to burn my CD. It said something like, "Error
CDB A1 01 02 53 ..." and so on. What does that mean?</b><br>
A: Cdrecord reported some serious errors while trying to burn your
CD. Check your CD burner, your CD-R and your kernel.<br>
<br>
<b>Q: May I backup my system with one partition layout and restore
with another?</b> A: Yes. Boot in Interactive Mode and edit the
mountlist using the snazzy new mountlist editor. Mondo can now edit
your RAID partitions for you. Just open /dev/md0 (or whatever) and
select "RAID.." to start. Or, to add a RAID device:<br> 

<ul>
<li>add two or more partitions, of type and mountpoint 'raid'</li>
<li>add device '/dev/md0' and click OK</li>
<li>follow the prompts and your own common-sense :)</li>
</ul>

<br>
<b>Q: Why does
Mondo need so much free disk space?</b><br>
A: Because I'm a bitter, twisted man who lives to torment you.
Mwahahahaha! :-) Mondo has to work around the inadequacies of
mkisofs, cdrecord and your own Linux distribution; in return, it
asks for a lot of free disk space.<br>
<br>
<b>Q: Will Mondo backup partitions whose formats are not understood
by Linux, such as NTFS?</b><br>
A: Yes. Use '-x &lt;device&gt;'. (You can have more than one
device.)<br>
<br>
<b>Q: I am trying to do something clever, e.g. write my ISO's to an
NFS mount, and I get some weird error messages. What do I
do?</b><br>
A: Well, (a) use '-T /tmp' or '-T /home' or something in your call
to Mondo. Oh, and (b) send me /var/log/mondo-archive.log, please
:-)<br>
<br>
<b>Q: Can Mondo backup to data files on another partition, e.g. an
NFS mount?</b><br>
A: Yes. Just backup as usual but add '-d /mnt/nfs' or wherever your
partition is mounted; don't use '-Oc' or '-Ot' at all; just '-Oi -d
/root'. Then, after booting from the floppies which Mondo
generates, you need to type 'ISO' at the console.<br>
<br>
<b>Q: Can Mondo backup _to_ an NFS partition, i.e. backup over a
network? How about restoring?</b><br>
A: Yes. Use '-On &lt;mount&gt; &lt;directory&gt;'. On my system, I
use: # mondoarchive -On 192.168.1.3:/home/nfs<br>
<br>
<b>Q: Does Mondo handle System or Hidden attributes when archiving
Dos/Win files?</b><br>
A: No. It probably never will, either. Sorry.<br>
<br>
<b>Q: Why do you include IO.SYS and MSDOS.SYS in mondo-vfat, when
they belong to Microsoft and are copyrighted?</b><br>
A: Well, I used to, but I don't anymore. However, if you do have a
Windows partition, you can still use 'format-and-kludge-vfat
&lt;DEVICE&gt;/' to format and make bootable a VFAT partition.
AFAIK, I am the only person to write a Linux equivalent of the DOS
"SYS" command.<br>
<br> 

<hr>
<h2><a name="_Toc532745487"></a>6. Compare</h2>

<b>Q: When I
compare my archives to my file system, Mondo tells me there are
differences or errors. Are the archives bad?</b><br>
A: Look at /tmp/changed.files; if the files are logfiles, temp
files or files which you think you may have changed recently then
the archives are simply out of date, albeit only by a few minutes.
Not a problem. However, if lots of files in /usr have changed or if
you get lots of _errors_ then perhaps your Cd's, your tapes or even
your hardware could be to blame. Check your CD writer or tape
streamer.<br>
<br> 

<hr>
<h2><a name="_Toc532745488"></a>7. Restore</h2>

<b>Q: Can Mondo
help me move/resize/re-allocate my partitions?</b><br>
A: Yes. Just backup your system in Interactive Mode using Mondo.
Edit the mountlist when prompted.<br>
<br>
<b>Q: My zip drive is a SCSI drive. When I restore, Mondo craps
out, saying it can't mount the drive (because there is no disk in
it). What do I do?</b><br>
A: Restore in Interactive Mode. Delete the SCSI drive from the
mountlist before you restore. Then Mondo won't try to partition or
format it. Next time you backup, use -E /dev/sdd (or whatever your
zip drive is). The /dev entry will be excluded from the mountlist
but not from the filelist. So, when you restore, you won't
accidentally reformat your zip disk. However, after restoring, you
will find that /dev/sdd (the _file_) will be present in your /dev
directory. Cool, eh?<br>
<br> 

<hr>
<h2><a name="_TocHUGO"></a>8. Hugo</h2>

<b>Q: Who are you,
anyway?</b><br>
A: My name is Hugo Rabson <a href=
"mailto:hugo@firstlinux.net">hugo@firstlinux.net</a> and I was born
in England. I emigrated in late August '99 to be with my wonderful
wife, Jeanette (who is now my equally wonderful ex-wife). I worked
for WebMD Transaction Services Division until my visa ran out. I am
now in England, temping for $$$ and working on Mondo. If you have
any comments or questions, please join the mailing list (on the web
page).<br>
<br>
<b>Q: I'm still reading this FAQ. Shouldn't I get a prize or
something?</b><br>
A: Yes, here's a cookie. Enjoy. :-)<br>
<br>
<b>Q: What if my browser doesn't support cookies?</b><br>
A: *groan* Corky, quit messing with me, dawg...<br>
<br>
</td>
</tr>
</table>
</td>
</tr>
</table>

<hr>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000" width="100%">
<tr>
<td>
<table width="100%" cellpadding="6" cellspacing="1" border="0">
<tr>
<td class="text" bgcolor="#EFEFEF" align="left" valign="middle" width="100%">
<h1><a name="_Toc532745490"></a>X. DOCUMENT IMPROVEMENT
FEEDBACK</h1>

This manual is
incomplete but accurate to the best of my knowledge. Please provide
and recommendations for improving this document in a separate
e-mail to <a href=
"mailto:hugo@firstlinux.net">hugo@firstlinux.net</a>.The separate
e-mail will allow Hugo to easily forward the document-related
recommendations to his &lsquo;document helpers&lsquo;. Include the
section title and recommended changes. Whenever possible, include
the exact, spell-checked, grammar-checked text that you think would
improve the document.

<h2 class="margin"><a name="_Toc532745491">1. Document ToDo
List</a></h2>

<ul>
<li>Correct all formatting issues.</li>
<li>Update the Quick Start section.</li>
<li>Get rid of separate installation page and use a HTML link to
the installation section of the manual</li>
<li>Trim down the readme and point to the manual quick start
section and the manual trouble shooting section.</li>
</ul>
</td>
</tr>
</table>
</td>
</tr>
</table>

<br>
<table cellpadding="0" cellspacing="0" border="0" bgcolor="#000000" width="100%">
<tr>
<td height="17">
<table width="100%" cellpadding="3" cellspacing="1" border="0">
<tr>
<td bgcolor="#99CC99" width="100%" align="center" valign="middle">
<font size="2" face=
"Verdana, Arial, Helvetica, sans-serif">Design Assistance by : <a
href="http://www.xion-network.com" target="_blank">
<font color="#000000">Xion Network.com</font></a></font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>