Changeset 350 in MondoRescue


Ignore:
Timestamp:
Jan 28, 2006, 12:36:00 AM (18 years ago)
Author:
bcornec
Message:

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

Location:
trunk
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/documentation/mondorescue-howto.sgml

    r331 r350  
    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>
  • trunk/mindi-kernel/mindi-kernel.spec

    r295 r350  
    88Version:    1.06
    99Release:    %mrel
    10 Copyright:  GPL
     10License:    GPL
    1111Group:      System/Kernel and hardware
    1212Url:        http://www.mondorescue.org
  • trunk/mindi/.config-busybox-i386

    r30 r350  
    1313# CONFIG_FEATURE_INSTALLER is not set
    1414CONFIG_LOCALE_SUPPORT=y
    15 CONFIG_FEATURE_DEVFS=y
     15# CONFIG_FEATURE_DEVFS is not set
    1616CONFIG_FEATURE_DEVPTS=y
    1717# CONFIG_FEATURE_CLEAN_UP is not set
    1818# CONFIG_FEATURE_SUID is not set
     19# CONFIG_FEATURE_SUID_CONFIG is not set
     20# CONFIG_FEATURE_SUID_CONFIG_QUIET is not set
    1921# CONFIG_SELINUX is not set
    2022
     
    2527CONFIG_LFS=y
    2628# USING_CROSS_COMPILER is not set
     29CROSS_COMPILER_PREFIX=""
    2730EXTRA_CFLAGS_OPTIONS=""
     31CONFIG_FEATURE_SUSv2=y
     32CONFIG_FEATURE_SUSv2_OBSOLETE=y
    2833
    2934#
     
    3136#
    3237# CONFIG_INSTALL_NO_USR is not set
     38CONFIG_INSTALL_APPLET_SYMLINKS=y
     39# CONFIG_INSTALL_APPLET_HARDLINKS is not set
     40# CONFIG_INSTALL_APPLET_DONT is not set
    3341PREFIX="./_install"
    3442
     
    3745#
    3846# CONFIG_AR is not set
     47# CONFIG_FEATURE_AR_LONG_FILENAMES is not set
    3948CONFIG_BUNZIP2=y
    4049CONFIG_CPIO=y
    4150# CONFIG_DPKG is not set
    4251# CONFIG_DPKG_DEB is not set
     52# CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set
    4353CONFIG_GUNZIP=y
    4454CONFIG_FEATURE_GUNZIP_UNCOMPRESS=y
     
    6171# Common options for cpio and tar
    6272#
    63 # CONFIG_FEATURE_UNARCHIVE_TAPE is not set
     73CONFIG_FEATURE_UNARCHIVE_TAPE=y
     74# CONFIG_FEATURE_DEB_TAR_GZ is not set
     75# CONFIG_FEATURE_DEB_TAR_BZ2 is not set
    6476
    6577#
     
    7486CONFIG_CHROOT=y
    7587CONFIG_CMP=y
     88# CONFIG_COMM is not set
    7689CONFIG_CP=y
    7790CONFIG_CUT=y
    7891CONFIG_DATE=y
     92
     93#
     94# date (forced enabled for use with watch)
     95#
    7996CONFIG_FEATURE_DATE_ISOFMT=y
    8097CONFIG_DD=y
     
    88105CONFIG_FEATURE_FANCY_ECHO=y
    89106CONFIG_ENV=y
    90 # CONFIG_EXPR is not set
     107CONFIG_EXPR=y
    91108CONFIG_FALSE=y
    92109# CONFIG_FOLD is not set
     
    107124CONFIG_FEATURE_LS_USERNAME=y
    108125CONFIG_FEATURE_LS_COLOR=y
     126# CONFIG_FEATURE_LS_COLOR_IS_DEFAULT is not set
    109127CONFIG_MD5SUM=y
    110128CONFIG_MKDIR=y
     
    112130CONFIG_MKNOD=y
    113131CONFIG_MV=y
    114 # CONFIG_OD is not set
     132# CONFIG_NICE is not set
     133# CONFIG_NOHUP is not set
     134CONFIG_OD=y
     135# CONFIG_PRINTENV is not set
    115136# CONFIG_PRINTF is not set
    116137CONFIG_PWD=y
     
    123144# CONFIG_FEATURE_FANCY_SLEEP is not set
    124145CONFIG_SORT=y
     146CONFIG_FEATURE_SORT_BIG=y
     147# CONFIG_STAT is not set
     148# CONFIG_FEATURE_STAT_FORMAT is not set
    125149CONFIG_STTY=y
     150# CONFIG_SUM is not set
    126151CONFIG_SYNC=y
    127152CONFIG_TAIL=y
    128153# CONFIG_FEATURE_FANCY_TAIL is not set
    129 # CONFIG_TEE is not set
     154CONFIG_TEE=y
     155CONFIG_FEATURE_TEE_USE_BLOCK_IO=y
    130156CONFIG_TEST=y
    131157
     
    136162CONFIG_TOUCH=y
    137163CONFIG_TR=y
     164CONFIG_FEATURE_TR_CLASSES=y
     165CONFIG_FEATURE_TR_EQUIV=y
    138166CONFIG_TRUE=y
    139167CONFIG_TTY=y
     
    143171# CONFIG_UUDECODE is not set
    144172# CONFIG_UUENCODE is not set
    145 # CONFIG_WATCH is not set
     173CONFIG_WATCH=y
    146174CONFIG_WC=y
    147175CONFIG_WHO=y
     
    177205# CONFIG_DUMPKMAP is not set
    178206# CONFIG_LOADFONT is not set
    179 # CONFIG_LOADKMAP is not set
     207CONFIG_LOADKMAP=y
    180208CONFIG_OPENVT=y
    181209CONFIG_RESET=y
    182 # CONFIG_SETKEYCODES is not set
     210# CONFIG_SETCONSOLE is not set
     211CONFIG_SETKEYCODES=y
    183212
    184213#
     
    188217CONFIG_PIPE_PROGRESS=y
    189218# CONFIG_READLINK is not set
     219# CONFIG_FEATURE_READLINK_FOLLOW is not set
    190220# CONFIG_RUN_PARTS is not set
    191221# CONFIG_START_STOP_DAEMON is not set
    192222CONFIG_WHICH=y
     223
     224#
     225# Linux Ext2 FS Progs
     226#
     227# CONFIG_CHATTR is not set
     228# CONFIG_E2FSCK is not set
     229# CONFIG_FSCK is not set
     230# CONFIG_LSATTR is not set
     231# CONFIG_MKE2FS is not set
     232# CONFIG_TUNE2FS is not set
     233# CONFIG_E2LABEL is not set
     234# CONFIG_FINDFS is not set
    193235
    194236#
     
    221263CONFIG_FEATURE_FIND_NEWER=y
    222264CONFIG_FEATURE_FIND_INUM=y
     265CONFIG_FEATURE_FIND_EXEC=y
    223266CONFIG_GREP=y
    224267CONFIG_FEATURE_GREP_EGREP_ALIAS=y
     
    229272# CONFIG_FEATURE_XARGS_SUPPORT_QUOTES is not set
    230273# CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT is not set
    231 # CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM is not set
     274CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y
    232275
    233276#
     
    235278#
    236279# CONFIG_INIT is not set
     280# CONFIG_FEATURE_USE_INITTAB is not set
     281# CONFIG_FEATURE_INITRD is not set
     282# CONFIG_FEATURE_INIT_COREDUMPS is not set
     283# CONFIG_FEATURE_INIT_SCTTY is not set
     284# CONFIG_FEATURE_EXTRA_QUIET is not set
    237285CONFIG_HALT=y
     286CONFIG_MESG=y
    238287CONFIG_POWEROFF=y
    239288CONFIG_REBOOT=y
    240 CONFIG_MESG=y
    241289
    242290#
    243291# Login/Password Management Utilities
    244292#
     293# CONFIG_FEATURE_SHADOWPASSWDS is not set
     294# CONFIG_USE_BB_SHADOW is not set
    245295# CONFIG_USE_BB_PWD_GRP is not set
    246296# CONFIG_ADDGROUP is not set
     
    249299# CONFIG_DELUSER is not set
    250300# CONFIG_GETTY is not set
    251 CONFIG_FEATURE_U_W_TMP=y
     301CONFIG_FEATURE_UTMP=y
     302# CONFIG_FEATURE_WTMP is not set
    252303# CONFIG_LOGIN is not set
     304# CONFIG_FEATURE_SECURETTY is not set
    253305# CONFIG_PASSWD is not set
    254306# CONFIG_SU is not set
     
    260312#
    261313# CONFIG_ADJTIMEX is not set
     314# CONFIG_BBCONFIG is not set
    262315# CONFIG_CROND is not set
     316# CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set
    263317# CONFIG_CRONTAB is not set
    264318# CONFIG_DC is not set
    265 CONFIG_DEVFSD=y
    266 CONFIG_DEVFSD_MODLOAD=y
    267 CONFIG_DEVFSD_FG_NP=y
     319# CONFIG_DEVFSD is not set
     320# CONFIG_DEVFSD_MODLOAD is not set
     321# CONFIG_DEVFSD_FG_NP is not set
    268322# CONFIG_DEVFSD_VERBOSE is not set
     323CONFIG_EJECT=y
    269324# CONFIG_LAST is not set
     325CONFIG_LESS=y
     326CONFIG_FEATURE_LESS_BRACKETS=y
     327CONFIG_FEATURE_LESS_FLAGS=y
     328CONFIG_FEATURE_LESS_FLAGCS=y
     329CONFIG_FEATURE_LESS_MARKS=y
     330CONFIG_FEATURE_LESS_REGEXP=y
    270331# CONFIG_HDPARM is not set
     332# CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set
     333# CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set
     334# CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF is not set
     335# CONFIG_FEATURE_HDPARM_HDIO_DRIVE_RESET is not set
     336# CONFIG_FEATURE_HDPARM_HDIO_TRISTATE_HWIF is not set
     337# CONFIG_FEATURE_HDPARM_HDIO_GETSET_DMA is not set
    271338# CONFIG_MAKEDEVS is not set
     339# CONFIG_FEATURE_MAKEDEVS_LEAF is not set
     340# CONFIG_FEATURE_MAKEDEVS_TABLE is not set
     341# CONFIG_MOUNTPOINT is not set
    272342CONFIG_MT=y
     343# BB_APPLET_RUNLEVEL is not set
    273344# CONFIG_RX is not set
    274345CONFIG_STRINGS=y
     346# CONFIG_SETSID is not set
    275347# CONFIG_TIME is not set
    276348CONFIG_WATCHDOG=y
     
    280352#
    281353CONFIG_INSMOD=y
    282 CONFIG_FEATURE_2_4_MODULES=y
    283 CONFIG_FEATURE_2_6_MODULES=y
    284354# CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set
    285355# CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set
    286356# CONFIG_FEATURE_INSMOD_LOADINKMEM is not set
    287357# CONFIG_FEATURE_INSMOD_LOAD_MAP is not set
     358# CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set
     359CONFIG_RMMOD=y
    288360CONFIG_LSMOD=y
     361CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y
    289362CONFIG_MODPROBE=y
    290 CONFIG_RMMOD=y
     363CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS=y
     364
     365#
     366# Options common to multiple modutils
     367#
    291368# CONFIG_FEATURE_CHECK_TAINTED_MODULE is not set
     369CONFIG_FEATURE_2_4_MODULES=y
     370CONFIG_FEATURE_2_6_MODULES=y
     371# CONFIG_FEATURE_QUERY_MODULE_INTERFACE is not set
    292372
    293373#
     
    296376# CONFIG_FEATURE_IPV6 is not set
    297377# CONFIG_ARPING is not set
     378# CONFIG_ETHER_WAKE is not set
     379# CONFIG_FAKEIDENTD is not set
    298380# CONFIG_FTPGET is not set
    299381# CONFIG_FTPPUT is not set
    300382CONFIG_HOSTNAME=y
    301383# CONFIG_HTTPD is not set
     384# CONFIG_FEATURE_HTTPD_USAGE_FROM_INETD_ONLY is not set
     385# CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set
     386# CONFIG_FEATURE_HTTPD_AUTH_MD5 is not set
     387# CONFIG_FEATURE_HTTPD_RELOAD_CONFIG_SIGHUP is not set
     388# CONFIG_FEATURE_HTTPD_SETUID is not set
     389# CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES is not set
     390# CONFIG_FEATURE_HTTPD_CGI is not set
     391# CONFIG_FEATURE_HTTPD_SET_REMOTE_PORT_TO_ENV is not set
     392# CONFIG_FEATURE_HTTPD_ENCODE_URL_STR is not set
    302393CONFIG_IFCONFIG=y
    303394CONFIG_FEATURE_IFCONFIG_STATUS=y
     
    307398CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y
    308399# CONFIG_IFUPDOWN is not set
     400# CONFIG_FEATURE_IFUPDOWN_IP is not set
     401# CONFIG_FEATURE_IFUPDOWN_IP_BUILTIN is not set
     402# CONFIG_FEATURE_IFUPDOWN_IPV4 is not set
     403# CONFIG_FEATURE_IFUPDOWN_IPV6 is not set
     404# CONFIG_FEATURE_IFUPDOWN_IPX is not set
     405# CONFIG_FEATURE_IFUPDOWN_MAPPING is not set
    309406# CONFIG_INETD is not set
     407# CONFIG_FEATURE_INETD_SUPPORT_BILTIN_ECHO is not set
     408# CONFIG_FEATURE_INETD_SUPPORT_BILTIN_DISCARD is not set
     409# CONFIG_FEATURE_INETD_SUPPORT_BILTIN_TIME is not set
     410# CONFIG_FEATURE_INETD_SUPPORT_BILTIN_DAYTIME is not set
     411# CONFIG_FEATURE_INETD_SUPPORT_BILTIN_CHARGEN is not set
     412# CONFIG_FEATURE_INETD_RPC is not set
    310413CONFIG_IP=y
    311414CONFIG_FEATURE_IP_ADDRESS=y
     
    329432CONFIG_NAMEIF=y
    330433# CONFIG_NC is not set
     434# CONFIG_NC_GAPING_SECURITY_HOLE is not set
    331435CONFIG_NETSTAT=y
    332436CONFIG_NSLOOKUP=y
    333437CONFIG_PING=y
    334438CONFIG_FEATURE_FANCY_PING=y
     439# CONFIG_PING6 is not set
     440# CONFIG_FEATURE_FANCY_PING6 is not set
    335441CONFIG_ROUTE=y
    336 # CONFIG_TELNET is not set
     442CONFIG_TELNET=y
     443CONFIG_FEATURE_TELNET_TTYPE=y
     444CONFIG_FEATURE_TELNET_AUTOLOGIN=y
    337445# CONFIG_TELNETD is not set
    338 # CONFIG_TFTP is not set
    339 # CONFIG_TRACEROUTE is not set
     446# CONFIG_FEATURE_TELNETD_INETD is not set
     447CONFIG_TFTP=y
     448CONFIG_FEATURE_TFTP_GET=y
     449CONFIG_FEATURE_TFTP_PUT=y
     450CONFIG_FEATURE_TFTP_BLOCKSIZE=y
     451# CONFIG_FEATURE_TFTP_DEBUG is not set
     452CONFIG_TRACEROUTE=y
     453# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set
     454# CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set
     455# CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set
    340456# CONFIG_VCONFIG is not set
    341457CONFIG_WGET=y
     
    349465# CONFIG_UDHCPD is not set
    350466CONFIG_UDHCPC=y
     467# CONFIG_DUMPLEASES is not set
    351468# CONFIG_FEATURE_UDHCP_SYSLOG is not set
    352469# CONFIG_FEATURE_UDHCP_DEBUG is not set
     470# CONFIG_ZCIP is not set
    353471
    354472#
     
    356474#
    357475CONFIG_FREE=y
     476# CONFIG_FUSER is not set
    358477CONFIG_KILL=y
    359478CONFIG_KILLALL=y
    360479CONFIG_PIDOF=y
     480# CONFIG_FEATURE_PIDOF_SINGLE is not set
     481# CONFIG_FEATURE_PIDOF_OMIT is not set
    361482CONFIG_PS=y
     483CONFIG_FEATURE_PS_WIDE=y
    362484CONFIG_RENICE=y
    363 # CONFIG_TOP is not set
     485# CONFIG_BB_SYSCTL is not set
     486CONFIG_TOP=y
     487CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y
    364488CONFIG_UPTIME=y
    365 CONFIG_SYSCTL=y
    366 
    367 #
    368 # Another Bourne-like Shell
     489
     490#
     491# Shells
    369492#
    370493CONFIG_FEATURE_SH_IS_ASH=y
     
    379502#
    380503CONFIG_ASH_JOB_CONTROL=y
     504# CONFIG_ASH_READ_NCHARS is not set
     505# CONFIG_ASH_READ_TIMEOUT is not set
    381506CONFIG_ASH_ALIAS=y
    382507CONFIG_ASH_MATH_SUPPORT=y
     
    384509# CONFIG_ASH_GETOPTS is not set
    385510# CONFIG_ASH_CMDCMD is not set
    386 CONFIG_ASH_MAIL=y
     511# CONFIG_ASH_BUILTIN_ECHO is not set
     512# CONFIG_ASH_MAIL is not set
    387513CONFIG_ASH_OPTIMIZE_FOR_SIZE=y
    388514# CONFIG_ASH_RANDOM_SUPPORT is not set
     515# CONFIG_ASH_EXPAND_PRMT is not set
    389516# CONFIG_HUSH is not set
    390517# CONFIG_LASH is not set
     
    397524# CONFIG_FEATURE_SH_STANDALONE_SHELL is not set
    398525CONFIG_FEATURE_COMMAND_EDITING=y
     526# CONFIG_FEATURE_COMMAND_EDITING_VI is not set
    399527CONFIG_FEATURE_COMMAND_HISTORY=15
    400528# CONFIG_FEATURE_COMMAND_SAVEHISTORY is not set
     
    421549CONFIG_DMESG=y
    422550# CONFIG_FBSET is not set
     551# CONFIG_FEATURE_FBSET_FANCY is not set
     552# CONFIG_FEATURE_FBSET_READMODE is not set
    423553CONFIG_FDFLUSH=y
    424554CONFIG_FDFORMAT=y
    425 CONFIG_FDISK=y
     555# CONFIG_FDISK is not set
    426556FDISK_SUPPORT_LARGE_DISKS=y
    427 CONFIG_FEATURE_FDISK_WRITABLE=y
     557# CONFIG_FEATURE_FDISK_WRITABLE is not set
    428558# CONFIG_FEATURE_AIX_LABEL is not set
    429559# CONFIG_FEATURE_SGI_LABEL is not set
     
    434564# CONFIG_FSCK_MINIX is not set
    435565# CONFIG_MKFS_MINIX is not set
     566# CONFIG_FEATURE_MINIX2 is not set
    436567# CONFIG_GETOPT is not set
    437568# CONFIG_HEXDUMP is not set
    438569CONFIG_HWCLOCK=y
    439 # CONFIG_FEATURE_HWCLOCK_LONGOPTIONS is not set
     570CONFIG_FEATURE_HWCLOCK_LONGOPTIONS=y
     571CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS=y
     572# CONFIG_IPCRM is not set
     573# CONFIG_IPCS is not set
    440574CONFIG_LOSETUP=y
     575# CONFIG_MDEV is not set
     576# CONFIG_FEATURE_MDEV_CONF is not set
    441577CONFIG_MKSWAP=y
    442578CONFIG_MORE=y
    443579CONFIG_FEATURE_USE_TERMIOS=y
    444580CONFIG_PIVOT_ROOT=y
     581# CONFIG_SWITCH_ROOT is not set
    445582# CONFIG_RDATE is not set
     583# CONFIG_READPROFILE is not set
    446584CONFIG_SWAPONOFF=y
    447585CONFIG_MOUNT=y
    448 CONFIG_NFSMOUNT=y
     586CONFIG_FEATURE_MOUNT_NFS=y
    449587CONFIG_UMOUNT=y
    450 # CONFIG_FEATURE_MOUNT_FORCE is not set
    451588
    452589#
     
    460597#
    461598# CONFIG_DEBUG is not set
     599# CONFIG_NO_DEBUG_LIB is not set
     600# CONFIG_DMALLOC is not set
     601# CONFIG_EFENCE is not set
  • trunk/mindi/analyze-my-lvm

    r300 r350  
    4444GetValueFromField() {
    4545    local res
    46     sed s/'    '/~/ "$1" | tr -s ' ' ' ' | sed s/'~ '/'~'/ | grep -i "$2~" | cut -d'~' -f2,3,4,5 | tr '~' ' ' | gawk '{ if ($2=="MB") {printf "%sm",$1;} else if ($2=="KB") {printf "%sk",$1;} else if ($2=="GB") {printf "%sg",$1;} else {print $0;};}'
     46    sed s/'    '/~/ "$1" | tr -s ' ' ' ' | sed s/'~ '/'~'/ | grep -i "$2~" | cut -d'~' -f2,3,4,5 | tr '~' ' ' | gawk '{ if ($2=="MB") {printf "%dm",$1;} else if ($2=="KB") {printf "%dk",$1;} else if ($2=="GB") {printf "%dg",$1;} else {print $0;};}'
    4747}
    4848
  • trunk/mindi/distributions/common/mindi.spec

    r318 r350  
    1919%if %is_redhat
    2020%define grp     Applications/Archiving
    21 %define addreq  %{addreqb}, which
     21%define addreq  %{addreqb}, which, grep >= 2.5
    2222Autoreq:    0
    2323%endif
     
    2525%if %is_mandrake
    2626%define src     %{name}-%{version}.tar.bz2
    27 %define addreq  %{addreqb}, which
     27%define addreq  %{addreqb}, which, grep >= 2.5
    2828Autoreqprov: no
    2929%endif
     
    3131%if %is_mandriva
    3232%define src     %{name}-%{version}.tar.bz2
    33 %define addreq  %{addreqb}, which
     33%define addreq  %{addreqb}, which, grep >= 2.5
    3434Autoreqprov: no
    3535%endif
  • trunk/mindi/mindi

    r317 r350  
    29452945fi
    29462946FixPathIfBroken
    2947 [ -f "$MINDI_LIB/vmlinuz" ] && FAILSAFE_KVER=`strings $MINDI_LIB/vmlinuz 2> /dev/null | grep "2\.4" | cut -d' ' -f1`
     2947[ -f "$MINDI_LIB/vmlinuz" ] && FAILSAFE_KVER=`strings $MINDI_LIB/vmlinuz 2> /dev/null | egrep "2\.[46]" | cut -d' ' -f1`
    29482948AbortIfMkfsVfatMissing
    29492949### BCO
Note: See TracChangeset for help on using the changeset viewer.