- Timestamp:
- Jan 28, 2006, 12:36:00 AM (19 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/documentation/mondorescue-howto.sgml
r331 r350 4 4 5 5 <!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>'> 7 7 <!ENTITY ML '<ulink url="http://lists.sourceforge.net/lists/listinfo/mondo-devel">mondorescue mailing list</ulink>'> 8 8 <!ENTITY gfdl SYSTEM "fdl.sgml"> … … 146 146 </para> 147 147 <para>See Mondo's 148 <ulink url="../../feedback/feedback.html">Feedback</ulink> page for148 <ulink url="http://www.mondorescue.org/feedback/feedback.html">Feedback</ulink> page for 149 149 more information. 150 150 </para> … … 270 270 want to store the ISO images in a local directory until you have 271 271 time or facilities to burn them to CD's, choose 'hard disk'. If you 272 choose 'CD/DVD- R[W]' or 'tape' then in general your hardware will be272 choose 'CD/DVD-+R[W]' or 'tape' then in general your hardware will be 273 273 detected and configured for you. 274 274 </entry> … … 309 309 </entry> 310 310 <entry> 311 If you want to backup the whole computer (excluding / tmpand /proc,311 If you want to backup the whole computer (excluding /sys and /proc, 312 312 naturally) then leave this as / which is the default. Otherwise, 313 313 specify subsets, (e.g. /usr/local /home ) being sure to put a space … … 341 341 producing reliable kernels. If you are using Gentoo or LFS 342 342 then your kernel might be non-standard, in which case say 'no' to 343 use Mondo's failsafe kernel .343 use Mondo's failsafe kernel (provided separately). 344 344 </entry> 345 345 </row> … … 700 700 drives. That works for most drives but some drives just don't like 701 701 that.</para> 702 <para> I have tested it thousands of times on my own computer with703 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. 703 It worked for them. 704 704 Thousands of users testify to Mondo's stability and its ease of 705 705 use. However, please test it on your own system before you rely on … … 792 792 <para>Please bear in mind that Mondo was written for Linux users. 793 793 If Mondo does not backup or restore your Windows system well, you 794 might want to consider paying for 1-to-1 technical support. 795 Ironically, the only people to pay for 1-to-1 technical support 796 have been Linux users, whereas Windows users want a free ride. That 797 is one reason why the Linux community gives me warm fuzzies.</para> 794 might want to consider reporting it to the &ML; 795 </para> 798 796 </sect2> 799 797 </sect1> … … 802 800 <title>Mondo Rescue and Mindi Linux 803 801 History</title> 804 <para>Mondo Rescue was created in December 1999 as a utility to802 <para>Mondo Rescue was created in December 1999 by Hugo Rabson as a utility to 805 803 clone Linux/Windows installations. Norton Ghost would not do the 806 job, and my boss wanted to jump on the Linux bandwagon. So, Iwrote804 job, and his boss wanted to jump on the Linux bandwagon. So, he wrote 807 805 a few scripts and shoehorned them into the latest Linux-Mandrake 808 806 CD. Since that time, Mondo grew into a disaster recovery suite for 809 Linux and Windows. Mondo forced me to learn about the kernel, its 810 initrd initial ramdisk, modules, library dependencies, disk 811 partitioning, and the myriad differences between the Top 10 Linux 812 distributions.</para> 813 <para> 814 a few scripts and shoehorned them into the latest Linux-Mandrake 815 CD. Since that time, Mondo grew into a disaster recovery suite for 816 Linux and Windows. Mondo forced me to learn about the kernel, its 807 Linux and Windows. Mondo forced him to learn about the kernel, its 817 808 initrd initial ramdisk, modules, library dependencies, disk 818 809 partitioning, and the myriad differences between the Top 10 Linux … … 826 817 efficient, stable, comes with source code, and is being actively 827 818 developed 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> 828 825 </sect1> 829 826 830 827 <sect1 id="overview-sysreq"> 831 <title>System 832 Requirements</title> 828 <title>System Requirements</title> 833 829 <sect2 id="overview-sysrq-hwreq"> 834 830 <title>Hardware Requirements</title> … … 837 833 <itemizedlist> 838 834 <listitem> 839 <para>Intel(R)-compatible CPU</para>835 <para>Intel(R)-compatible CPU (ia32, x86_64/amd64 or ia64)</para> 840 836 </listitem> 841 837 <listitem> … … 895 891 </listitem> 896 892 </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's900 requirements then there is something wrong with it. Mondo's demands901 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> 902 898 <para>Mondo (specifically Mindi) does not require any specific 903 module s. It does require that your kernel support the initrd899 module. It does require that your kernel support the initrd 904 900 initial ramdisk facility. Typically this is supported by the Linux 905 901 kernel. Modules used are needed to support the CD, floppy disks, … … 910 906 <sect2 id="overview-sysrq-swreq"> 911 907 <title>Software Requirements</title> 912 <para>See Mondo's <ulink url=" ../download.html">Download908 <para>See Mondo's <ulink url="http://www.mondorescue.org/download.html">Download 913 909 page</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, 915 911 isolinux/syslinux, lzo (optional), lzop (optional), mkisofs, slang, 916 912 and a few other packages.</para> … … 940 936 <entry> 941 937 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 948 the program into /usr/local/sbin</para> 949 <para>Or, if you are installing from an RPM/deb then copy it to 951 950 wherever you have enough space, for example /tmp and type:</para> 952 951 <para></para> … … 955 954 <entry> 956 955 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> 956 bash# rpm -Uvh /tmp/mindi-1.x-x.i386.rpm 957 958 or 959 960 bash# 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 967 the program into /usr/sbin. 968 </para> 985 969 </sect1> 986 970 … … 994 978 <entry> 995 979 996 bash# cd /tmpbash# tar -zxvf mondo-1.xx.tgzbash# cd mondo-1.xxbash# make && make install 997 998 </entry> 999 </row> 1000 </tbody></tgroup></informaltable> 1001 1002 <para>This installs mondo into /usr/local/share/mondo and installs 1003 links to the programs into /usr/local/bin</para> 1004 <para>Or, if you are installing from an RPM then copy it to copy it 980 bash# cd /tmp 981 bash# tar -zxvf mondo-2.xx.tgz 982 bash# cd mondo-2.xx 983 bash# make && make install 984 985 </entry> 986 </row> 987 </tbody></tgroup></informaltable> 988 989 <para>This installs mondo into /usr/local/lib/mondo and installs 990 the programs into /usr/local/sbin</para> 991 <para>Or, if you are installing from an RPM/deb then copy it to copy it 1005 992 to wherever you have enough space, for example /tmp and 1006 993 type:</para> … … 1010 997 <entry> 1011 998 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> 999 bash# rpm -Uvh /tmp/mondo-2.x-x.i386.rpm 1000 1001 or 1002 1003 bash# 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 1010 the programs into /usr/sbin</para> 1035 1011 </sect1> 1036 1012 </chapter> … … 1054 1030 <itemizedlist> 1055 1031 <listitem> 1056 <para> read/var/log/mindi.log</para>1032 <para>less /var/log/mindi.log</para> 1057 1033 </listitem> 1058 1034 <listitem><para>feel free to edit mindi (it's a shell script, btw) to try … … 1079 1055 <entry> 1080 1056 1081 Mindi Linux mini-distro generator v0.72 by HRabson <hugorabson@msn.com>-------------------------- 1082 ----------------------------------------------------Do you want to use your own kernel to build the boo 1083 t disk (y/n) ? yYour kernel is /boot/vmlinuz-2.4.14-k6 (v2.4.14-k6)Generating list of dependency files. 1084 ....................... Done.Analyzing your keyboard's configuration.Adding the following keyboard mapp 1085 ing tables:................... DoneDropping i686-optimized libraries if appropriate.............DoneAss 1086 embling dependency files........ Done.The files have been subdivided into 2 directories.Your mountlist 1087 will look like this:-DEVICE MOUNTPOINT FORMAT SIZE (MB)/dev/hda3 / ext2 996/dev/hda2 swap swap 127/dev/ 1088 hda4 /usr ext2 6189Tarring and zipping the groups......... Done.Creating data disk #1...#2... Done.1722 1089 KB boot disk was created OK............................ Done.2880KB boot disk was created OK........... 1090 ................. Done.In the directory '/root/images/mindi' you will find the images:-mindi-boot.1722. 1091 img mindi-boot.2880.img mindi-data-1.img mindi-data-2.imgWould you like to create boot+data floppy disk 1092 s now (y/n) ?yWARNING! THIS WILL ERASE YOUR FLOPPY DISKS.About to write boot disk. Please press ENTER.W 1093 riting boot disk.................................................. Done.About to write data disk #1. Pl 1094 ease press ENTER.Writing data disk #1........................... Done.About to write data disk #2. Plea 1095 se press ENTER.Writing data disk #2........................... Done.Shall I make a bootable CD image? ( 1096 y/n) yFinished.One 1.72MB boot disk, one 2.88MB boot disk and 2 data disks were created. 1097 1057 # mindi 1058 Mindi Linux mini-distro generator v1.06-r343 1059 1060 Latest Mindi is available from http://mondorescue.berlios.de 1061 1062 BusyBox sources are available from http://www.busybox.net 1063 1064 ------------------------------------------------------------------------------ 1065 Do you want to use your own kernel to build the boot disk (y/n) ?y 1066 Would you like to use LILO (instead of syslinux) 1067 for your boot CD/floppies (y/n) ?n 1068 Analyzing dependency requirements Done. 1069 Making complete dependency list Done. 1070 Analyzing your keyboard's configuration. 1071 1072 Adding the following keyboard mapping tables: us-latin1 Done. 1073 Assembling dependency files................................................................... Done. 1074 The 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 1092 Tarring and zipping the groups.................. Done. 1093 Creating data disk #1...#2...#3...#4...#5... Done. 1094 Making 1722KB boot disk...........................1440+0 enregistrements lus. 1095 1440+0 enregistrements écrits. 1096 mke2fs 1.38 (30-Jun-2005) 1097 cp: écriture de `vmlinuz': Aucun espace disponible sur le périphérique 1098 Failed to copy /boot/vmlinuz-2.6.12-15mdk-i686-up-4GB to ramdisk 1099 1100 Warning - failed to create 1.44MB boot/root floppies 1101 1102 Warning - failed to create 1.72MB boot image. Please reduce your kernel's size 1103 1104 if you want to make a 1.72MB floppy disk. 1105 1106 Making 2880KB boot disk...........................mkfs.vfat 2.10 (22 Sep 2003) 1107 ... 2880 KB boot disks were created OK Done. 1108 In 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 1110 Would you like to create boot+data floppy disks now (y/n) ?n 1111 Shall I make a bootable CD image? (y/n) y 1112 NB: Mindi's bootable CD always uses isolinux. 1113 1114 For a bootable CD w/LILO, please use Mondo. 1115 1116 Finished. 1117 1118 Boot and data disk images were created. 1119 1120 # 1121 1098 1122 </entry> 1099 1123 </row> … … 1112 1136 <entry> 1113 1137 1114 bash# cd /root/images/mindibash# cdrecord -scanbus 1138 bash# cd /root/images/mindi 1139 bash# cdrecord -scanbus 1115 1140 1116 1141 </entry> … … 1130 1155 <entry> 1131 1156 1132 bash# cdrecord - blankfast dev=x,x,x speed=4 mindi.iso (for CD-RW)1157 bash# cdrecord -v blank=fast dev=x,x,x speed=4 mindi.iso (for CD-RW) 1133 1158 1134 1159 </entry> … … 1142 1167 <entry> 1143 1168 1144 bash# cdrecord dev=x,x,x speed=4 mindi.iso (for CD-R)1169 bash# cdrecord -v dev=x,x,x speed=4 mindi.iso (for CD-R) 1145 1170 1146 1171 </entry> … … 1161 1186 <sect1 id="backup-recommandations"> 1162 1187 <title>Recommandations</title> 1163 <para>Mama does Mondo? Papa does Mondo? Is that a Dean Martin song?1164 Well, anyway, here is how I backup my system:</para>1165 1188 <itemizedlist> 1166 1189 <listitem> 1167 1190 <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> 1169 1194 </listitem> 1170 1195 <listitem> … … 1193 1218 <entry> 1194 1219 1195 bash# mondoarchive -Ow 4-gF -I /home1196 1197 </entry> 1198 </row> 1199 </tbody></tgroup></informaltable> 1200 1201 <para> Cdrecord will tell me where myCD recorder lives, in SCSI1202 terms, which in my case is '0,0,0'. Thecall to mondoarchive tells1203 Mondo t hat I want to backup everything to a 4x CD-RW drive that has1220 bash# 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 1227 terms, which looks like '0,0,0'. The previous call to mondoarchive tells 1228 Mondo to backup everything to a 4x CD-RW drive that has 1204 1229 a CD-RW disk in it. (Use -Oc instead of -Ow if you are using 1205 1230 CD-R.)</para> … … 1209 1234 write the first (or any) disk, it will offer to retry, abort or 1210 1235 fail.</para> 1211 <para>I run Mondo at the highest compression available ('-9) and 1212 then go to work. I then walk home at lunch (I live right by my 1213 workplace), change CD, eat lunch, and go back to work. When I get 1214 home, it has all been done.</para> 1215 <para>Your mileage may vary. Experiment. Find the speed/compression 1216 compromise that best suits your needs.</para> 1236 <para>Find the speed/compression 1237 compromise that best suits your needs. Here maximum (-9) compression level is used.</para> 1217 1238 <para>If you are using cron then please use -F to make sure that 1218 1239 Mondo does not prompt you to create bootable floppy disks. Cron … … 1221 1242 information. Jesse Keating has written a script for cron/Mondo 1222 1243 users. 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> 1224 1245 page.</para> 1225 1246 </sect1> … … 1246 1267 <entry> 1247 1268 1248 bash# mondoarchive -E /mnt/dos /mnt/cdrom-9 -Oc 81269 bash# mondoarchive -E "/mnt/dos /mnt/cdrom" -9 -Oc 8 1249 1270 1250 1271 </entry> … … 1253 1274 1254 1275 <para>Would create backup CD to a CD-R disc at the highest 1255 compression level, writing at speed 2and ignoring the /mnt/dos and1276 compression level, writing at speed 8 and ignoring the /mnt/dos and 1256 1277 /mnt/cdrom directories.</para> 1257 1278 <para>To see a detailed list of switches and their meaning, see the … … 1272 1293 </tbody></tgroup></informaltable> 1273 1294 1274 <para>Replace '2' in '-Oc 2' with the writer's speed. If1295 <para>Replace '2' in '-Oc 2' with the writer's speed. If 1275 1296 mondoarchive cannot find your CD-R then please add '-d 0,0,0' (or 1276 1297 whatever your CD writer's SCSI node is; usually, it is 0,0,0) to … … 1293 1314 </tbody></tgroup></informaltable> 1294 1315 1295 <para>Replace '2' in '-Ow 2' with the writer's speed.</para>1316 <para>Replace '2' in '-Ow 2' with the writer's speed.</para> 1296 1317 </sect2> 1297 1318 <sect2 id="backup-cmd-tape"> … … 1308 1329 </tbody></tgroup></informaltable> 1309 1330 1310 <para>With previous versions of Mondo, you needed to specify the1311 size of the tape. As of v1.51, that is no longer necessary.</para>1312 1331 </sect2> 1313 1332 <sect2 id="backup-cmd-failsafe"> … … 1324 1343 </tbody></tgroup></informaltable> 1325 1344 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> 1329 1349 </sect2> 1330 1350 <sect2 id="backup-cmd-network"> … … 1335 1355 <entry> 1336 1356 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 1339 1360 1340 1361 </entry> … … 1344 1365 <para>The resultant ISO's can be burned to CD's if you want (which 1345 1366 isn't a good idea unless you're a Mondo expert because they'll try 1346 to restore over a network by default, which is silly costhe1367 to restore over a network by default, which is silly because the 1347 1368 archives are on the CD's). Or, you can boot from the Mindi floppies 1348 1369 (or mondorescue.iso) and hit ENTER a few times to restore.</para> 1370 <para>Those ISO images can also be used for a PXE restore. For this 1371 to work, please refer to the file README.pxe provided with 1372 your mindi package. 1349 1373 </sect2> 1350 1374 </sect1> … … 1368 1392 <entry> 1369 1393 1370 bash#compare1394 LILO: compare 1371 1395 1372 1396 </entry> … … 1402 1426 <para>I hope you don't have to restore from scratch very often. 1403 1427 It's nerve-wracking until you realize that Mondo's restore engine 1404 is very reliable. I backup and restore my system 2 or 3 times a 1405 week as part of the testing process. I have no other backup regime, 1406 so it had better work.</para> 1428 is very reliable. 1429 </para> 1407 1430 <para>If you find that you cannot make your PC boot from the CD, 1408 1431 take heart: the first backup CD of each set contains floppy disk … … 1478 1501 <entry> 1479 1502 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 1481 1508 1482 1509 </entry> … … 1487 1514 <listitem> 1488 1515 <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 the1516 a floppy (or to your hard disk, USB key, ...), gzip it and e-mail it to the 1490 1517 &ML;.</para> 1491 1518 </listitem> … … 1502 1529 <itemizedlist> 1503 1530 <listitem> 1531 <para>Use the -H option when invoking mondoarchive</para> 1532 </listitem> 1533 <listitem> 1504 1534 <para>Boot from the first Mondo CD</para> 1505 1535 </listitem> 1506 1536 <listitem> 1507 <para>Press <enter></para>1537 <para>Press RESTORE<enter></para> 1508 1538 </listitem> 1509 1539 <listitem> … … 1526 1556 restoring, press <Alt><left cursor> to view its 1527 1557 logfile, in a virtual console, scrolling past.</para> 1528 </sect2><sect2> 1558 </sect2> 1559 <sect2> 1529 1560 <title>Interactive Restore</title> 1530 1561 <para>Interactive Mode is for people who have lost a subset of data … … 1547 1578 <para>If you are planning to modify your partition table, you would 1548 1579 do well to read up on the partition layout and the use of fdisk, it 1549 gives you some couldpointers on how to best lay out partitions.1550 You can find good guide her.1580 gives you some pointers on how to best lay out partitions. 1581 You can find a good guide at 1551 1582 <ulink url="http://www.ibiblio.org/pub/Linux/docs/HOWTO/mini/Partition/index.html">http://www.ibiblio.o 1552 1583 rg/pub/Linux/docs/HOWTO/mini/Partition/index.html</ulink></para> … … 1581 1612 <entry> 1582 1613 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 1586 1620 1587 1621 </entry> … … 1596 1630 do well to read up on the partition layout and the use of fdisk, it 1597 1631 gives you some could pointers on how to best lay out partitions. 1598 You can find good guide her.1632 You can find good a guide at 1599 1633 <ulink url="http://www.ibiblio.org/pub/Linux/docs/HOWTO/mini/Partition/index.html">http://www.ibiblio.o 1600 1634 rg/pub/Linux/docs/HOWTO/mini/Partition/index.html</ulink></para> … … 1685 1719 <entry> 1686 1720 1687 /dev/hda1/mnt/windows vfat 4096000/dev/hda5 / reiserfs 6023000>/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 1689 1725 1690 1726 </entry> … … 1713 1749 <entry> 1714 1750 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 1717 1756 1718 1757 </entry> … … 1730 1769 <entry> 1731 1770 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 1734 1776 1735 1777 </entry> … … 1866 1908 screen errors which relate to the creation of boot disk(s) and or 1867 1909 data disk(s) to a text file.</para> 1868 <para>See the <ulink url="http://www.mondorescue.org">web 1869 site</ulink> for details. If you are going to e-mail 1870 <ulink url="../../feedback/feedback.html">the list</ulink> then 1871 please attach that text file (zipped!) and tell me:</para> 1910 <para>See the &WWW; for details. If you are going to e-mail 1911 &ML; then 1912 please attach that text file (zipped!) and give :</para> 1872 1913 <itemizedlist> 1873 1914 <listitem> … … 1878 1919 </listitem> 1879 1920 <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. 1889 1928 When you e-mail the &ML;, please bear that in mind.</para> 1890 1929 </sect1> … … 1898 1937 <para>A: Mindi, a.k.a. Mindi-Linux, makes a mini-distribution from 1899 1938 your kernel, modules, modules, tools and libraries. It can also 1900 generate an El Torito 2.88 MB boot disk image. Mondo uses Mindi to1939 generate an El Torito 2.88/5.76MB boot disk image. Mondo uses Mindi to 1901 1940 create a mini-distro, then boots from it and runs on it.</para> 1902 1941 </answer> … … 1906 1945 <answer> 1907 1946 <para>A: The Teenage Mutant Ninja Turtles described cool things as 1908 'mondo'. Iwasn't sure what to call this project. 'Faust' was one1909 idea I had, partly as a dig at myformer boss who practically owned1910 me because of my legal status at the time. In the end, Ichose1947 'mondo'. Hugo Rabson wasn't sure what to call this project. 'Faust' was one 1948 idea he had, partly as a dig at his former boss who practically owned 1949 him because of his legal status at the time. In the end, He chose 1911 1950 something short and distinctive.</para> 1912 1951 </answer> … … 1916 1955 keels over and dies. What's wrong?</para></question> 1917 1956 <answer> 1918 <para>A: It works on Red Hat 7.x, Linux-Mandrake 8.x, someflavors1919 of SuSE, some flavors of Slackware, some flavors of Debian, etc.1920 The more distributions I support, the more moving targets Ihave to1957 <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. 1959 The more distributions we support, the more moving targets we have to 1921 1960 hit. Please bear this in mind when e-mailing the list. :) If you 1922 would like to help meby beta-testing Mondo (or Mindi) on your PC1923 then Iwould be very interested in working with you to work around1961 would like to help us by beta-testing Mondo (or Mindi) on your PC 1962 then we would be very interested in working with you to work around 1924 1963 the eccentricities of your Linux distro. However, rest assured, 90% 1925 of the bugs reported to meare actually symptoms of FooLinux X.Y's1964 of the bugs reported are actually symptoms of FooLinux X.Y's 1926 1965 unique way of doing things.</para> 1966 <para>Please send a copy of <filename>/var/log/mondo-archive.log</filename> to the &ML; 1967 along with a description of your distro, your kernel, etc. 1968 Oh, and before sending it, please try to read it.</para> 1927 1969 </answer> 1928 1970 </qandaentry> … … 1930 1972 <question><para>Q: What if the error is in Mindi?</para></question> 1931 1973 <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; 1975 along with a description of your distro, your kernel, etc. 1976 Oh, and before sending it, please read it asit's much easier to understand it.</para> 1935 1977 </answer> 1936 1978 </qandaentry> … … 1938 1980 <question><para>Q: Can I trust Mondo?</para></question> 1939 1981 <answer> 1940 <para>A: Mondo has generated reliable archives since May 2000. I1941 have lost databy using bad CD-R disks and not verifying their1982 <para>A: Mondo has generated reliable archives since May 2000. 1983 Lost data occured by using bad CD-R disks and not verifying their 1942 1984 contents. Some users have not tried booting from their CD until 1943 1985 crunch time. Remember to boot into Compare Mode to verify the … … 1946 1988 the culprit. Check <link linkend="overview-sysrq-kernelreq">Linux Kernel 1947 1989 support</link> to see what your kernel should support. Please 1948 e-mail the list (or me)if you need some help with this.</para>1990 e-mail the list if you need some help with this.</para> 1949 1991 </answer> 1950 1992 </qandaentry> … … 1952 1994 <question><para>Q: How do I report a bug?</para></question> 1953 1995 <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. 1998 If you don't send a logfile then there isn't a lot that we can do for you, so 1999 PLEASE include a logfile at the very least.</para> 1960 2000 </answer> 1961 2001 </qandaentry> … … 1966 2006 <answer> 1967 2007 <para>A: Absolutely! :-) The best way for you to make Mondo do what 1968 you want is to modify it and then send methe patch. That way, we2008 you want is to modify it and then send the patch. That way, we 1969 2009 can all benefit.</para> 1970 2010 </answer> … … 1975 2015 please?</para></question> 1976 2016 <answer> 1977 <para>A: I'll definitely think about it. Would you like to1978 help?</para>2017 <para>A: please enter the suggestion in our feature system at &WWW; 2018 </para> 1979 2019 </answer> 1980 2020 </qandaentry> … … 1996 2036 <answer> 1997 2037 <para>A: Yes, up to twenty CD per set. This 20-CD limit results 1998 from laziness on m y part. I can remove it at any time. However, if1999 your system occupies more than 20 CD, may I recommend that you2000 invest in a tape streamer?</para>2038 from laziness on mondorescue's part. I'll be removed in the future. However, if 2039 your system occupies more than 20 CD, may it's time for another type of media ? 2040 </para> 2001 2041 </answer> 2002 2042 </qandaentry> … … 2015 2055 systems?</para></question> 2016 2056 <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> 2022 2059 </answer> 2023 2060 </qandaentry> … … 2025 2062 <question><para>Q: Does Mondo support LVM?</para></question> 2026 2063 <answer> 2027 <para>A: Mondo supports LVM , yes. Mondo backs up and restores your2064 <para>A: Mondo supports LVM v1 and v2. Mondo backs up and restores your 2028 2065 existing setup but it does not make it easy for you to change your 2029 LVM configuration . You have to edit /tmp/i-want-my-lvmat boot-time2066 LVM configuration, at the moment. You have to edit <filename>/tmp/i-want-my-lvm</filename> at boot-time 2030 2067 to do that.</para> 2031 2068 </answer> … … 2039 2076 </qandaentry> 2040 2077 <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 you2045 just installed from tarball.) Your compiler or your libraries may2046 be fubar. We'll see. If that doesn't work then please e-mail the2047 &ML;.</para>2048 </answer>2049 </qandaentry>2050 <qandaentry>2051 2078 <question><para>Q: I get the error, 'Cannot find 2052 2079 /tmp/dev.0' or 'Cannot mount device 0x0701'; what do I do?</para></question> 2053 2080 <answer> 2054 <para>A: Please free up /dev/loop0using 'losetup /dev/loop0 -d' to2081 <para>A: Please free up <filename>/dev/loop0</filename> using 'losetup /dev/loop0 -d' to 2055 2082 unmount that loop device. If your OS will not let you do that, 2056 2083 contact your local support group or Linux vendor.</para> … … 2071 2098 <question><para>Q: Why do you insist on putting floppy 2072 2099 disk images on Mondo CD? They waste space and I never use them. The 2073 CD works just fine, so why keep the floppy disk images?</para></question> 2074 <answer> 2075 <para>A: Because of my old college buddy, Justin Case. If you 2100 CD 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 2076 2104 really, truly want them gone then please submit a patch to make 2077 </para> 2078 </answer> 2079 </qandaentry> 2080 <qandaentry> 2081 <question><para>Q: Why do you insist on putting floppy 2082 disk images on Mondo CD? They waste space and I never use them. The 2083 CD works just fine, so why keep the floppy disk images?</para> 2084 <para>A: Because of my old college buddy, Justin Case. If you 2085 really, truly want them gone then please submit a patch to make 2086 them optional.</para></question> 2087 <answer> 2088 </answer> 2105 them optional.</para> 2106 </answer> 2089 2107 </qandaentry> 2090 2108 <qandaentry> … … 2112 2130 <qandaset> 2113 2131 <qandaentry> 2114 <question><para>Q: How do I know if Mondo works with my2115 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">Documentation2119 page</ulink>, too.</para>2120 </answer>2121 </qandaentry>2122 <qandaentry>2123 2132 <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 Debian2133 it says, "VFS: Unable to mount root fs." I am using an old Debian 2125 2134 distro. What do I do?</para></question> 2126 2135 <answer> … … 2129 2138 kernel. In the meantime, please use '-k FAILSAFE' in your command 2130 2139 line when calling Mondo.</para> 2140 <para>A: Upgrade to Sarge as it's fairly well supported by Andree Leidenfrost</para> 2131 2141 </answer> 2132 2142 </qandaentry> … … 2157 2167 blames the kernel. What does that mean?</para></question> 2158 2168 <answer> 2159 <para>A: Your kernel must support initrd, loopfs, IDECD-ROM's, and2169 <para>A: Your kernel must support initrd, loopfs, IDE|SCSI|USB CD-ROM's, and 2160 2170 ramdisks. Take a look at <link linkend="overview-sysrq-kernelreq">Linux 2161 2171 Kernel support</link> to see what you're kernel must support. If … … 2188 2198 could use Mondo despite flaws in their own kernels. If you are 2189 2199 using Mondo/Mindi's kernel but still cannot boot from your Mondo CD 2190 then please e-mail the list.</para>2200 then please e-mail the &ML;.</para> 2191 2201 </answer> 2192 2202 </qandaentry> … … 2202 2212 /mnt/cdrom' and then utilize the restore script as usual, e.g. 2203 2213 mondorestore.</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> 2204 2216 </answer> 2205 2217 </qandaentry> … … 2207 2219 <question><para>Q: But why won't Mondo boot from my CD? 2208 2220 It says my kernel is flawed/outdated/ whatever, and when I wrote to 2209 you, youtold me the same thing... but I still don't get it. I2221 the ML, they told me the same thing... but I still don't get it. I 2210 2222 mean, my kernel works for everything else. Why not Mondo?</para></question> 2211 2223 <answer> … … 2227 2239 respective jobs then you won't need additional floppies, just the 2228 2240 boot 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> 2229 2243 </answer> 2230 2244 </qandaentry> … … 2252 2266 at <link linkend="overview-sysrq-kernelreq">Linux Kernel support</link>to 2253 2267 see what you're kernel must support.</para> 2268 </answer> 2269 <question> 2254 2270 <para><anchor id="COPYBOOTDATADISK"/>Q: How do i copy boot+data 2255 2271 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 2257 2275 created by Mondo) and also in the 'images' directory on the first 2258 2276 CD of your backup set, if you have backed up to CD. You can copy … … 2261 2279 <row> 2262 2280 <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. 2267 2288 2268 2289 </entry> … … 2277 2298 <answer><para>A: Play with 'mt'. Use its setblksize and 2278 2299 defblksize switches to reconfigure your tape drive if necessary. 2279 Some tape drives just suck, I'm sorry to say. If yours is one of2300 Some tape drives just are painful. If yours is one of 2280 2301 them then God help you. Mondo can handle any tape drive whose drive 2281 and firmware can handle f read(), fwrite(), fread() and fclose().2302 and firmware can handle fopen(), fwrite(), fread() and fclose(). 2282 2303 Mondo uses standard C libraries to talk to your tape streamer. If 2283 2304 your tape streamer can't handle that then you had better call a … … 2330 2351 <answer> 2331 2352 <para> 2332 A: Install them. :) If you are using RPM or DEB2353 A: Install them. :) If you are using RPM or deb 2333 2354 then you'll be told which packages you need. Mondo offers a lot of 2334 2355 those packages on its … … 2383 2404 <entry> 2384 2405 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 2386 2408 2387 2409 </entry> … … 2415 2437 </qandaentry> 2416 2438 <qandaentry> 2417 <question><para>Q: Does Mondo support RAID?</para></question>2439 <question><para>Q: Does Mondo support Hardware RAID?</para></question> 2418 2440 <answer> 2419 2441 <para>A: Yes. You may backup and restore RAID systems. You may also … … 2422 2444 partitions and their settings. Mondo will do the partitioning and 2423 2445 formatting 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> 2424 2448 </answer> 2425 2449 </qandaentry> … … 2443 2467 the switch '-Oc <speed>' -d '<device>'. Or, if you feel 2444 2468 lucky, just use '-Oc 2'; Mondo will (a) assume you want to write at 2445 4x to</para> 2446 <para>a CD-R and (b) will do its best to find your CD 2447 burner.</para> 2469 4x to a CD-R and (b) will do its best to find your CD burner.</para> 2448 2470 </answer> 2449 2471 </qandaentry> … … 2468 2490 <answer> 2469 2491 <para> 2470 A: Look at /var/log/mindi.logand see what it2492 A: Look at <filename>/var/log/mindi.log</filename> and see what it 2471 2493 says. Also, try typing 'mindi --makemountlist /tmp/mountlist.txt' 2472 to see what Mindi says. Compress the log and send itto the &ML; if you get stuck.2494 to see what Mindi says. Send the log to the &ML; if you get stuck. 2473 2495 </para> 2474 2496 </answer> … … 2480 2502 <para>A: Yes. Use the '-Oc <speed>' switch. Use a negative 2481 2503 number for a dummy burn.</para> 2482 </answer>2483 </qandaentry>2484 <qandaentry>2485 <question><para>Q: When I try to backup to CD,2486 cdrecord/mkisofs returns an error. Nothing else appears to be2487 wrong. What do I do?</para></question>2488 <answer>2489 <para>A: Upgrade cdrecord and mkisofs.</para>2490 2504 </answer> 2491 2505 </qandaentry> … … 2525 2539 space?</para></question> 2526 2540 <answer> 2527 <para>A: Because I'm a bitter, twisted man who lives to torment 2528 you. Mwahahahaha! :-) Mondo has to work around the inadequacies of 2529 mkisofs, cdrecord and your own Linux distribution; in return, it 2530 asks for a lot of free disk space.</para> 2531 </answer> 2532 </qandaentry> 2533 <qandaentry> 2534 <question><para>Q: Will Mondo backup partitions whose 2535 formats are not understood by Linux, such as NTFS?</para></question> 2536 <answer> 2537 <para>A: Yes. Use '-x <device>'. (You can have more than one 2538 device.)</para> 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> 2539 2544 </answer> 2540 2545 </qandaentry> … … 2545 2550 <answer> 2546 2551 <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> 2549 2555 </answer> 2550 2556 </qandaentry> … … 2564 2570 partition, i.e. backup over a network? How about restoring?</para></question> 2565 2571 <answer> 2566 <para>A: Yes. Use '-On <mount> <directory>'. On my 2567 system, I use:</para> 2568 <para></para> 2572 <para>A: Yes. Use '-On <mount> <directory>'. Example: 2573 </para> 2569 2574 <informaltable><tgroup cols="1"><tbody> 2570 2575 <row> … … 2584 2589 <answer> 2585 2590 <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 and2590 MSDOS.SYS in mondo-vfat, when they belong to Microsoft and are2591 copyrighted?</para></question>2592 <answer>2593 <para>A: Well, I used to, but I don't anymore. However, if you do2594 have a Windows partition, you can still use 'format-and-kludge-vfat2595 <DEVICE>/' to format and make bootable a VFAT partition.2596 AFAIK, I am the only person to write a Linux equivalent of the DOS2597 "SYS" command.</para>2598 2591 </answer> 2599 2592 </qandaentry> … … 2610 2603 archives bad?</para></question> 2611 2604 <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, 2613 2606 temp files or files which you think you may have changed recently 2614 2607 then the archives are simply out of date, albeit only by a few … … 2617 2610 tapes or even your hardware could be to blame. Check your CD writer 2618 2611 or tape streamer.</para> 2619 <para>Also, don't forget to review /var/log/mondo-archive.logfor2612 <para>Also, don't forget to review <filename>/var/log/mondo-archive.log</filename> for 2620 2613 more information.</para> 2621 2614 </answer> -
trunk/mindi-kernel/mindi-kernel.spec
r295 r350 8 8 Version: 1.06 9 9 Release: %mrel 10 Copyright: GPL10 License: GPL 11 11 Group: System/Kernel and hardware 12 12 Url: http://www.mondorescue.org -
trunk/mindi/.config-busybox-i386
r30 r350 13 13 # CONFIG_FEATURE_INSTALLER is not set 14 14 CONFIG_LOCALE_SUPPORT=y 15 CONFIG_FEATURE_DEVFS=y 15 # CONFIG_FEATURE_DEVFS is not set 16 16 CONFIG_FEATURE_DEVPTS=y 17 17 # CONFIG_FEATURE_CLEAN_UP is not set 18 18 # CONFIG_FEATURE_SUID is not set 19 # CONFIG_FEATURE_SUID_CONFIG is not set 20 # CONFIG_FEATURE_SUID_CONFIG_QUIET is not set 19 21 # CONFIG_SELINUX is not set 20 22 … … 25 27 CONFIG_LFS=y 26 28 # USING_CROSS_COMPILER is not set 29 CROSS_COMPILER_PREFIX="" 27 30 EXTRA_CFLAGS_OPTIONS="" 31 CONFIG_FEATURE_SUSv2=y 32 CONFIG_FEATURE_SUSv2_OBSOLETE=y 28 33 29 34 # … … 31 36 # 32 37 # CONFIG_INSTALL_NO_USR is not set 38 CONFIG_INSTALL_APPLET_SYMLINKS=y 39 # CONFIG_INSTALL_APPLET_HARDLINKS is not set 40 # CONFIG_INSTALL_APPLET_DONT is not set 33 41 PREFIX="./_install" 34 42 … … 37 45 # 38 46 # CONFIG_AR is not set 47 # CONFIG_FEATURE_AR_LONG_FILENAMES is not set 39 48 CONFIG_BUNZIP2=y 40 49 CONFIG_CPIO=y 41 50 # CONFIG_DPKG is not set 42 51 # CONFIG_DPKG_DEB is not set 52 # CONFIG_FEATURE_DPKG_DEB_EXTRACT_ONLY is not set 43 53 CONFIG_GUNZIP=y 44 54 CONFIG_FEATURE_GUNZIP_UNCOMPRESS=y … … 61 71 # Common options for cpio and tar 62 72 # 63 # CONFIG_FEATURE_UNARCHIVE_TAPE is not set 73 CONFIG_FEATURE_UNARCHIVE_TAPE=y 74 # CONFIG_FEATURE_DEB_TAR_GZ is not set 75 # CONFIG_FEATURE_DEB_TAR_BZ2 is not set 64 76 65 77 # … … 74 86 CONFIG_CHROOT=y 75 87 CONFIG_CMP=y 88 # CONFIG_COMM is not set 76 89 CONFIG_CP=y 77 90 CONFIG_CUT=y 78 91 CONFIG_DATE=y 92 93 # 94 # date (forced enabled for use with watch) 95 # 79 96 CONFIG_FEATURE_DATE_ISOFMT=y 80 97 CONFIG_DD=y … … 88 105 CONFIG_FEATURE_FANCY_ECHO=y 89 106 CONFIG_ENV=y 90 # CONFIG_EXPR is not set 107 CONFIG_EXPR=y 91 108 CONFIG_FALSE=y 92 109 # CONFIG_FOLD is not set … … 107 124 CONFIG_FEATURE_LS_USERNAME=y 108 125 CONFIG_FEATURE_LS_COLOR=y 126 # CONFIG_FEATURE_LS_COLOR_IS_DEFAULT is not set 109 127 CONFIG_MD5SUM=y 110 128 CONFIG_MKDIR=y … … 112 130 CONFIG_MKNOD=y 113 131 CONFIG_MV=y 114 # CONFIG_OD is not set 132 # CONFIG_NICE is not set 133 # CONFIG_NOHUP is not set 134 CONFIG_OD=y 135 # CONFIG_PRINTENV is not set 115 136 # CONFIG_PRINTF is not set 116 137 CONFIG_PWD=y … … 123 144 # CONFIG_FEATURE_FANCY_SLEEP is not set 124 145 CONFIG_SORT=y 146 CONFIG_FEATURE_SORT_BIG=y 147 # CONFIG_STAT is not set 148 # CONFIG_FEATURE_STAT_FORMAT is not set 125 149 CONFIG_STTY=y 150 # CONFIG_SUM is not set 126 151 CONFIG_SYNC=y 127 152 CONFIG_TAIL=y 128 153 # CONFIG_FEATURE_FANCY_TAIL is not set 129 # CONFIG_TEE is not set 154 CONFIG_TEE=y 155 CONFIG_FEATURE_TEE_USE_BLOCK_IO=y 130 156 CONFIG_TEST=y 131 157 … … 136 162 CONFIG_TOUCH=y 137 163 CONFIG_TR=y 164 CONFIG_FEATURE_TR_CLASSES=y 165 CONFIG_FEATURE_TR_EQUIV=y 138 166 CONFIG_TRUE=y 139 167 CONFIG_TTY=y … … 143 171 # CONFIG_UUDECODE is not set 144 172 # CONFIG_UUENCODE is not set 145 # CONFIG_WATCH is not set 173 CONFIG_WATCH=y 146 174 CONFIG_WC=y 147 175 CONFIG_WHO=y … … 177 205 # CONFIG_DUMPKMAP is not set 178 206 # CONFIG_LOADFONT is not set 179 # CONFIG_LOADKMAP is not set 207 CONFIG_LOADKMAP=y 180 208 CONFIG_OPENVT=y 181 209 CONFIG_RESET=y 182 # CONFIG_SETKEYCODES is not set 210 # CONFIG_SETCONSOLE is not set 211 CONFIG_SETKEYCODES=y 183 212 184 213 # … … 188 217 CONFIG_PIPE_PROGRESS=y 189 218 # CONFIG_READLINK is not set 219 # CONFIG_FEATURE_READLINK_FOLLOW is not set 190 220 # CONFIG_RUN_PARTS is not set 191 221 # CONFIG_START_STOP_DAEMON is not set 192 222 CONFIG_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 193 235 194 236 # … … 221 263 CONFIG_FEATURE_FIND_NEWER=y 222 264 CONFIG_FEATURE_FIND_INUM=y 265 CONFIG_FEATURE_FIND_EXEC=y 223 266 CONFIG_GREP=y 224 267 CONFIG_FEATURE_GREP_EGREP_ALIAS=y … … 229 272 # CONFIG_FEATURE_XARGS_SUPPORT_QUOTES is not set 230 273 # CONFIG_FEATURE_XARGS_SUPPORT_TERMOPT is not set 231 # CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM is not set 274 CONFIG_FEATURE_XARGS_SUPPORT_ZERO_TERM=y 232 275 233 276 # … … 235 278 # 236 279 # 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 237 285 CONFIG_HALT=y 286 CONFIG_MESG=y 238 287 CONFIG_POWEROFF=y 239 288 CONFIG_REBOOT=y 240 CONFIG_MESG=y241 289 242 290 # 243 291 # Login/Password Management Utilities 244 292 # 293 # CONFIG_FEATURE_SHADOWPASSWDS is not set 294 # CONFIG_USE_BB_SHADOW is not set 245 295 # CONFIG_USE_BB_PWD_GRP is not set 246 296 # CONFIG_ADDGROUP is not set … … 249 299 # CONFIG_DELUSER is not set 250 300 # CONFIG_GETTY is not set 251 CONFIG_FEATURE_U_W_TMP=y 301 CONFIG_FEATURE_UTMP=y 302 # CONFIG_FEATURE_WTMP is not set 252 303 # CONFIG_LOGIN is not set 304 # CONFIG_FEATURE_SECURETTY is not set 253 305 # CONFIG_PASSWD is not set 254 306 # CONFIG_SU is not set … … 260 312 # 261 313 # CONFIG_ADJTIMEX is not set 314 # CONFIG_BBCONFIG is not set 262 315 # CONFIG_CROND is not set 316 # CONFIG_FEATURE_CROND_CALL_SENDMAIL is not set 263 317 # CONFIG_CRONTAB is not set 264 318 # 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 268 322 # CONFIG_DEVFSD_VERBOSE is not set 323 CONFIG_EJECT=y 269 324 # CONFIG_LAST is not set 325 CONFIG_LESS=y 326 CONFIG_FEATURE_LESS_BRACKETS=y 327 CONFIG_FEATURE_LESS_FLAGS=y 328 CONFIG_FEATURE_LESS_FLAGCS=y 329 CONFIG_FEATURE_LESS_MARKS=y 330 CONFIG_FEATURE_LESS_REGEXP=y 270 331 # 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 271 338 # 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 272 342 CONFIG_MT=y 343 # BB_APPLET_RUNLEVEL is not set 273 344 # CONFIG_RX is not set 274 345 CONFIG_STRINGS=y 346 # CONFIG_SETSID is not set 275 347 # CONFIG_TIME is not set 276 348 CONFIG_WATCHDOG=y … … 280 352 # 281 353 CONFIG_INSMOD=y 282 CONFIG_FEATURE_2_4_MODULES=y283 CONFIG_FEATURE_2_6_MODULES=y284 354 # CONFIG_FEATURE_INSMOD_VERSION_CHECKING is not set 285 355 # CONFIG_FEATURE_INSMOD_KSYMOOPS_SYMBOLS is not set 286 356 # CONFIG_FEATURE_INSMOD_LOADINKMEM is not set 287 357 # CONFIG_FEATURE_INSMOD_LOAD_MAP is not set 358 # CONFIG_FEATURE_INSMOD_LOAD_MAP_FULL is not set 359 CONFIG_RMMOD=y 288 360 CONFIG_LSMOD=y 361 CONFIG_FEATURE_LSMOD_PRETTY_2_6_OUTPUT=y 289 362 CONFIG_MODPROBE=y 290 CONFIG_RMMOD=y 363 CONFIG_FEATURE_MODPROBE_MULTIPLE_OPTIONS=y 364 365 # 366 # Options common to multiple modutils 367 # 291 368 # CONFIG_FEATURE_CHECK_TAINTED_MODULE is not set 369 CONFIG_FEATURE_2_4_MODULES=y 370 CONFIG_FEATURE_2_6_MODULES=y 371 # CONFIG_FEATURE_QUERY_MODULE_INTERFACE is not set 292 372 293 373 # … … 296 376 # CONFIG_FEATURE_IPV6 is not set 297 377 # CONFIG_ARPING is not set 378 # CONFIG_ETHER_WAKE is not set 379 # CONFIG_FAKEIDENTD is not set 298 380 # CONFIG_FTPGET is not set 299 381 # CONFIG_FTPPUT is not set 300 382 CONFIG_HOSTNAME=y 301 383 # 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 302 393 CONFIG_IFCONFIG=y 303 394 CONFIG_FEATURE_IFCONFIG_STATUS=y … … 307 398 CONFIG_FEATURE_IFCONFIG_BROADCAST_PLUS=y 308 399 # 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 309 406 # 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 310 413 CONFIG_IP=y 311 414 CONFIG_FEATURE_IP_ADDRESS=y … … 329 432 CONFIG_NAMEIF=y 330 433 # CONFIG_NC is not set 434 # CONFIG_NC_GAPING_SECURITY_HOLE is not set 331 435 CONFIG_NETSTAT=y 332 436 CONFIG_NSLOOKUP=y 333 437 CONFIG_PING=y 334 438 CONFIG_FEATURE_FANCY_PING=y 439 # CONFIG_PING6 is not set 440 # CONFIG_FEATURE_FANCY_PING6 is not set 335 441 CONFIG_ROUTE=y 336 # CONFIG_TELNET is not set 442 CONFIG_TELNET=y 443 CONFIG_FEATURE_TELNET_TTYPE=y 444 CONFIG_FEATURE_TELNET_AUTOLOGIN=y 337 445 # 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 447 CONFIG_TFTP=y 448 CONFIG_FEATURE_TFTP_GET=y 449 CONFIG_FEATURE_TFTP_PUT=y 450 CONFIG_FEATURE_TFTP_BLOCKSIZE=y 451 # CONFIG_FEATURE_TFTP_DEBUG is not set 452 CONFIG_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 340 456 # CONFIG_VCONFIG is not set 341 457 CONFIG_WGET=y … … 349 465 # CONFIG_UDHCPD is not set 350 466 CONFIG_UDHCPC=y 467 # CONFIG_DUMPLEASES is not set 351 468 # CONFIG_FEATURE_UDHCP_SYSLOG is not set 352 469 # CONFIG_FEATURE_UDHCP_DEBUG is not set 470 # CONFIG_ZCIP is not set 353 471 354 472 # … … 356 474 # 357 475 CONFIG_FREE=y 476 # CONFIG_FUSER is not set 358 477 CONFIG_KILL=y 359 478 CONFIG_KILLALL=y 360 479 CONFIG_PIDOF=y 480 # CONFIG_FEATURE_PIDOF_SINGLE is not set 481 # CONFIG_FEATURE_PIDOF_OMIT is not set 361 482 CONFIG_PS=y 483 CONFIG_FEATURE_PS_WIDE=y 362 484 CONFIG_RENICE=y 363 # CONFIG_TOP is not set 485 # CONFIG_BB_SYSCTL is not set 486 CONFIG_TOP=y 487 CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE=y 364 488 CONFIG_UPTIME=y 365 CONFIG_SYSCTL=y 366 367 # 368 # Another Bourne-like Shell 489 490 # 491 # Shells 369 492 # 370 493 CONFIG_FEATURE_SH_IS_ASH=y … … 379 502 # 380 503 CONFIG_ASH_JOB_CONTROL=y 504 # CONFIG_ASH_READ_NCHARS is not set 505 # CONFIG_ASH_READ_TIMEOUT is not set 381 506 CONFIG_ASH_ALIAS=y 382 507 CONFIG_ASH_MATH_SUPPORT=y … … 384 509 # CONFIG_ASH_GETOPTS is not set 385 510 # 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 387 513 CONFIG_ASH_OPTIMIZE_FOR_SIZE=y 388 514 # CONFIG_ASH_RANDOM_SUPPORT is not set 515 # CONFIG_ASH_EXPAND_PRMT is not set 389 516 # CONFIG_HUSH is not set 390 517 # CONFIG_LASH is not set … … 397 524 # CONFIG_FEATURE_SH_STANDALONE_SHELL is not set 398 525 CONFIG_FEATURE_COMMAND_EDITING=y 526 # CONFIG_FEATURE_COMMAND_EDITING_VI is not set 399 527 CONFIG_FEATURE_COMMAND_HISTORY=15 400 528 # CONFIG_FEATURE_COMMAND_SAVEHISTORY is not set … … 421 549 CONFIG_DMESG=y 422 550 # CONFIG_FBSET is not set 551 # CONFIG_FEATURE_FBSET_FANCY is not set 552 # CONFIG_FEATURE_FBSET_READMODE is not set 423 553 CONFIG_FDFLUSH=y 424 554 CONFIG_FDFORMAT=y 425 CONFIG_FDISK=y 555 # CONFIG_FDISK is not set 426 556 FDISK_SUPPORT_LARGE_DISKS=y 427 CONFIG_FEATURE_FDISK_WRITABLE=y 557 # CONFIG_FEATURE_FDISK_WRITABLE is not set 428 558 # CONFIG_FEATURE_AIX_LABEL is not set 429 559 # CONFIG_FEATURE_SGI_LABEL is not set … … 434 564 # CONFIG_FSCK_MINIX is not set 435 565 # CONFIG_MKFS_MINIX is not set 566 # CONFIG_FEATURE_MINIX2 is not set 436 567 # CONFIG_GETOPT is not set 437 568 # CONFIG_HEXDUMP is not set 438 569 CONFIG_HWCLOCK=y 439 # CONFIG_FEATURE_HWCLOCK_LONGOPTIONS is not set 570 CONFIG_FEATURE_HWCLOCK_LONGOPTIONS=y 571 CONFIG_FEATURE_HWCLOCK_ADJTIME_FHS=y 572 # CONFIG_IPCRM is not set 573 # CONFIG_IPCS is not set 440 574 CONFIG_LOSETUP=y 575 # CONFIG_MDEV is not set 576 # CONFIG_FEATURE_MDEV_CONF is not set 441 577 CONFIG_MKSWAP=y 442 578 CONFIG_MORE=y 443 579 CONFIG_FEATURE_USE_TERMIOS=y 444 580 CONFIG_PIVOT_ROOT=y 581 # CONFIG_SWITCH_ROOT is not set 445 582 # CONFIG_RDATE is not set 583 # CONFIG_READPROFILE is not set 446 584 CONFIG_SWAPONOFF=y 447 585 CONFIG_MOUNT=y 448 CONFIG_ NFSMOUNT=y586 CONFIG_FEATURE_MOUNT_NFS=y 449 587 CONFIG_UMOUNT=y 450 # CONFIG_FEATURE_MOUNT_FORCE is not set451 588 452 589 # … … 460 597 # 461 598 # 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 44 44 GetValueFromField() { 45 45 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;};}' 47 47 } 48 48 -
trunk/mindi/distributions/common/mindi.spec
r318 r350 19 19 %if %is_redhat 20 20 %define grp Applications/Archiving 21 %define addreq %{addreqb}, which 21 %define addreq %{addreqb}, which, grep >= 2.5 22 22 Autoreq: 0 23 23 %endif … … 25 25 %if %is_mandrake 26 26 %define src %{name}-%{version}.tar.bz2 27 %define addreq %{addreqb}, which 27 %define addreq %{addreqb}, which, grep >= 2.5 28 28 Autoreqprov: no 29 29 %endif … … 31 31 %if %is_mandriva 32 32 %define src %{name}-%{version}.tar.bz2 33 %define addreq %{addreqb}, which 33 %define addreq %{addreqb}, which, grep >= 2.5 34 34 Autoreqprov: no 35 35 %endif -
trunk/mindi/mindi
r317 r350 2945 2945 fi 2946 2946 FixPathIfBroken 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` 2948 2948 AbortIfMkfsVfatMissing 2949 2949 ### BCO
Note:
See TracChangeset
for help on using the changeset viewer.