Changeset 348 in MondoRescue
- Timestamp:
- Jan 27, 2006, 12:51:25 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/documentation/mondorescue-howto.sgml
r331 r348 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>
Note:
See TracChangeset
for help on using the changeset viewer.