Changeset 348


Ignore:
Timestamp:
Jan 27, 2006, 12:51:25 AM (14 years ago)
Author:
bcornec
Message:

First re-read and correction of the documentation.
Will need a second pass for tags + new input

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/documentation/mondorescue-howto.sgml

    r331 r348  
    44
    55<!ENTITY WWWB "http://www.mondorescue.org/">
    6 <!ENTITY WWW '<ulink url="http://www.mondorescue.org">MondoRescue</ulink>'>
     6<!ENTITY WWW '<ulink url=&WWWB;>MondoRescue</ulink>'>
    77<!ENTITY ML '<ulink url="http://lists.sourceforge.net/lists/listinfo/mondo-devel">mondorescue mailing list</ulink>'>
    88<!ENTITY gfdl SYSTEM "fdl.sgml">
     
    146146</para>
    147147<para>See Mondo's
    148 <ulink url="../../feedback/feedback.html">Feedback</ulink> page for
     148        <ulink url="http://www.mondorescue.org/feedback/feedback.html">Feedback</ulink> page for
    149149more information.
    150150</para>
     
    270270want to store the ISO images in a local directory until you have
    271271time or facilities to burn them to CD's, choose 'hard disk'. If you
    272 choose 'CD/DVD-R[W]' or 'tape' then in general your hardware will be
     272choose 'CD/DVD-+R[W]' or 'tape' then in general your hardware will be
    273273detected and configured for you.
    274274</entry>
     
    309309</entry>
    310310<entry>
    311 If you want to backup the whole computer (excluding /tmp and /proc,
     311If you want to backup the whole computer (excluding /sys and /proc,
    312312naturally) then leave this as / which is the default. Otherwise,
    313313specify subsets, (e.g. /usr/local /home ) being sure to put a space
     
    341341producing reliable kernels. If you are using Gentoo or LFS
    342342then your kernel might be non-standard, in which case say 'no' to
    343 use Mondo's failsafe kernel.
     343use Mondo's failsafe kernel (provided separately).
    344344</entry>
    345345</row>
     
    700700drives. That works for most drives but some drives just don't like
    701701that.</para>
    702 <para>I have tested it thousands of times on my own computer with
    703 my own data and with no alternate backup regime. It worked for me.
     702<para>Mondo Rescue has tested thousands of times on various computers.
     703It worked for them.
    704704Thousands of users testify to Mondo's stability and its ease of
    705705use. However, please test it on your own system before you rely on
     
    792792<para>Please bear in mind that Mondo was written for Linux users.
    793793If Mondo does not backup or restore your Windows system well, you
    794 might want to consider paying for 1-to-1 technical support.
    795 Ironically, the only people to pay for 1-to-1 technical support
    796 have been Linux users, whereas Windows users want a free ride. That
    797 is one reason why the Linux community gives me warm fuzzies.</para>
     794might want to consider reporting it to the &ML;
     795</para>
    798796</sect2>
    799797</sect1>
     
    802800<title>Mondo Rescue and Mindi Linux
    803801History</title>
    804 <para>Mondo Rescue was created in December 1999 as a utility to
     802<para>Mondo Rescue was created in December 1999 by Hugo Rabson as a utility to
    805803clone Linux/Windows installations. Norton Ghost would not do the
    806 job, and my boss wanted to jump on the Linux bandwagon. So, I wrote
     804job, and his boss wanted to jump on the Linux bandwagon. So, he wrote
    807805a few scripts and shoehorned them into the latest Linux-Mandrake
    808806CD. Since that time, Mondo grew into a disaster recovery suite for
    809 Linux and Windows. Mondo forced me to learn about the kernel, its
    810 initrd initial ramdisk, modules, library dependencies, disk
    811 partitioning, and the myriad differences between the Top 10 Linux
    812 distributions.</para>
    813 <para>
    814 a few scripts and shoehorned them into the latest Linux-Mandrake
    815 CD. Since that time, Mondo grew into a disaster recovery suite for
    816 Linux and Windows. Mondo forced me to learn about the kernel, its
     807Linux and Windows. Mondo forced him to learn about the kernel, its
    817808initrd initial ramdisk, modules, library dependencies, disk
    818809partitioning, and the myriad differences between the Top 10 Linux
     
    826817efficient, stable, comes with source code, and is being actively
    827818developed 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>
    828825</sect1>
    829826
    830827<sect1 id="overview-sysreq">
    831 <title>System
    832 Requirements</title>
     828<title>System Requirements</title>
    833829<sect2 id="overview-sysrq-hwreq">
    834830<title>Hardware Requirements</title>
     
    837833<itemizedlist>
    838834<listitem>
    839 <para>Intel(R)-compatible CPU</para>
     835        <para>Intel(R)-compatible CPU (ia32, x86_64/amd64 or ia64)</para>
    840836</listitem>
    841837<listitem>
     
    895891</listitem>
    896892</itemizedlist>
    897 <para>Please note that the stock kernels of Red Hat 7.2, 7.3, 8.0,
    898 Mandrake 8.2, 9.0, SuSE 7.x,, 8.x, and Slackware 8.x all meet
    899 Mondo's requirements. If your kernel does not meet Mondo's
    900 requirements then there is something wrong with it. Mondo's demands
    901 are not unreasonable.</para>
     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>
    902898<para>Mondo (specifically Mindi) does not require any specific
    903 modules. It does require that your kernel support the initrd
     899module. It does require that your kernel support the initrd
    904900initial ramdisk facility. Typically this is supported by the Linux
    905901kernel. Modules used are needed to support the CD, floppy disks,
     
    910906<sect2 id="overview-sysrq-swreq">
    911907<title>Software Requirements</title>
    912 <para>See Mondo's <ulink url="../download.html">Download
     908<para>See Mondo's <ulink url="http://www.mondorescue.org/download.html">Download
    913909page</ulink> for details.</para>
    914 <para>Mondo requires afio, bzip2, cdrtools/cdrecord, ncurses, newt,
     910<para>Mondo requires afio, bzip2, cdrtools/cdrecord/growisofs, ncurses, newt,
    915911isolinux/syslinux, lzo (optional), lzop (optional), mkisofs, slang,
    916912and a few other packages.</para>
     
    940936<entry>
    941937
    942 bash# cd /tmpbash# tar -zxvf mindi-0.7x.tgzbash# cd mindi-0.7xbash# ./install.sh
    943 
    944 </entry>
    945 </row>
    946 </tbody></tgroup></informaltable>
    947 
    948 <para>This installs mindi into /usr/local/share/mindi and installs
    949 links to the programs into /usr/local/sbin</para>
    950 <para>Or, if you are installing from an RPM then copy it to
     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
    951950wherever you have enough space, for example /tmp and type:</para>
    952951<para></para>
     
    955954<entry>
    956955
    957 bash# rpm -Uvh /tmp/mindi-0.7x-x.i386.rpm
    958 
    959 </entry>
    960 </row>
    961 </tbody></tgroup></informaltable>
    962 
    963 <para>This installs mindi into /usr/share/mindi and installs links
    964 to the programs into /usr/sbin. This may be /usr/local/share/mindi
    965 and /usr/local/sbin, depending on the package you use. Different
    966 Linux distributions put system files in different places. The funny
    967 thing is, each distribution claims it is right and the others are
    968 wrong. Oh, and they all agree that I mustn't have read the LFS!
    969 :-)</para>
    970 <para>Debian users may wish to first create a .deb file and then
    971 use the debian package manager:</para>
    972 <para></para>
    973 <informaltable><tgroup cols="1"><tbody>
    974 <row>
    975 <entry>
    976 
    977 bash# cd /tmpbash# alien mindi*.rpmbash# dpkg -i mindi*.deb
    978 
    979 </entry>
    980 </row>
    981 </tbody></tgroup></informaltable>
    982 
    983 <para>This installs mindi into /usr/share/mindi and installs links
    984 to the programs into /usr/sbin</para>
     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>
    985969</sect1>
    986970
     
    994978<entry>
    995979
    996 bash# cd /tmpbash# tar -zxvf mondo-1.xx.tgzbash# cd mondo-1.xxbash# make &amp;&amp; make install
    997 
    998 </entry>
    999 </row>
    1000 </tbody></tgroup></informaltable>
    1001 
    1002 <para>This installs mondo into /usr/local/share/mondo and installs
    1003 links to the programs into /usr/local/bin</para>
    1004 <para>Or, if you are installing from an RPM then copy it to copy it
     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
    1005992to wherever you have enough space, for example /tmp and
    1006993type:</para>
     
    1010997<entry>
    1011998
    1012 bash# rpm -Uvh /tmp/mondo-1.5x-x.i386.rpm
    1013 
    1014 </entry>
    1015 </row>
    1016 </tbody></tgroup></informaltable>
    1017 
    1018 <para>This installs mondo into /usr/share/mondo and installs links
    1019 to the programs into /usr/bin</para>
    1020 <para>Debian users may wish to first create a .deb file and then
    1021 use the debian package manager:</para>
    1022 <para></para>
    1023 <informaltable><tgroup cols="1"><tbody>
    1024 <row>
    1025 <entry>
    1026 
    1027 bash# cd /tmpbash# alien mondo*.rpmbash# dpkg -i mondo*.deb
    1028 
    1029 </entry>
    1030 </row>
    1031 </tbody></tgroup></informaltable>
    1032 
    1033 <para>This installs mondo into /usr/share/mondo and installs links
    1034 to the programs into /usr/bin</para>
     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>
    10351011</sect1>
    10361012</chapter>
     
    10541030<itemizedlist>
    10551031<listitem>
    1056 <para>read /var/log/mindi.log</para>
     1032<para>less /var/log/mindi.log</para>
    10571033</listitem>
    10581034<listitem><para>feel free to edit mindi (it's a shell script, btw) to try
     
    10791055<entry>
    10801056
    1081 Mindi Linux mini-distro generator v0.72 by HRabson &lt;hugorabson@msn.com&gt;--------------------------
    1082 ----------------------------------------------------Do you want to use your own kernel to build the boo
    1083 t disk (y/n) ? yYour kernel is /boot/vmlinuz-2.4.14-k6 (v2.4.14-k6)Generating list of dependency files.
    1084 ....................... Done.Analyzing your keyboard's configuration.Adding the following keyboard mapp
    1085 ing tables:................... DoneDropping i686-optimized libraries if appropriate.............DoneAss
    1086 embling dependency files........ Done.The files have been subdivided into 2 directories.Your mountlist
    1087 will look like this:-DEVICE MOUNTPOINT FORMAT SIZE (MB)/dev/hda3 / ext2 996/dev/hda2 swap swap 127/dev/
    1088 hda4 /usr ext2 6189Tarring and zipping the groups......... Done.Creating data disk #1...#2... Done.1722
    1089 KB boot disk was created OK............................ Done.2880KB boot disk was created OK...........
    1090 ................. Done.In the directory '/root/images/mindi' you will find the images:-mindi-boot.1722.
    1091 img mindi-boot.2880.img mindi-data-1.img mindi-data-2.imgWould you like to create boot+data floppy disk
    1092 s now (y/n) ?yWARNING! THIS WILL ERASE YOUR FLOPPY DISKS.About to write boot disk. Please press ENTER.W
    1093 riting boot disk.................................................. Done.About to write data disk #1. Pl
    1094 ease press ENTER.Writing data disk #1........................... Done.About to write data disk #2. Plea
    1095 se press ENTER.Writing data disk #2........................... Done.Shall I make a bootable CD image? (
    1096 y/n) yFinished.One 1.72MB boot disk, one 2.88MB boot disk and 2 data disks were created.
    1097 
     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       
    10981122</entry>
    10991123</row>
     
    11121136<entry>
    11131137
    1114 bash# cd /root/images/mindibash# cdrecord -scanbus
     1138        bash# cd /root/images/mindi
     1139        bash# cdrecord -scanbus
    11151140
    11161141</entry>
     
    11301155<entry>
    11311156
    1132 bash# cdrecord -blank fast dev=x,x,x speed=4 mindi.iso (for CD-RW)
     1157bash# cdrecord -v blank=fast dev=x,x,x speed=4 mindi.iso (for CD-RW)
    11331158
    11341159</entry>
     
    11421167<entry>
    11431168
    1144 bash# cdrecord dev=x,x,x speed=4 mindi.iso (for CD-R)
     1169bash# cdrecord -v dev=x,x,x speed=4 mindi.iso (for CD-R)
    11451170
    11461171</entry>
     
    11611186<sect1 id="backup-recommandations">
    11621187<title>Recommandations</title>
    1163 <para>Mama does Mondo? Papa does Mondo? Is that a Dean Martin song?
    1164 Well, anyway, here is how I backup my system:</para>
    11651188<itemizedlist>
    11661189<listitem>
    11671190<para>Shut down all possible applications (this minimizes any
    1168 compare differences following the backup)</para>
     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>
    11691194</listitem>
    11701195<listitem>
     
    11931218<entry>
    11941219
    1195 bash# mondoarchive -Ow4 -gF -I /home
    1196 
    1197 </entry>
    1198 </row>
    1199 </tbody></tgroup></informaltable>
    1200 
    1201 <para>Cdrecord will tell me where my CD recorder lives, in SCSI
    1202 terms, which in my case is '0,0,0'. The call to mondoarchive tells
    1203 Mondo that I want to backup everything to a 4x CD-RW drive that has
     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
    12041229a CD-RW disk in it. (Use -Oc instead of -Ow if you are using
    12051230CD-R.)</para>
     
    12091234write the first (or any) disk, it will offer to retry, abort or
    12101235fail.</para>
    1211 <para>I run Mondo at the highest compression available ('-9) and
    1212 then go to work. I then walk home at lunch (I live right by my
    1213 workplace), change CD, eat lunch, and go back to work. When I get
    1214 home, it has all been done.</para>
    1215 <para>Your mileage may vary. Experiment. Find the speed/compression
    1216 compromise that best suits your needs.</para>
     1236<para>Find the speed/compression
     1237compromise that best suits your needs. Here maximum (-9) compression level is used.</para>
    12171238<para>If you are using cron then please use -F to make sure that
    12181239Mondo does not prompt you to create bootable floppy disks. Cron
     
    12211242information. Jesse Keating has written a script for cron/Mondo
    12221243users. It is available on the
    1223 <ulink url="../../docs/docs.html">Documentation</ulink>
     1244<ulink url="http://www.mondorescue.org/docs/docs.html">Documentation</ulink>
    12241245page.</para>
    12251246</sect1>
     
    12461267<entry>
    12471268
    1248 bash# mondoarchive -E /mnt/dos /mnt/cdrom -9 -Oc 8
     1269bash# mondoarchive -E "/mnt/dos /mnt/cdrom" -9 -Oc 8
    12491270
    12501271</entry>
     
    12531274
    12541275<para>Would create backup CD to a CD-R disc at the highest
    1255 compression level, writing at speed 2 and ignoring the /mnt/dos and
     1276compression level, writing at speed 8 and ignoring the /mnt/dos and
    12561277/mnt/cdrom directories.</para>
    12571278<para>To see a detailed list of switches and their meaning, see the
     
    12721293</tbody></tgroup></informaltable>
    12731294
    1274 <para>Replace '2' in '-Oc2' with the writer's speed. If
     1295<para>Replace '2' in '-Oc 2' with the writer's speed. If
    12751296mondoarchive cannot find your CD-R then please add '-d 0,0,0' (or
    12761297whatever your CD writer's SCSI node is; usually, it is 0,0,0) to
     
    12931314</tbody></tgroup></informaltable>
    12941315
    1295 <para>Replace '2' in '-Ow2' with the writer's speed.</para>
     1316<para>Replace '2' in '-Ow 2' with the writer's speed.</para>
    12961317</sect2>
    12971318<sect2 id="backup-cmd-tape">
     
    13081329</tbody></tgroup></informaltable>
    13091330
    1310 <para>With previous versions of Mondo, you needed to specify the
    1311 size of the tape. As of v1.51, that is no longer necessary.</para>
    13121331</sect2>
    13131332<sect2 id="backup-cmd-failsafe">
     
    13241343</tbody></tgroup></informaltable>
    13251344
    1326 <para>Due to slight policy differences in the Debian distribution
    1327 approach, the '-k FAILSAFE' option is typically needed with
    1328 Debian.</para>
     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>
    13291349</sect2>
    13301350<sect2 id="backup-cmd-network">
     
    13351355<entry>
    13361356
    1337 bash# mount 192.168.1.3:/home/nfs -t nfs /mnt/nfsbash# mondoarchive -OVn 192.168.1.3:/home/nfs -g -s 20
    1338 0mbash# umount /mnt/nfs
     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
    13391360
    13401361</entry>
     
    13441365<para>The resultant ISO's can be burned to CD's if you want (which
    13451366isn't a good idea unless you're a Mondo expert because they'll try
    1346 to restore over a network by default, which is silly cos the
     1367to restore over a network by default, which is silly because the
    13471368archives are on the CD's). Or, you can boot from the Mindi floppies
    13481369(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.
    13491373</sect2>
    13501374</sect1>
     
    13681392<entry>
    13691393
    1370 bash# compare
     1394LILO: compare
    13711395
    13721396</entry>
     
    14021426<para>I hope you don't have to restore from scratch very often.
    14031427It's nerve-wracking until you realize that Mondo's restore engine
    1404 is very reliable. I backup and restore my system 2 or 3 times a
    1405 week as part of the testing process. I have no other backup regime,
    1406 so it had better work.</para>
     1428is very reliable.
     1429</para>
    14071430<para>If you find that you cannot make your PC boot from the CD,
    14081431take heart: the first backup CD of each set contains floppy disk
     
    14781501<entry>
    14791502
    1480 bash# mount-mebash# chroot /mnt/RESTORINGbash# lilo OR grub-install '(hd0)'bash# exitbash# unmount-me
     1503        bash# mount-me
     1504        bash# chroot /mnt/RESTORING
     1505        bash# lilo OR grub-install '(hd0)'
     1506        bash# exit
     1507        bash# unmount-me
    14811508
    14821509</entry>
     
    14871514<listitem>
    14881515<para>If it did not work then please copy /tmp/mondo-restore.log to
    1489 a floppy (or to your hard disk), gzip it and e-mail it to the
     1516a floppy (or to your hard disk, USB key, ...), gzip it and e-mail it to the
    14901517&ML;.</para>
    14911518</listitem>
     
    15021529<itemizedlist>
    15031530<listitem>
     1531<para>Use the -H option when invoking mondoarchive</para>
     1532</listitem>
     1533<listitem>
    15041534<para>Boot from the first Mondo CD</para>
    15051535</listitem>
    15061536<listitem>
    1507 <para>Press &lt;enter&gt;</para>
     1537<para>Press RESTORE&lt;enter&gt;</para>
    15081538</listitem>
    15091539<listitem>
     
    15261556restoring, press &lt;Alt&gt;&lt;left cursor&gt; to view its
    15271557logfile, in a virtual console, scrolling past.</para>
    1528 </sect2><sect2>
     1558</sect2>
     1559<sect2>
    15291560<title>Interactive Restore</title>
    15301561<para>Interactive Mode is for people who have lost a subset of data
     
    15471578<para>If you are planning to modify your partition table, you would
    15481579do well to read up on the partition layout and the use of fdisk, it
    1549 gives you some could pointers on how to best lay out partitions.
    1550 You can find good guide her.
     1580gives you some pointers on how to best lay out partitions.
     1581You can find a good guide at
    15511582<ulink url="http://www.ibiblio.org/pub/Linux/docs/HOWTO/mini/Partition/index.html">http://www.ibiblio.o
    15521583rg/pub/Linux/docs/HOWTO/mini/Partition/index.html</ulink></para>
     
    15811612<entry>
    15821613
    1583 Do you want to partition your devices? noDo you want to format them? noDo you want to restore everythin
    1584 g? noDo you want to restore something? yesWhich path do you want to restore? /home/hugo [e.g.]Do you wa
    1585 nt to run LILO to setup your boot sectors? Yes
     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
    15861620
    15871621</entry>
     
    15961630do well to read up on the partition layout and the use of fdisk, it
    15971631gives you some could pointers on how to best lay out partitions.
    1598 You can find good guide her.
     1632You can find good a guide at
    15991633<ulink url="http://www.ibiblio.org/pub/Linux/docs/HOWTO/mini/Partition/index.html">http://www.ibiblio.o
    16001634rg/pub/Linux/docs/HOWTO/mini/Partition/index.html</ulink></para>
     
    16851719<entry>
    16861720
    1687 /dev/hda1/mnt/windows vfat 4096000/dev/hda5 / reiserfs 6023000&gt;/dev/hda6 /tmp xfs 955000/dev/hda7 /u
    1688 sr xfs 4096000
     1721        /dev/hda1   /mnt/windows    vfat        4096000
     1722        /dev/hda5   /               reiserfs    6023000
     1723        /dev/hda6   /tmp            xfs         955000
     1724        /dev/hda7   /usr            ext3        4096000
    16891725
    16901726</entry>
     
    17131749<entry>
    17141750
    1715 /dev/hda1/mnt/windows vfat 6096000/dev/hda5 / reiserfs 9123000/dev/hda6 /tmp xfs 955000/dev/hdb1 /usr x
    1716 fs 8192000/dev/hdb2 /home xfs 8192000
     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
    17171756
    17181757</entry>
     
    17301769<entry>
    17311770
    1732 /dev/hda1 /mnt/windows vfat 6096000/dev/md0 / reiserfs 9123000/dev/md1 /tmp xfs 955000/dev/md2 xfs 8192
    1733 000/dev/md3 /home xfs 8192000
     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
    17341776
    17351777</entry>
     
    18661908screen errors which relate to the creation of boot disk(s) and or
    18671909data disk(s) to a text file.</para>
    1868 <para>See the <ulink url="http://www.mondorescue.org">web
    1869 site</ulink> for details. If you are going to e-mail
    1870 <ulink url="../../feedback/feedback.html">the list</ulink> then
    1871 please attach that text file (zipped!) and tell me:</para>
     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>
    18721913<itemizedlist>
    18731914<listitem>
     
    18781919</listitem>
    18791920<listitem>
    1880 <para>Whether your kernel supports initrd and loopfs; it
    1881 should!</para>
    1882 </listitem>
    1883 <listitem>
    1884 <para>What sort of PC you are using, including hard disk
    1885 configurations</para>
    1886 </listitem>
    1887 </itemizedlist>
    1888 <para>Mondo is freely available and you are given it for no charge.
     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.
    18891928When you e-mail the &ML;, please bear that in mind.</para>
    18901929</sect1>
     
    18981937<para>A: Mindi, a.k.a. Mindi-Linux, makes a mini-distribution from
    18991938your kernel, modules, modules, tools and libraries. It can also
    1900 generate an El Torito 2.88MB boot disk image. Mondo uses Mindi to
     1939generate an El Torito 2.88/5.76MB boot disk image. Mondo uses Mindi to
    19011940create a mini-distro, then boots from it and runs on it.</para>
    19021941</answer>
     
    19061945        <answer>
    19071946<para>A: The Teenage Mutant Ninja Turtles described cool things as
    1908 'mondo'. I wasn't sure what to call this project. 'Faust' was one
    1909 idea I had, partly as a dig at my former boss who practically owned
    1910 me because of my legal status at the time. In the end, I chose
     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
    19111950something short and distinctive.</para>
    19121951</answer>
     
    19161955                keels over and dies. What's wrong?</para></question>
    19171956<answer>
    1918 <para>A: It works on Red Hat 7.x, Linux-Mandrake 8.x, some flavors
    1919 of SuSE, some flavors of Slackware, some flavors of Debian, etc.
    1920 The more distributions I support, the more moving targets I have to
     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
    19211960hit. Please bear this in mind when e-mailing the list. :) If you
    1922 would like to help me by beta-testing Mondo (or Mindi) on your PC
    1923 then I would be very interested in working with you to work around
     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
    19241963the eccentricities of your Linux distro. However, rest assured, 90%
    1925 of the bugs reported to me are actually symptoms of FooLinux X.Y's
     1964of the bugs reported are actually symptoms of FooLinux X.Y's
    19261965unique 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>
    19271969</answer>
    19281970</qandaentry>
     
    19301972        <question><para>Q: What if the error is in Mindi?</para></question>
    19311973        <answer>
    1932 <para>A: Then send me a copy of /var/log/mindi.log (compressed,
    1933 please) along with a description of your distro, your kernel, etc.
    1934 Oh, and before sending it, please read it.</para>
     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>
    19351977</answer>
    19361978</qandaentry>
     
    19381980        <question><para>Q: Can I trust Mondo?</para></question>
    19391981        <answer>
    1940 <para>A: Mondo has generated reliable archives since May 2000. I
    1941 have lost data by using bad CD-R disks and not verifying their
     1982<para>A: Mondo has generated reliable archives since May 2000.
     1983Lost data occured by using bad CD-R disks and not verifying their
    19421984contents. Some users have not tried booting from their CD until
    19431985crunch time. Remember to boot into Compare Mode to verify the
     
    19461988the culprit. Check <link linkend="overview-sysrq-kernelreq">Linux Kernel
    19471989support</link> to see what your kernel should support. Please
    1948 e-mail the list (or me) if you need some help with this.</para>
     1990e-mail the list if you need some help with this.</para>
    19491991</answer>
    19501992</qandaentry>
     
    19521994        <question><para>Q: How do I report a bug?</para></question>
    19531995        <answer>
    1954 <para>A: E-mail the bug report (mondo.err.xxxxx.tgz) to me. If you
    1955 want to discuss it, please e-mail the list. The list is for
    1956 talking; my e-mail address is for big files. :-) If you don't send
    1957 me a logfile then there isn't a lot that I can do for you, so
    1958 PLEASE include a logfile at the very least. Or, pop into #mondo on
    1959 irc.redhat.com and see if I'm there.</para>
     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>
    19602000</answer>
    19612001</qandaentry>
     
    19662006<answer>
    19672007<para>A: Absolutely! :-) The best way for you to make Mondo do what
    1968 you want is to modify it and then send me the patch. That way, we
     2008you want is to modify it and then send the patch. That way, we
    19692009can all benefit.</para>
    19702010</answer>
     
    19752015please?</para></question>
    19762016<answer>
    1977 <para>A: I'll definitely think about it. Would you like to
    1978 help?</para>
     2017<para>A: please enter the suggestion in our feature system at &WWW;
     2018</para>
    19792019</answer>
    19802020</qandaentry>
     
    19962036<answer>
    19972037<para>A: Yes, up to twenty CD per set. This 20-CD limit results
    1998 from laziness on my part. I can remove it at any time. However, if
    1999 your system occupies more than 20 CD, may I recommend that you
    2000 invest in a tape streamer?</para>
     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>
    20012041</answer>
    20022042</qandaentry>
     
    20152055                systems?</para></question>
    20162056<answer>
    2017 <para>A: Sure, if you pay me to play catch-up to Microsoft. ;)
    2018 Seriously, Mondo can do it but I do not give away the
    2019 functionality. If you are a Microsoft-only user, you are accusomed
    2020 to paying for software and technical support. Please e-mail me for
    2021 more information.</para>
     2057<para>A: Not at the moment.
     2058</para>
    20222059</answer>
    20232060</qandaentry>
     
    20252062        <question><para>Q: Does Mondo support LVM?</para></question>
    20262063        <answer>
    2027 <para>A: Mondo supports LVM, yes. Mondo backs up and restores your
     2064<para>A: Mondo supports LVM v1 and v2. Mondo backs up and restores your
    20282065existing setup but it does not make it easy for you to change your
    2029 LVM configuration. You have to edit /tmp/i-want-my-lvm at boot-time
     2066LVM configuration, at the moment. You have to edit <filename>/tmp/i-want-my-lvm</filename> at boot-time
    20302067to do that.</para>
    20312068</answer>
     
    20392076</qandaentry>
    20402077<qandaentry>
    2041 <question><para>Q: Mondoarchive (or mondorestore)
    2042                 segfaults when I run it. What could be wrong?</para></question>
    2043 <answer>
    2044 <para>A: Install from tarball instead of RPM. (Or, try RPM if you
    2045 just installed from tarball.) Your compiler or your libraries may
    2046 be fubar. We'll see. If that doesn't work then please e-mail the
    2047 &ML;.</para>
    2048 </answer>
    2049 </qandaentry>
    2050 <qandaentry>
    20512078<question><para>Q: I get the error, 'Cannot find
    20522079                /tmp/dev.0' or 'Cannot mount device 0x0701'; what do I do?</para></question>
    20532080<answer>
    2054 <para>A: Please free up /dev/loop0 using 'losetup /dev/loop0 -d' to
     2081        <para>A: Please free up <filename>/dev/loop0</filename> using 'losetup /dev/loop0 -d' to
    20552082unmount that loop device. If your OS will not let you do that,
    20562083contact your local support group or Linux vendor.</para>
     
    20712098<question><para>Q: Why do you insist on putting floppy
    20722099disk images on Mondo CD? They waste space and I never use them. The
    2073 CD works just fine, so why keep the floppy disk images?</para></question>
    2074 <answer>
    2075 <para>A: Because of my old college buddy, Justin Case. If you
     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
    20762104really, truly want them gone then please submit a patch to make
    2077 </para>
    2078 </answer>
    2079 </qandaentry>
    2080 <qandaentry>
    2081 <question><para>Q: Why do you insist on putting floppy
    2082 disk images on Mondo CD? They waste space and I never use them. The
    2083 CD works just fine, so why keep the floppy disk images?</para>
    2084 <para>A: Because of my old college buddy, Justin Case. If you
    2085 really, truly want them gone then please submit a patch to make
    2086 them optional.</para></question>
    2087 <answer>
    2088         </answer>
     2105them optional.</para>
     2106</answer>
    20892107</qandaentry>
    20902108<qandaentry>
     
    21122130<qandaset>
    21132131<qandaentry>
    2114 <question><para>Q: How do I know if Mondo works with my
    2115                 Linux distro?</para></question>
    2116 <answer>
    2117 <para>A: Try running it. :) That's always a good way to find out.
    2118 Check the <ulink url="../../docs/docs.html">Documentation
    2119 page</ulink>, too.</para>
    2120 </answer>
    2121 </qandaentry>
    2122 <qandaentry>
    21232132<question><para>Q: When I try to boot from the Mondo CD,
    2124 it says, "VFS: Unable to mount root fs." I am using a Debian
     2133it says, "VFS: Unable to mount root fs." I am using an old Debian
    21252134distro. What do I do?</para></question>
    21262135<answer>
     
    21292138kernel. In the meantime, please use '-k FAILSAFE' in your command
    21302139line when calling Mondo.</para>
     2140<para>A: Upgrade to Sarge as it's fairly well supported by Andree Leidenfrost</para>
    21312141</answer>
    21322142</qandaentry>
     
    21572167blames the kernel. What does that mean?</para></question>
    21582168<answer>
    2159 <para>A: Your kernel must support initrd, loopfs, IDE CD-ROM's, and
     2169        <para>A: Your kernel must support initrd, loopfs, IDE|SCSI|USB CD-ROM's, and
    21602170ramdisks. Take a look at <link linkend="overview-sysrq-kernelreq">Linux
    21612171Kernel support</link> to see what you're kernel must support. If
     
    21882198could use Mondo despite flaws in their own kernels. If you are
    21892199using Mondo/Mindi's kernel but still cannot boot from your Mondo CD
    2190 then please e-mail the list.</para>
     2200then please e-mail the &ML;.</para>
    21912201</answer>
    21922202</qandaentry>
     
    22022212/mnt/cdrom' and then utilize the restore script as usual, e.g.
    22032213mondorestore.</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>
    22042216</answer>
    22052217</qandaentry>
     
    22072219<question><para>Q: But why won't Mondo boot from my CD?
    22082220It says my kernel is flawed/outdated/ whatever, and when I wrote to
    2209 you, you told me the same thing... but I still don't get it. I
     2221the ML, they told me the same thing... but I still don't get it. I
    22102222mean, my kernel works for everything else. Why not Mondo?</para></question>
    22112223<answer>
     
    22272239respective jobs then you won't need additional floppies, just the
    22282240boot 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>
    22292243</answer>
    22302244</qandaentry>
     
    22522266at <link linkend="overview-sysrq-kernelreq">Linux Kernel support</link>to
    22532267see what you're kernel must support.</para>
     2268</answer>
     2269<question>
    22542270<para><anchor id="COPYBOOTDATADISK"/>Q: How do i copy boot+data
    22552271        disk images to physical floppy disks ?</para>
    2256 <para>A: The images are in /root/images/mindi (eve if they are
     2272</question>
     2273<answer>
     2274<para>A: The images are in /root/images/mindi (even if they are
    22572275created by Mondo) and also in the 'images' directory on the first
    22582276CD of your backup set, if you have backed up to CD. You can copy
     
    22612279<row>
    22622280<entry>
    2263 
    2264 [boot disk]bash# fdformat /dev/fd0u1722bash# dd if=/root/images/mindi/mindi-boot.1722.img of=/dev/fd0u1
    2265 772[data disk]bash# fdformat /dev/fd0bash# dd if=/root/images/mindi/mindi-data-N.img of=/dev/fd0Replace
    2266  N with 1, 2, etc.
     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.
    22672288
    22682289</entry>
     
    22772298<answer><para>A: Play with 'mt'. Use its setblksize and
    22782299defblksize switches to reconfigure your tape drive if necessary.
    2279 Some tape drives just suck, I'm sorry to say. If yours is one of
     2300Some tape drives just are painful. If yours is one of
    22802301them then God help you. Mondo can handle any tape drive whose drive
    2281 and firmware can handle fread(), fwrite(), fread() and fclose().
     2302and firmware can handle fopen(), fwrite(), fread() and fclose().
    22822303Mondo uses standard C libraries to talk to your tape streamer. If
    22832304your tape streamer can't handle that then you had better call a
     
    23302351<answer>
    23312352<para>
    2332 A: Install them. :) If you are using RPM or DEB
     2353A: Install them. :) If you are using RPM or deb
    23332354then you'll be told which packages you need. Mondo offers a lot of
    23342355those packages on its
     
    23832404<entry>
    23842405
    2385 bash# cd /mnt/cdrom/imagesbash# dd if=mindi-boot.1722.img of=/dev/fd0u1722
     2406        bash# cd /mnt/cdrom/images
     2407        bash# dd if=mindi-boot.1722.img of=/dev/fd0u1722
    23862408
    23872409</entry>
     
    24152437</qandaentry>
    24162438<qandaentry>
    2417         <question><para>Q: Does Mondo support RAID?</para></question>
     2439        <question><para>Q: Does Mondo support Hardware RAID?</para></question>
    24182440        <answer>
    24192441<para>A: Yes. You may backup and restore RAID systems. You may also
     
    24222444partitions and their settings. Mondo will do the partitioning and
    24232445formatting 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>
    24242448</answer>
    24252449</qandaentry>
     
    24432467the switch '-Oc &lt;speed&gt;' -d '&lt;device&gt;'. Or, if you feel
    24442468lucky, just use '-Oc 2'; Mondo will (a) assume you want to write at
    2445 4x to</para>
    2446 <para>a CD-R and (b) will do its best to find your CD
    2447 burner.</para>
     24694x to a CD-R and (b) will do its best to find your CD burner.</para>
    24482470</answer>
    24492471</qandaentry>
     
    24682490<answer>
    24692491        <para>
    2470 A: Look at /var/log/mindi.log and see what it
     2492                A: Look at <filename>/var/log/mindi.log</filename> and see what it
    24712493says. Also, try typing 'mindi --makemountlist /tmp/mountlist.txt'
    2472 to see what Mindi says. Compress the log and send it to the &ML; if you get stuck.
     2494to see what Mindi says. Send the log to the &ML; if you get stuck.
    24732495</para>
    24742496</answer>
     
    24802502<para>A: Yes. Use the '-Oc &lt;speed&gt;' switch. Use a negative
    24812503number for a dummy burn.</para>
    2482 </answer>
    2483 </qandaentry>
    2484 <qandaentry>
    2485 <question><para>Q: When I try to backup to CD,
    2486 cdrecord/mkisofs returns an error. Nothing else appears to be
    2487 wrong. What do I do?</para></question>
    2488 <answer>
    2489 <para>A: Upgrade cdrecord and mkisofs.</para>
    24902504</answer>
    24912505</qandaentry>
     
    25252539                space?</para></question>
    25262540<answer>
    2527 <para>A: Because I'm a bitter, twisted man who lives to torment
    2528 you. Mwahahahaha! :-) Mondo has to work around the inadequacies of
    2529 mkisofs, cdrecord and your own Linux distribution; in return, it
    2530 asks for a lot of free disk space.</para>
    2531 </answer>
    2532 </qandaentry>
    2533 <qandaentry>
    2534 <question><para>Q: Will Mondo backup partitions whose
    2535                 formats are not understood by Linux, such as NTFS?</para></question>
    2536 <answer>
    2537 <para>A: Yes. Use '-x &lt;device&gt;'. (You can have more than one
    2538 device.)</para>
     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>
    25392544</answer>
    25402545</qandaentry>
     
    25452550<answer>
    25462551<para>A: Well, (a) use '-T /tmp' or '-T /home' or something in your
    2547 call to Mondo. Oh, and (b) send me /var/log/mondo-archive.log,
    2548 please :-)</para>
     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>
    25492555</answer>
    25502556</qandaentry>
     
    25642570                partition, i.e. backup over a network? How about restoring?</para></question>
    25652571<answer>
    2566 <para>A: Yes. Use '-On &lt;mount&gt; &lt;directory&gt;'. On my
    2567 system, I use:</para>
    2568 <para></para>
     2572<para>A: Yes. Use '-On &lt;mount&gt; &lt;directory&gt;'. Example:
     2573</para>
    25692574<informaltable><tgroup cols="1"><tbody>
    25702575<row>
     
    25842589<answer>
    25852590<para>A: No. It probably never will, either. Sorry.</para>
    2586 </answer>
    2587 </qandaentry>
    2588 <qandaentry>
    2589 <question><para>Q: Why do you include IO.SYS and
    2590 MSDOS.SYS in mondo-vfat, when they belong to Microsoft and are
    2591 copyrighted?</para></question>
    2592 <answer>
    2593 <para>A: Well, I used to, but I don't anymore. However, if you do
    2594 have a Windows partition, you can still use 'format-and-kludge-vfat
    2595 &lt;DEVICE&gt;/' to format and make bootable a VFAT partition.
    2596 AFAIK, I am the only person to write a Linux equivalent of the DOS
    2597 "SYS" command.</para>
    25982591</answer>
    25992592</qandaentry>
     
    26102603archives bad?</para></question>
    26112604<answer>
    2612 <para>A: Look at /tmp/changed.files; if the files are logfiles,
     2605        <para>A: Look at <filename>/tmp/changed.files</filename>; if the files are logfiles,
    26132606temp files or files which you think you may have changed recently
    26142607then the archives are simply out of date, albeit only by a few
     
    26172610tapes or even your hardware could be to blame. Check your CD writer
    26182611or tape streamer.</para>
    2619 <para>Also, don't forget to review /var/log/mondo-archive.log for
     2612<para>Also, don't forget to review <filename>/var/log/mondo-archive.log</filename> for
    26202613more information.</para>
    26212614</answer>
Note: See TracChangeset for help on using the changeset viewer.