Changeset 329 in MondoRescue
- Timestamp:
- Jan 17, 2006, 4:41:32 PM (19 years ago)
- Location:
- branches/2.06/documentation
- Files:
-
- 16 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.06/documentation/mondorescue-howto.sgml
r328 r329 93 93 94 94 95 <chapter id=" about">95 <chapter id="intro"> 96 96 <title>About this Guide</title> 97 97 98 <sect1 id=" purpose">98 <sect1 id="intro-purpose"> 99 99 <title>Purpose / Scope of this Guide</title> 100 100 … … 122 122 </sect1> 123 123 124 <sect1 id=" newversion"><title>New versions of this document</title>124 <sect1 id="intro-newversion"><title>New versions of this document</title> 125 125 126 126 <para>The newest version of this document can always be found on … … 170 170 </sect1> 171 171 172 <sect1 id= thanks><title>Aknowledgements</title>172 <sect1 id=intro-thanks><title>Aknowledgements</title> 173 173 174 174 <para>Thanks goes to these people for helping and adding to this … … 591 591 <chapter id="overview"><title>Overview</title> 592 592 593 <sect1 id=" mondorescue">593 <sect1 id="overview-mondorescue"> 594 594 <title>Mondo Rescue</title> 595 595 <para>Mondo Rescue backs up your file system to CD, tape, NFS … … 652 652 </sect1> 653 653 654 <sect1 id=" mindi">654 <sect1 id="overview-mindi"> 655 655 <title>Mindi</title> 656 656 <para> … … 687 687 688 688 689 <sect1 id=" linuxbackup">689 <sect1 id="overview-linuxbackup"> 690 690 <title>Linux Backup</title> 691 691 <para>Mondo Rescue and Mindi Linux are used primarily as Linux … … 765 765 </sect1> 766 766 767 <sect1 id=" winbackup">767 <sect1 id="overview-winbackup"> 768 768 <title>Windows Backup</title> 769 769 <para>Backing up windows partitions.</para> 770 <sect2 id=" win95"><title>Windows ME/95/98</title>770 <sect2 id="overview-winbackup-win95"><title>Windows ME/95/98</title> 771 771 <para>Verify that the partition is listed in /etc/fstab and is 772 772 mounted (e.g. /dev/hda1). Mondo will take care of everything else. … … 779 779 C: to correct the Windows boot sector.</para> 780 780 </sect2> 781 <sect2 id="winnt"><title>Windows NT4/2K/XP</title> 782 <para>Windows NT4/2K/XP typically use the NTFS file system, not 783 VFAT.. The user should use '-x /dev/hda1' (or whichever device the 784 /dev/hda1. The user will have to boot from a DOS floppy and run SYS 785 C: to correct the Windows boot sector.</para> 786 </sect2><sect2 id="AEN13"><title>3.4.2. Windows NT4/2K/XP</title> 781 <sect2 id="overview-winbackup-winnt"><title>Windows NT4/2K/XP</title> 787 782 <para>Windows NT4/2K/XP typically use the NTFS file system, not 788 783 VFAT.. The user should use '-x /dev/hda1' (or whichever device the … … 799 794 </sect1> 800 795 801 <sect1 id=" history">796 <sect1 id="overview-history"> 802 797 <title>Mondo Rescue and Mindi Linux 803 798 History</title> … … 827 822 </sect1> 828 823 829 <sect1 id=" sysreq">824 <sect1 id="overview-sysreq"> 830 825 <title>System 831 826 Requirements</title> 832 <sect2 id=" hwreq">827 <sect2 id="overview-sysrq-hwreq"> 833 828 <title>Hardware Requirements</title> 834 829 … … 858 853 </sect2> 859 854 860 <sect2 id=" kernelreq">855 <sect2 id="overview-sysrq-kernelreq"> 861 856 <title>Kernel Requirements</title> 862 857 … … 907 902 (static), then it will be available at boot-time by default.</para> 908 903 </sect2> 909 <sect2 id=" swreq">904 <sect2 id="overview-sysrq-swreq"> 910 905 <title>Software Requirements</title> 911 906 <para>See Mondo's <ulink url="../download.html">Download … … 930 925 <title>Installation</title> 931 926 932 <sect1 id=" mindi-install">927 <sect1 id="installation-mindi"> 933 928 <title>Mindi Installation</title> 934 929 <para>If you are installing from a tarball then copy it to wherever … … 984 979 </sect1> 985 980 986 <sect1 id=" mondo-install">981 <sect1 id="installation-mondo"> 987 982 <title>Mondo Installation</title> 988 983 <para>If you are installing from a tarball then copy it to wherever … … 1038 1033 <title>Tests</title> 1039 1034 1040 <sect1 id=" mindi-test">1035 <sect1 id="test-mindi"> 1041 1036 <title>Testing Mindi</title> 1042 1037 … … 1147 1142 </tbody></tgroup></informaltable> 1148 1143 </sect1> 1149 <sect1 id=" mondo-test">1144 <sect1 id="test-mondo"> 1150 1145 <title>Testing Mondo</title> 1151 1146 … … 1222 1217 </sect1> 1223 1218 1224 <sect1 id="backup-c ommands">1219 <sect1 id="backup-cmd"> 1225 1220 <title>Backup Commands and Options</title> 1226 1221 … … 1256 1251 man page</ulink> on the website or type 'man mondoarchive' at the 1257 1252 console.</para> 1258 <sect2 id="backup-c dr">1253 <sect2 id="backup-cmd-cdr"> 1259 1254 <title>Standard Example With CD-R</title> 1260 1255 <para></para> … … 1277 1272 for them.</para> 1278 1273 </sect2> 1279 <sect2 id="backup-c drw">1274 <sect2 id="backup-cmd-cdrw"> 1280 1275 <title>Standard Example With CD-RW</title> 1281 1276 <para></para> … … 1292 1287 <para>Replace '2' in '-Ow2' with the writer's speed.</para> 1293 1288 </sect2> 1294 <sect2 id="backup- tape">1289 <sect2 id="backup-cmd-tape"> 1295 1290 <title>Standard Example With Tape</title> 1296 1291 <para></para> … … 1308 1303 size of the tape. As of v1.51, that is no longer necessary.</para> 1309 1304 </sect2> 1310 <sect2 id="backup- failsafe">1305 <sect2 id="backup-cmd-failsafe"> 1311 1306 <title>Standard Example With Failsafe kernel</title> 1312 1307 <para></para> … … 1325 1320 Debian.</para> 1326 1321 </sect2> 1327 <sect2 id="backup- network">1322 <sect2 id="backup-cmd-network"> 1328 1323 <title>Standard Example With Network Backup</title> 1329 1324 <para></para> … … 1346 1341 </sect2> 1347 1342 </sect1> 1343 </chapter> 1344 1345 <chapter id="compare"> 1346 <title>Compare</title> 1347 <para>Before you trust your backup CD, make sure your BIOS can boot 1348 CD (and that it is configured to do so).</para> 1349 <itemizedlist> 1350 <listitem> 1351 <para>Boot from the first CD.</para> 1352 </listitem> 1353 <listitem> 1354 <para>Type:</para> 1355 </listitem> 1356 </itemizedlist> 1357 <para></para> 1358 <informaltable><tgroup cols="1"><tbody> 1359 <row> 1360 <entry> 1361 1362 bash# compare 1363 1364 </entry> 1365 </row> 1366 </tbody></tgroup></informaltable> 1367 1368 <para>Follow the on-screen instructions. This will compare your 1369 backup against your original file system.</para> 1370 <para>FYI, no bad archives have been created since May 2000. Having 1371 said that, I would still encourage you to run Compare before 1372 trusting the backups.</para> 1373 <para>To view the file differences, look at the file 1374 '/tmp/changed.txt'. Normal differences include logs and other 1375 dynamic system files that changed during the time of the backup 1376 process. If only a few files differ - e.g. files in /var, files 1377 ending in '&#732;', logs, temporary files, /etc/mtab, 1378 /etc/adjtimex - then you know the archives are good. Your logs will 1379 change over time, too. Bear in mind that a difference between the 1380 backup and the live copy does not indicate a flaw in Mondo. It 1381 indicates that you or your filesystem changed the files, so the 1382 backup is no longer 100% up to date. However, that is inevitable, 1383 as your filesystem changes from moment to moment (which is why you 1384 back it up regularly).</para> 1385 1386 </chapter> 1387 1388 <chapter id="restore"> 1389 <title>Restore</title> 1390 1391 <sect1 id="restore-overview"> 1392 <title>Overview</title> 1393 1394 <para>I hope you don't have to restore from scratch very often. 1395 It's nerve-wracking until you realize that Mondo's restore engine 1396 is very reliable. I backup and restore my system 2 or 3 times a 1397 week as part of the testing process. I have no other backup regime, 1398 so it had better work.</para> 1399 <para>If you find that you cannot make your PC boot from the CD, 1400 take heart: the first backup CD of each set contains floppy disk 1401 images to give you the same functionality as the CD (minus the 1402 archives, of course) on floppies. Remember, your Mondo CD is a 1403 fully functional CD-based mini-distribution as well as a recovery 1404 CD.</para> 1405 <para>You can choose from the following modes:</para> 1406 <variablelist> 1407 <listitem> 1408 <para></para> 1409 </listitem></varlistentry> 1410 <varlistentry><term>Interactive</term> 1411 <listitem><!-- $MVD$:spaceretainer() --><para> </para> 1412 <para></para> 1413 </listitem></varlistentry> 1414 <listitem><para>Restore step-by-step, or restore a subset of the 1415 archives. This is the method you should mainly use for your 1416 recovery needs.</para> 1417 <para></para> 1418 </listitem></varlistentry> 1419 <varlistentry><term>Nuke</term> 1420 <listitem><!-- $MVD$:spaceretainer() --><para> </para> 1421 <para></para> 1422 </listitem></varlistentry> 1423 <listitem><para>Wipe your drives and restore everything, 1424 automatically and unattended. Warning: This does exactly what is 1425 says, so be carefull using it.</para> 1426 <para></para> 1427 </listitem></varlistentry> 1428 <varlistentry><term>Expert</term> 1429 <listitem><!-- $MVD$:spaceretainer() --><para> </para> 1430 <para></para> 1431 </listitem></varlistentry> 1432 <listitem><para>Boot to a shell prompt. If you want to do anything 1433 creative, you should boot into Expert Mode. It's called expert, I 1434 think that says it all.</para></listitem></varlistentry> 1435 </variablelist> 1436 <para>If the CD is not found during the initial restore CD boot 1437 attempt, reboot the PC a second time prior to reporting failure. 1438 Occasional timing errors and hardware/software/system conflicts do 1439 occur.</para> 1440 </sect1> 1441 1442 <sect1 id="restore-tips"> 1443 <title>Tips and Tricks</title> 1444 1445 <para>Ideally, restore your system to a spare hard drive to test 1446 the integrity and reliability of your disks. To do that, either 1447 edit your mountlist to make the devices point to your spare hard 1448 drive, or swap your hard drive cables between boots.</para> 1449 <para>At a bare minimum, compare your CD against your file system 1450 before you decide whether to trust them.</para> 1451 <para>To test Mondo's ability to handle your LILO or GRUB boot 1452 loader and accompanying configuration file:</para> 1453 <itemizedlist> 1454 <listitem> 1455 <para>Boot from the backup CD into Expert Mode</para> 1456 </listitem> 1457 <listitem> 1458 <para>Type:</para> 1459 </listitem> 1460 </itemizedlist> 1461 <para></para> 1462 <informaltable><tgroup cols="1"><tbody> 1463 <row> 1464 <entry> 1465 1466 bash# mondorestore --mbr 1467 1468 </entry> 1469 </row> 1470 </tbody></tgroup></informaltable> 1471 1472 <itemizedlist> 1473 <listitem> 1474 <para>To fix any mess it made (not that it should) type:</para> 1475 </listitem> 1476 </itemizedlist> 1477 <para></para> 1478 <informaltable><tgroup cols="1"><tbody> 1479 <row> 1480 <entry> 1481 1482 bash# mount-mebash# chroot /mnt/RESTORINGbash# lilo OR grub-install '(hd0)'bash# exitbash# unmount-me 1483 1484 </entry> 1485 </row> 1486 </tbody></tgroup></informaltable> 1487 1488 <itemizedlist> 1489 <listitem> 1490 <para>If it did not work then please copy /tmp/mondo-restore.log to 1491 a floppy (or to your hard disk), gzip it and e-mail it to the 1492 mailing list.</para> 1493 </listitem> 1494 </itemizedlist> 1495 <sect2 id="AEN39"><title>9.2.1. Barebones (Nuke) Restore</title> 1496 <para>Imagine that your hard drives happen to be wiped, 1497 deliberately or accidentally. Or, imagine that you want to clone 1498 your existing operating system. In either case, you want to run in 1499 Nuke Mode.</para> 1500 <para>If you want to wipe everything and restore your whole system 1501 from CD, please:</para> 1502 <itemizedlist> 1503 <listitem> 1504 <para>Boot from the first Mondo CD</para> 1505 </listitem> 1506 <listitem> 1507 <para>Press <enter></para> 1508 </listitem> 1509 <listitem> 1510 <para>Insert the subsequent CD when asked</para> 1511 </listitem> 1512 <listitem> 1513 <para>Watch the screen for errors</para> 1514 </listitem> 1515 </itemizedlist> 1516 <para>That's it. The restoration process for tape or NFS users is 1517 similarly easy: just boot, answer the on-screen prompts, and 1518 wait.</para> 1519 <para>Now, should something go wrong, you will be able to examine 1520 /tmp/mondo-restore.log to see what happened. All is not lost. You 1521 can fdisk and format the partitions yourself, using the tools that 1522 come with the CD. You can then run mondorestore in Interactive Mode 1523 and say 'no' when asked if you want Mondo to partition/format your 1524 drives.</para> 1525 <para>If you want to see exactly what Mondo is doing while it is 1526 restoring, press <Alt><left cursor> to view its 1527 logfile, in a virtual console, scrolling past.</para> 1528 </sect2><sect2 id="AEN40"><title>9.2.2. Interactive Restore</title> 1529 <para>Interactive Mode is for people who have lost a subset of data 1530 from their live file system, or perhaps who have lost some data 1531 from their latest backup and want to restore a subset of data from 1532 an earlier backup. If you want to restore only some files or if you 1533 do not want to prep/format your drives, then you should boot into 1534 Interactive Mode. The interactive mode will provide an 'Editing 1535 mountlist screen' that allows you to setup a different disk 1536 geometry.</para> 1537 <para>To move up and down between partitions in the 'Editing 1538 mountlist screen', use the Up and Down arrows. To move between the 1539 main window and the buttons at the bottom, use the Left and Right 1540 cursor keys. TAB shifts focus from one screen item to the other in 1541 a haphazard fashion, owing to the complexities of the Newt 1542 library.</para> 1543 <para>If you want to restore selectively, just press <enter> 1544 and follow the on-screen instructions. You will be asked to say 1545 yes/no to a range of questions.</para> 1546 <para>If you are planning to modify your partition table, you would 1547 do well to read up on the partition layout and the use of fdisk, it 1548 gives you some could pointers on how to best lay out partitions. 1549 You can find good guide her. 1550 <ulink url="http://www.ibiblio.org/pub/Linux/docs/HOWTO/mini/Partition/index.html">http://www.ibiblio.o 1551 rg/pub/Linux/docs/HOWTO/mini/Partition/index.html</ulink></para> 1552 <para>If you want to restore a subset of the backup then:</para> 1553 <itemizedlist> 1554 <listitem> 1555 <para>Boot from the CD</para> 1556 </listitem> 1557 <listitem> 1558 <para>Type:</para> 1559 </listitem> 1560 </itemizedlist> 1561 <para></para> 1562 <informaltable><tgroup cols="1"><tbody> 1563 <row> 1564 <entry> 1565 1566 bash# interactive 1567 1568 </entry> 1569 </row> 1570 </tbody></tgroup></informaltable> 1571 1572 <itemizedlist> 1573 <listitem> 1574 <para>Then, after booting, answer the questions as follows:</para> 1575 </listitem> 1576 </itemizedlist> 1577 <para></para> 1578 <informaltable><tgroup cols="1"><tbody> 1579 <row> 1580 <entry> 1581 1582 Do you want to partition your devices? noDo you want to format them? noDo you want to restore everythin 1583 g? noDo you want to restore something? yesWhich path do you want to restore? /home/hugo [e.g.]Do you wa 1584 nt to run LILO to setup your boot sectors? Yes 1585 1586 </entry> 1587 </row> 1588 </tbody></tgroup></informaltable> 1589 1590 </sect2><sect2 id="AEN42"><title>9.2.3. Expert Restore</title> 1591 <para>If you are planning to modify your partition table, you would 1592 do well to read up on the partition layout and the use of fdisk, it 1593 gives you some could pointers on how to best lay out partitions. 1594 You can find good guide her. 1595 <ulink url="http://www.ibiblio.org/pub/Linux/docs/HOWTO/mini/Partition/index.html">http://www.ibiblio.o 1596 rg/pub/Linux/docs/HOWTO/mini/Partition/index.html</ulink></para> 1597 <para>To restore manually, please:</para> 1598 <itemizedlist> 1599 <listitem> 1600 <para>Boot from the first CD, then type:</para> 1601 </listitem> 1602 </itemizedlist> 1603 <para></para> 1604 <informaltable><tgroup cols="1"><tbody> 1605 <row> 1606 <entry> 1607 1608 bash# expert 1609 1610 </entry> 1611 1612 </row> 1613 </tbody></tgroup></informaltable> 1614 1615 <itemizedlist> 1616 <listitem> 1617 <para>Then do whatever you like. :) You may type the following, of 1618 course:</para> 1619 </listitem> 1620 </itemizedlist> 1621 <para></para> 1622 <informaltable><tgroup cols="1"><tbody> 1623 <row> 1624 <entry> 1625 1626 bash# mondorestore 1627 1628 </entry> 1629 </row> 1630 </tbody></tgroup></informaltable> 1631 1632 </sect2><sect2 id="AEN44"><title>9.2.4. Modified partitions - 1633 Restore to a different disk geometry</title> 1634 <para>One of the nice things about Mondo is that it lets you wipe 1635 your existing system and restore it in any layout you like (within 1636 reason). You can move from non-RAID to RAID,install and utilize 1637 additional drives, move from ext2 to ReiserFS, etc., all without 1638 risking the loss of data.</para> 1639 <para>If the user excluded a particular partition from backup and 1640 specifically excluded it from the mountlist itself using -E then 1641 Mondo will insert a small (32MB) partition at restore-time, in 1642 order to avoid having to re-jig fstab, the partition table, 1643 etc.</para> 1644 <para>To do this:</para> 1645 <itemizedlist> 1646 <listitem> 1647 <para>Boot into Expert Mode, then type:</para> 1648 </listitem> 1649 </itemizedlist> 1650 <para></para> 1651 <informaltable><tgroup cols="1"><tbody> 1652 <row> 1653 <entry> 1654 1655 bash# mondorestore 1656 1657 </entry> 1658 </row> 1659 </tbody></tgroup></informaltable> 1660 1661 <itemizedlist> 1662 <listitem> 1663 <para>(edit the mountlist using the on-screen editor)</para> 1664 </listitem> 1665 </itemizedlist> 1666 <para>If you want to move from ext2 to ReiserFS, you can do it here 1667 (so long as your kernel supports ReiserFS). Ditto for XFS, JFS or 1668 ext3.</para> 1669 <para>Mondorestore will try to modify your /etc/fstab to reflect 1670 changes you have made to the mountlist. If you are not using LILO, 1671 you can still create your own /mnt/RESTORING/etc/lilo.conf and run 1672 lilo -r /mnt/RESTORING to configure your boot sectors and Master 1673 Boot Record.</para> 1674 <para>Mondo (technically, Mindi on behalf of Mondo) creates a file 1675 called a mountlist. This can be found on the ramdisk at 1676 /tmp/mountlist.txt; it looks something like this:</para> 1677 <para></para> 1678 <informaltable><tgroup cols="1"><tbody> 1679 <row> 1680 <entry> 1681 1682 /dev/hda1/mnt/windows vfat 4096000/dev/hda5 / reiserfs 6023000>/dev/hda6 /tmp xfs 955000/dev/hda7 /u 1683 sr xfs 4096000 1684 1685 </entry> 1686 </row> 1687 </tbody></tgroup></informaltable> 1688 1689 <para>It is fairly easy to understand the list. Each line refers to 1690 a single device/partition. The line format is:</para> 1691 <para></para> 1692 <informaltable><tgroup cols="1"><tbody> 1693 <row> 1694 <entry> 1695 1696 <device> <partition> <format> <Kilobytes> 1697 1698 </entry> 1699 </row> 1700 </tbody></tgroup></informaltable> 1701 1702 <para>If you have added a hard drive and want to take advantage of 1703 the additional space, you could amend the above mountlist to 1704 read:</para> 1705 <para></para> 1706 <informaltable><tgroup cols="1"><tbody> 1707 <row> 1708 <entry> 1709 1710 /dev/hda1/mnt/windows vfat 6096000/dev/hda5 / reiserfs 9123000/dev/hda6 /tmp xfs 955000/dev/hdb1 /usr x 1711 fs 8192000/dev/hdb2 /home xfs 8192000 1712 1713 </entry> 1714 </row> 1715 </tbody></tgroup></informaltable> 1716 1717 <para>This assumes that your old hard drive is /dev/hda and the new 1718 hard drive is /dev/hdb.</para> 1719 <para>Or, if you want to add RAID support, create a new 1720 /etc/raidtab on the ramdisk (which is beyond the scope of this 1721 HOWTO) and then write a mountlist like this:</para> 1722 <para></para> 1723 <informaltable><tgroup cols="1"><tbody> 1724 <row> 1725 <entry> 1726 1727 /dev/hda1 /mnt/windows vfat 6096000/dev/md0 / reiserfs 9123000/dev/md1 /tmp xfs 955000/dev/md2 xfs 8192 1728 000/dev/md3 /home xfs 8192000 1729 1730 </entry> 1731 </row> 1732 </tbody></tgroup></informaltable> 1733 1734 <para>So long as your /etc/raidtab file is sane, Mondo can 1735 automatically partition and format your disks for you, including 1736 the RAID devices.</para> 1737 <para>Once you have finished editing /tmp/mountlist.txt using 1738 mondorestore's built-in editor then you may choose 'OK'. Please 1739 note that this will not write anything to your hard disk. You will 1740 only reformat or repartition your disks if you say 'Yes' when asked 1741 if you want to do those things.</para> 1742 </sect2><sect2 id="AEN47"><title>9.2.5. Advanced</title> 1743 <para>It is now possible to restore to a live filesystem using 1744 Mondo. In other words, you do not have to boot your PC from your 1745 CD/floppy in order to restore files. Mondo was originally designed 1746 for disaster recovery - situations in which you cannot boot your 1747 PC. If you can boot your PC, it is not really a disaster, is it? :) 1748 Well, if you have wiped out your priceless collection of "MTV's 1749 Bjork Unplugged" MP3's, perhaps it is. Anyway, just type this as 1750 root</para> 1751 <para></para> 1752 <informaltable><tgroup cols="1"><tbody> 1753 <row> 1754 <entry> 1755 1756 bash# mondorestore 1757 1758 </entry> 1759 </row> 1760 </tbody></tgroup></informaltable> 1761 1762 <para></para> 1763 <informaltable><tgroup cols="2"><tbody> 1764 <row> 1765 <entry> 1766 <ulink url="images/rest1.png"><inlinemediaobject><imageobject> 1767 <imagedata fileref="images/rest1-mini.png"> 1768 </imageobject></inlinemediaobject> 1769 </ulink> 1770 </entry> 1771 <entry> 1772 Choose your type of backup media. The live restoration process is 1773 very similar to what you'll experience if you type mondorestore 1774 with no parameters after booting from a Mondo CD/floppy. 1775 </entry> 1776 </row> 1777 <row> 1778 <entry> 1779 <ulink url="images/rest2.png"><inlinemediaobject><imageobject> 1780 <imagedata fileref="images/rest2-mini.png"> 1781 </imageobject></inlinemediaobject> 1782 </ulink> 1783 </entry> 1784 <entry> 1785 Hit 'OK' when you have inserted the tape/CD. If you generated a 1786 tape backup, the tape itself should be enough. If you generated a 1787 CD backup, the first CD should be enough. Otherwise, you may need 1788 the boot floppy. 1789 </entry> 1790 </row> 1791 <row> 1792 <entry> 1793 <ulink url="images/rest3.png"><inlinemediaobject><imageobject> 1794 <imagedata fileref="images/rest3-mini.png"> 1795 </imageobject></inlinemediaobject> 1796 </ulink> 1797 </entry> 1798 <entry> 1799 Flag the files and directories you wish to restore. Use the 'More' 1800 and 'Less' buttons to open and close subdirectories. 1801 </entry> 1802 </row> 1803 <row> 1804 <entry> 1805 <ulink url="images/rest4.png"><inlinemediaobject><imageobject> 1806 <imagedata fileref="images/rest4-mini.png"> 1807 </imageobject></inlinemediaobject> 1808 </ulink> 1809 </entry> 1810 <entry> 1811 Specify the location to restore the files to. In general, '/' is 1812 appropriate. If you do not want to overwrite newer versions of the 1813 files you are restoring then specify /tmp/BKP or similar as the 1814 restore path. 1815 </entry> 1816 </row> 1817 <row> 1818 <entry> 1819 <ulink url="images/rest5.png"><inlinemediaobject><imageobject> 1820 <imagedata fileref="images/rest5-mini.png"> 1821 </imageobject></inlinemediaobject> 1822 </ulink> 1823 </entry> 1824 <entry> 1825 Mondorestore will retrieve configuration information from the 1826 media. (The sample screen is for tape users. CD users will see 1827 something different.) 1828 </entry> 1829 </row> 1830 <row> 1831 <entry> 1832 <ulink url="images/rest6.png"><inlinemediaobject><imageobject> 1833 <imagedata fileref="images/rest6-mini.png"> 1834 </imageobject></inlinemediaobject> 1835 </ulink> 1836 </entry> 1837 <entry> 1838 Data will be restored to the hard disk - first the regular files, 1839 then any big (32MB or greater) files in the restore set. 1840 </entry> 1841 </row> 1842 </tbody></tgroup></informaltable> 1843 1844 <para>I hope this manual is proving to be useful to you.</para> 1845 </sect1> 1846 1847 </chapter> 1848 1849 <chapter id="faq"> 1850 <title>FAQ</title> 1851 1852 <sect1 id="faq-overview"> 1853 <title>Overview</title> 1854 <para>Are the errors from Mindi or Mondo? Look at 1855 /var/log/mondo-archive.log, /var/log/mindi.log or the 1856 mondo.err.xxxxx.tgz log indicated by the screen message. Pipe 1857 screen errors which relate to the creation of boot disk(s) and or 1858 data disk(s) to a text file.</para> 1859 <para>See the <ulink url="http://www.mondorescue.org">web 1860 site</ulink> for details. If you are going to e-mail 1861 <ulink url="../../feedback/feedback.html">the list</ulink> then 1862 please attach that text file (zipped!) and tell me:</para> 1863 <itemizedlist> 1864 <listitem> 1865 <para>Your kernel version</para> 1866 </listitem> 1867 <listitem> 1868 <para>Your Linux distro's name and version</para> 1869 </listitem> 1870 <listitem> 1871 <para>Whether your kernel supports initrd and loopfs; it 1872 should!</para> 1873 </listitem> 1874 <listitem> 1875 <para>What sort of PC you are using, including hard disk 1876 configurations</para> 1877 </listitem> 1878 </itemizedlist> 1879 <para>Mondo is freely available and you are given it for no charge. 1880 When you e-mail the mailing list, please bear that in mind.</para> 1881 </sect1> 1882 <sect1 id="faq-general"> 1883 <title>General Questions</title> 1884 <variablelist> 1885 <listitem> 1886 <para></para> 1887 </listitem></varlistentry> 1888 <varlistentry><term>Q: 1889 <para><ulink url="faqgeneral.html#AEN496">What is 1890 "Mindi"?</ulink></para></term> 1891 <varlistentry><term>Q: 1892 <para><ulink url="faqgeneral.html#AEN501">Why is it called 1893 "Mondo"?</ulink></para></term> 1894 <varlistentry><term>Q: 1895 <para><ulink url="faqgeneral.html#AEN506">Mondo does not work on my 1896 system. It keels over and dies. What's wrong?</ulink></para></term> 1897 <varlistentry><term>Q: 1898 <para><ulink url="faqgeneral.html#AEN511">What if the error is in 1899 Mindi?</ulink></para></term> 1900 <varlistentry><term>Q: 1901 <para><ulink url="faqgeneral.html#AEN516">Can I trust 1902 Mondo?</ulink></para></term> 1903 <varlistentry><term>Q: 1904 <para><ulink url="faqgeneral.html#AEN522">How do I report a 1905 bug?</ulink></para></term> 1906 <varlistentry><term>Q: <para><ulink url="faqgeneral.html#AEN527">I 1907 think Mondo should (...insert suggestion here...) and I have 1908 rewritten it accordingly. Would you like to see my 1909 patch?</ulink></para></term> 1910 <varlistentry><term>Q: <para><ulink url="faqgeneral.html#AEN532">I 1911 think Mondo should (...insert suggestion here...); will you 1912 incorporate this feature for me, please?</ulink></para></term> 1913 <varlistentry><term>Q: 1914 <para><ulink url="faqgeneral.html#AEN537">Mondo says, "XXX is 1915 missing," and then terminates. What's wrong?</ulink></para></term> 1916 <varlistentry><term>Q: 1917 <para><ulink url="faqgeneral.html#AEN543">Can Mondo handle multi-CD 1918 backups and restores?</ulink></para></term> 1919 <varlistentry><term>Q: 1920 <para><ulink url="faqgeneral.html#AEN548">Can Mondo handle 1921 Linux/Windows dual-boot systems?</ulink></para></term> 1922 <varlistentry><term>Q: 1923 <para><ulink url="faqgeneral.html#AEN553">Can Mondo backup 1924 Windows-only systems?</ulink></para></term> 1925 <varlistentry><term>Q: 1926 <para><ulink url="faqgeneral.html#AEN558">Does Mondo support 1927 LVM?</ulink></para></term> 1928 <varlistentry><term>Q: 1929 <para><ulink url="faqgeneral.html#AEN563">What if I don't use LILO? 1930 What if I use GRUB?</ulink></para></term> 1931 <varlistentry><term>Q: 1932 <para><ulink url="faqgeneral.html#AEN568">Mondoarchive (or 1933 mondorestore) segfaults when I run it. What could be 1934 wrong?</ulink></para></term> 1935 <varlistentry><term>Q: <para><ulink url="faqgeneral.html#AEN573">I 1936 get the error, 'Cannot find /tmp/dev.0' or 'Cannot mount device 1937 0x0701'; what do I do?</ulink></para></term> 1938 <varlistentry><term>Q: 1939 <para><ulink url="faqgeneral.html#AEN578">Can I create a Mondo CD 1940 and then use it to create an archive of any OS on any 1941 PC?</ulink></para></term> 1942 <varlistentry><term>Q: 1943 <para><ulink url="faqgeneral.html#AEN583">Why do you insist on 1944 putting floppy disk images on Mondo CD? They waste space and I 1945 never use them. The CD works just fine, so why keep the floppy disk 1946 images?</ulink></para></term> 1947 <varlistentry><term>Q: 1948 <para><ulink url="faqgeneral.html#AEN588">Why doesn't the Mondo 1949 project have a cool-looking animal logo?</ulink></para></term> 1950 <varlistentry><term>Q: <para><ulink url="faqgeneral.html#AEN593">Is 1951 there a Mondo user 'Code of Conduct?</ulink></para></term> 1952 </variablelist> 1953 <para><anchor id="AEN496"/>Q: What is "Mindi"?</para> 1954 <para>A: Mindi, a.k.a. Mindi-Linux, makes a mini-distribution from 1955 your kernel, modules, modules, tools and libraries. It can also 1956 generate an El Torito 2.88MB boot disk image. Mondo uses Mindi to 1957 create a mini-distro, then boots from it and runs on it.</para> 1958 <para><anchor id="AEN501"/>Q: Why is it called "Mondo"?</para> 1959 <para>A: The Teenage Mutant Ninja Turtles described cool things as 1960 'mondo'. I wasn't sure what to call this project. 'Faust' was one 1961 idea I had, partly as a dig at my former boss who practically owned 1962 me because of my legal status at the time. In the end, I chose 1963 something short and distinctive.</para> 1964 <para><anchor id="AEN506"/>Q: Mondo does not work on my system. It 1965 keels over and dies. What's wrong?</para> 1966 <para>A: It works on Red Hat 7.x, Linux-Mandrake 8.x, some flavors 1967 of SuSE, some flavors of Slackware, some flavors of Debian, etc. 1968 The more distributions I support, the more moving targets I have to 1969 hit. Please bear this in mind when e-mailing the list. :) If you 1970 would like to help me by beta-testing Mondo (or Mindi) on your PC 1971 then I would be very interested in working with you to work around 1972 the eccentricities of your Linux distro. However, rest assured, 90% 1973 of the bugs reported to me are actually symptoms of FooLinux X.Y's 1974 unique way of doing things.</para> 1975 <para><anchor id="AEN511"/>Q: What if the error is in Mindi?</para> 1976 <para>A: Then send me a copy of /var/log/mindi.log (compressed, 1977 please) along with a description of your distro, your kernel, etc. 1978 Oh, and before sending it, please read it.</para> 1979 <para><anchor id="AEN516"/>Q: Can I trust Mondo?</para> 1980 <para>A: Mondo has generated reliable archives since May 2000. I 1981 have lost data by using bad CD-R disks and not verifying their 1982 contents. Some users have not tried booting from their CD until 1983 crunch time. Remember to boot into Compare Mode to verify the 1984 backup before you trust it. If Mondo did not work, you would not be 1985 reading this. If it does not work for you, your kernel is usually 1986 the culprit. Check <ulink url="kernelsupport.html">Linux Kernel 1987 support</ulink> to see what your kernel should support. Please 1988 e-mail the list (or me) if you need some help with this.</para> 1989 <para><anchor id="AEN522"/>Q: How do I report a bug?</para> 1990 <para>A: E-mail the bug report (mondo.err.xxxxx.tgz) to me. If you 1991 want to discuss it, please e-mail the list. The list is for 1992 talking; my e-mail address is for big files. :-) If you don't send 1993 me a logfile then there isn't a lot that I can do for you, so 1994 PLEASE include a logfile at the very least. Or, pop into #mondo on 1995 irc.redhat.com and see if I'm there.</para> 1996 <para><anchor id="AEN527"/>Q: I think Mondo should (...insert 1997 suggestion here...) and I have rewritten it accordingly. Would you 1998 like to see my patch?</para> 1999 <para>A: Absolutely! :-) The best way for you to make Mondo do what 2000 you want is to modify it and then send me the patch. That way, we 2001 can all benefit.</para> 2002 <para><anchor id="AEN532"/>Q: I think Mondo should (...insert 2003 suggestion here...); will you incorporate this feature for me, 2004 please?</para> 2005 <para>A: I'll definitely think about it. Would you like to 2006 help?</para> 2007 <para><anchor id="AEN537"/>Q: Mondo says, "XXX is missing," and 2008 then terminates. What's wrong?</para> 2009 <para>A: A good Linux distribution should contain XXX but the 2010 designers, in their infinite wisdom, decided not to include that 2011 particular tool. Check <ulink url="linuxpackages.html">Related 2012 Linux Packages</ulink> and install the missing package. If that 2013 fails, contact the vendor/distributor/manufacturer/designer of your 2014 distro.</para> 2015 <para><anchor id="AEN543"/>Q: Can Mondo handle multi-CD backups and 2016 restores?</para> 2017 <para>A: Yes, up to twenty CD per set. This 20-CD limit results 2018 from laziness on my part. I can remove it at any time. However, if 2019 your system occupies more than 20 CD, may I recommend that you 2020 invest in a tape streamer?</para> 2021 <para><anchor id="AEN548"/>Q: Can Mondo handle Linux/Windows 2022 dual-boot systems?</para> 2023 <para>A: Yes. If your system currently boots into Linux or Windows 2024 via LILO, you can backup and restore both OSes at the same time 2025 using Mondo. If you are using NTFS then add the switch, '-x 2026 <device>'.</para> 2027 <para><anchor id="AEN553"/>Q: Can Mondo backup Windows-only 2028 systems?</para> 2029 <para>A: Sure, if you pay me to play catch-up to Microsoft. ;) 2030 Seriously, Mondo can do it but I do not give away the 2031 functionality. If you are a Microsoft-only user, you are accusomed 2032 to paying for software and technical support. Please e-mail me for 2033 more information.</para> 2034 <para><anchor id="AEN558"/>Q: Does Mondo support LVM?</para> 2035 <para>A: Mondo supports LVM, yes. Mondo backs up and restores your 2036 existing setup but it does not make it easy for you to change your 2037 LVM configuration. You have to edit /tmp/i-want-my-lvm at boot-time 2038 to do that.</para> 2039 <para><anchor id="AEN563"/>Q: What if I don't use LILO? What if I 2040 use GRUB?</para> 2041 <para>A: GRUB is supported by Mondo.</para> 2042 <para><anchor id="AEN568"/>Q: Mondoarchive (or mondorestore) 2043 segfaults when I run it. What could be wrong?</para> 2044 <para>A: Install from tarball instead of RPM. (Or, try RPM if you 2045 just installed from tarball.) Your compiler or your libraries may 2046 be fubar. We'll see. If that doesn't work then please e-mail the 2047 <ulink url="../../feedback/feedback.html">mailing 2048 list</ulink>.</para> 2049 <para><anchor id="AEN573"/>Q: I get the error, 'Cannot find 2050 /tmp/dev.0' or 'Cannot mount device 0x0701'; what do I do?</para> 2051 <para>A: Please free up /dev/loop0 using 'losetup /dev/loop0 -d' to 2052 unmount that loop device. If your OS will not let you do that, 2053 contact your local support group or Linux vendor.</para> 2054 <para><anchor id="AEN578"/>Q: Can I create a Mondo CD and then use 2055 it to create an archive of any OS on any PC?</para> 2056 <para>A: Not yet. You can use Mondo to backup Linux or 2057 Linux/Windows dual boot. One day, Mondo will let you backup 2058 partitions it can't read or write, by treating each partition as 2059 one long file to be backed up. This file will be chopped, 2060 compressed and archived like any other big file.</para> 2061 <para><anchor id="AEN583"/>Q: Why do you insist on putting floppy 2062 disk images on Mondo CD? They waste space and I never use them. The 2063 CD works just fine, so why keep the floppy disk images?</para> 2064 <para>A: Because of my old college buddy, Justin Case. If you 2065 really, truly want them gone then please submit a patch to make 2066 <para><anchor id="AEN583"/>Q: Why do you insist on putting floppy 2067 disk images on Mondo CD? They waste space and I never use them. The 2068 CD works just fine, so why keep the floppy disk images?</para> 2069 <para>A: Because of my old college buddy, Justin Case. If you 2070 really, truly want them gone then please submit a patch to make 2071 them optional.</para> 2072 <para><anchor id="AEN588"/>Q: Why doesn't the Mondo project have a 2073 cool-looking animal logo?</para> 2074 <para>A: Excellent question! Please submit graphics of candidate 2075 animal logos!</para> 2076 <para><anchor id="AEN593"/>Q: Is there a Mondo user 'Code of 2077 Conduct?</para> 2078 <para>A: Yes. Read the HOWTO. Submit patches. Recommend realistic 2079 improvements. Be courteous to other users on the discussion list. 2080 Do not whine.</para> 2081 </sect1> 2082 2083 <sect1 id="faq-booting"> 2084 <title>Booting and Kernel related Questions</title> 2085 <variablelist> 2086 <listitem> 2087 <para></para> 2088 </listitem></varlistentry> 2089 <varlistentry><term>Q: 2090 <para><ulink url="faqbooting.html#AEN601">How do I know if Mondo 2091 works with my Linux distro?</ulink></para></term> 2092 <varlistentry><term>Q: 2093 <para><ulink url="faqbooting.html#AEN607">When I try to boot from 2094 the Mondo CD, it says, "VFS: Unable to mount root fs." I am using a 2095 Debian distro. What do I do?</ulink></para></term> 2096 <varlistentry><term>Q: 2097 <para><ulink url="faqbooting.html#AEN612">When I try to boot from 2098 the Mondo CD, it says, "Cannot mount root fs - kernel panic," or 2099 something similar. What do I do?</ulink></para></term> 2100 <varlistentry><term>Q: 2101 <para><ulink url="faqbooting.html#AEN618">When I try to boot from 2102 the Mondo CD, it says, "Mounting /tmp/tmpfs...fatal error! Failed 2103 UPGRADE YOUR RAM". What does that mean?</ulink></para></term> 2104 <varlistentry><term>Q: 2105 <para><ulink url="faqbooting.html#AEN624">When I try to boot from 2106 the Mondo CD, it says something about not finding my CD-ROM drive 2107 and then it blames the kernel. What does that 2108 mean?</ulink></para></term> 2109 <varlistentry><term>Q: 2110 <para><ulink url="faqbooting.html#AEN631">The Mondo CD/floppy takes 2111 ages to boot. How can I speed it up?</ulink></para></term> 2112 <varlistentry><term>Q: <para><ulink url="faqbooting.html#AEN636">I 2113 made a Mondo CD using the failsafe kernel (i.e. I said 'no' when 2114 Mondo asked if I wanted to use my own kernel). It still doesn't 2115 boot. Help!</ulink></para></term> 2116 <varlistentry><term>Q: 2117 <para><ulink url="faqbooting.html#AEN641">What if my PC won't boot 2118 from a CD?</ulink></para></term> 2119 <varlistentry><term>Q: 2120 <para><ulink url="faqbooting.html#AEN647">But why won't Mondo boot 2121 from my CD? It says my kernel is flawed/outdated/ whatever, and 2122 when I wrote to you, you told me the same thing... but I still 2123 don't get it. I mean, my kernel works for everything else. Why not 2124 Mondo?</ulink></para></term> 2125 <varlistentry><term>Q: 2126 <para><ulink url="faqbooting.html#AEN653">Why do I only need a boot 2127 disk if I'm using a tape drive? Where are the data 2128 disks?</ulink></para></term> 2129 <varlistentry><term>Q: 2130 <para><ulink url="faqbooting.html#AEN658">Why does it say, "Process 2131 accounting FAILED" when I reboot?</ulink></para></term> 2132 <varlistentry><term>Q: 2133 <para><ulink url="faqbooting.html#AEN663">Why does it say, 2134 &#8220;request_module[block-major-1]: Root fs not mounted VFS: 2135 Cannot open root device "100" or 01:00 Please append a correct 2136 "root=" boot option kernel panic: VFS: Unable to mount root fs on 2137 01:00&#8221; when i boot from the CD?</ulink></para></term> 2138 <varlistentry><term>Q: 2139 <para><ulink url="faqbooting.html#COPYBOOTDATADISK">How do i copy 2140 boot+data disk images to physical floppy 2141 disks?</ulink></para></term> 2142 <varlistentry><term>Q: <para><link linkend="TAPENICE">My tape drive 2143 doesn't play nicely with Mondo at boot-time. What do I 2144 do?</link></para></term> 2145 </variablelist> 2146 <para><anchor id="AEN601"/>Q: How do I know if Mondo works with my 2147 Linux distro?</para> 2148 <para>A: Try running it. :) That's always a good way to find out. 2149 Check the <ulink url="../../docs/docs.html">Documentation 2150 page</ulink>, too.</para> 2151 <para><anchor id="AEN607"/>Q: When I try to boot from the Mondo CD, 2152 it says, "VFS: Unable to mount root fs." I am using a Debian 2153 distro. What do I do?</para> 2154 <para>A: Ask Debian's designers why they, unlike every other distro 2155 I can find, have included cramfs and other 'goodies' with their 2156 kernel. In the meantime, please use '-k FAILSAFE' in your command 2157 line when calling Mondo.</para> 2158 <para><anchor id="AEN612"/>Q: When I try to boot from the Mondo CD, 2159 it says, "Cannot mount root fs - kernel panic," or something 2160 similar. What do I do?</para> 2161 <para>A: Recompile your kernel (or use '-k FAILSAFE'). Take a look 2162 at <ulink url="kernelsupport.html">Linux Kernel support</ulink> to 2163 see what you're kernel must support.</para> 2164 <para><anchor id="AEN618"/>Q: When I try to boot from the Mondo CD, 2165 it says, "UPGRADE YOUR RAM". What does that mean?</para> 2166 <para>A: Recompile your kernel and add Virtual memory file system 2167 support. Take a look at <ulink url="kernelsupport.html">Linux 2168 Kernel support</ulink> to see what you're kernel must support. (Of 2169 course, if your PC has less than 64MB of RAM, you could always... 2170 what's the phrase? I know, upgrade your RAM!)</para> 2171 <para><anchor id="AEN624"/>Q: When I try to boot from the Mondo CD, 2172 it says something about not finding my CD-ROM drive and then it 2173 blames the kernel. What does that mean?</para> 2174 <para>A: Your kernel must support initrd, loopfs, IDE CD-ROM's, and 2175 ramdisks. Take a look at <ulink url="kernelsupport.html">Linux 2176 Kernel support</ulink> to see what you're kernel must support. If 2177 your kernel does not support these things, Mondo will not boot from 2178 your CD. However, when running Mindi, you may choose to use _its_ 2179 kernel instead of your own. In addition, you may boot from floppy 2180 disk images instead the CD: copy the disk images from the CD 2181 /images directory to floppy disks, using 'dd'. Take a look at 2182 <ulink url="faqbooting.html#COPYBOOTDATADISK">Copy boot data 2183 disks</ulink> on how to make those.</para> 2184 <para><anchor id="AEN631"/>Q: The Mondo CD/floppy takes ages to 2185 boot. How can I speed it up?</para> 2186 <para>A: Edit mindi (it's a shell script, btw) and change 2187 LILO_OPTIONS="" to LILO_OPTIONS="-c". This enables map compaction 2188 in lilo and speeds up booting, for more info see the lilo man 2189 page.</para> 2190 <para><anchor id="AEN636"/>Q: I made a Mondo CD using the failsafe 2191 kernel (i.e. I said 'no' when Mondo asked if I wanted to use my own 2192 kernel). It still doesn't boot. Help!</para> 2193 <para>A: OK, now that is a bug. :-) I included a kernel with Mondo 2194 (technically, with Mindi, which Mondo uses) to make sure that users 2195 could use Mondo despite flaws in their own kernels. If you are 2196 using Mondo/Mindi's kernel but still cannot boot from your Mondo CD 2197 then please e-mail the list.</para> 2198 <para><anchor id="AEN641"/>Q: What if my PC won't boot from a 2199 CD?</para> 2200 <para>A: Copy the image files from the CD /images directory, using 2201 the dd command. Take a look at 2202 <ulink url="faqbooting.html#COPYBOOTDATADISK">Copy boot data 2203 disks</ulink> on how to make those. Then boot from the first 2204 floppy; follow it up with the data disks; finally, type 'mount 2205 /mnt/cdrom' and then utilize the restore script as usual, e.g. 2206 mondorestore.</para> 2207 <para><anchor id="AEN647"/>Q: But why won't Mondo boot from my CD? 2208 It says my kernel is flawed/outdated/ whatever, and when I wrote to 2209 you, you told me the same thing... but I still don't get it. I 2210 mean, my kernel works for everything else. Why not Mondo?</para> 2211 <para>A: Because Mondo makes a boot disk using your kernel. I bet 2212 your other software doesn't do that. Also, not all kernels are 2213 suitable for boot disks. I'm sorry but that's Life. Upgrade your 2214 kernel and/or recompile it. Take a look at 2215 <ulink url="kernelsupport.html">Linux Kernel support</ulink> to see 2216 what you're kernel must support.</para> 2217 <para><anchor id="AEN653"/>Q: Why do I only need a boot disk if I'm 2218 using a tape drive? Where are the data disks?</para> 2219 <para>A: On the tape. :-) The first 32MB of the tape will be set 2220 aside for a large tarball containing the data disks, a list of all 2221 files backed up, and other sundries. If Mondo and Mindi do their 2222 respective jobs then you won't need additional floppies, just the 2223 boot floppy and the tape(s).</para> 2224 <para><anchor id="AEN658"/>Q: Why does it say, "Process accounting 2225 FAILED" when I reboot?</para> 2226 <para>A: You were using Process Accounting. Red Hat (or whichever 2227 distro you are using) does not provide a startup/shutdown script 2228 yet. So, when you try to backup the process log, it just grows and 2229 grows as Mondo tries to back it up. Mondo doesn't back it up 2230 anymore and that's why. The unfortunate side-effect is... well, 2231 what you see on your screen. Type 'touch /var/log/pacct' and then 2232 'paccton' to fix the error message.</para> 2233 <para><anchor id="AEN663"/>Q: Why does it say, 2234 &#8220;request_module[block-major-1]: Root fs not mounted VFS: 2235 Cannot open root device "100" or 01:00 Please append a correct 2236 "root=" boot option kernel panic: VFS: Unable to mount root fs on 2237 01:00&#8221; when i boot from the CD?</para> 2238 <para>A: Recompile your kernel and add initrd support. Take a look 2239 at <ulink url="kernelsupport.html">Linux Kernel support</ulink>to 2240 see what you're kernel must support.</para> 2241 <para><anchor id="COPYBOOTDATADISK"/>Q: How do i copy boot+data 2242 disk images to physical floppy disks ?</para> 2243 <para>A: The images are in /root/images/mindi (eve if they are 2244 created by Mondo) and also in the 'images' directory on the first 2245 CD of your backup set, if you have backed up to CD. You can copy 2246 the images to disk as follows:-</para> 2247 <para></para> 2248 <informaltable><tgroup cols="1"><tbody> 2249 <row> 2250 <entry> 2251 2252 [boot disk]bash# fdformat /dev/fd0u1722bash# dd if=/root/images/mindi/mindi-boot.1722.img of=/dev/fd0u1 2253 772[data disk]bash# fdformat /dev/fd0bash# dd if=/root/images/mindi/mindi-data-N.img of=/dev/fd0Replace 2254 N with 1, 2, etc. 2255 2256 </entry> 2257 </row> 2258 </tbody></tgroup></informaltable> 2259 2260 <variablelist> 2261 <listitem> 2262 <para></para> 2263 </listitem></varlistentry> 2264 <varlistentry><term><para id="TAPENICE"></para>Q: My tape drive 2265 doesn't play nicely with Mondo at boot-time. What do I do?</term> 2266 <varlistentry><term>A: Play with 'mt'. Use its setblksize and 2267 defblksize switches to reconfigure your tape drive if necessary. 2268 <variablelist> 2269 <listitem> 2270 <para></para> 2271 </listitem></varlistentry> 2272 <varlistentry><term><para id="TAPENICE"></para>Q: My tape drive 2273 doesn't play nicely with Mondo at boot-time. What do I do?</term> 2274 <varlistentry><term>A: Play with 'mt'. Use its setblksize and 2275 defblksize switches to reconfigure your tape drive if necessary. 2276 Some tape drives just suck, I'm sorry to say. If yours is one of 2277 them then God help you. Mondo can handle any tape drive whose drive 2278 and firmware can handle fread(), fwrite(), fread() and fclose(). 2279 Mondo uses standard C libraries to talk to your tape streamer. If 2280 your tape streamer can't handle that then you had better call a 2281 priest. Either that or ask for a refund.</term> 2282 </variablelist> 2283 <para></para> 2284 </sect1> 2285 <sect1 id="faq-install"> 2286 <title>Installation related Questions</title> 2287 <variablelist> 2288 <listitem> 2289 <para></para> 2290 </listitem></varlistentry> 2291 <varlistentry><term>Q: 2292 <para><ulink url="faqinstallation.html#AEN678">Why do I get, 2293 "newt.h not found," several times when I try to install 2294 Mondo?</ulink></para></term> 2295 <varlistentry><term>Q: 2296 <para><ulink url="faqinstallation.html#AEN684">Newt won't compile 2297 when i try, what's the problem?</ulink></para></term> 2298 <varlistentry><term>Q: 2299 <para><ulink url="faqinstallation.html#AEN690">I've just used up 6 2300 CD-R, only to find that Mondo won't boot!</ulink></para></term> 2301 <varlistentry><term>Q: <para><link linkend="PACKREQ">Lots of 2302 packages, required by Mondo, are missing from my system. What do I 2303 do?</link></para></term> 2304 </variablelist> 2305 <para><anchor id="AEN678"/>Q: Why do I get, "newt.h not found," or 2306 "popt.h not found," several times when I try to install 2307 Mondo?</para> 2308 <para>A: You have not installed libnewt and/or libnewt-devel. 2309 Please do so. Check <ulink url="linuxpackages.html">Related Linux 2310 Packages</ulink> to see what Mondo requires and where you can get 2311 tarballs and RPM's. Make sure you are using the right version of 2312 newt/libnewt. Read the error messages carefully.</para> 2313 <para><anchor id="AEN684"/>Q: Newt won't compile when I try. What's 2314 the problem?</para> 2315 <para>A: You are probably missing popt.h, which newt needs to 2316 compile, it can be found in the 'popt' package. Check your 2317 distribution and see if they have popt, if not check 2318 <ulink url="linuxpackages.html">Related Linux Packages</ulink> to 2319 see where you can get it.</para> 2320 <para><anchor id="AEN690"/>Q: I've just used up 6 CD-R, only to 2321 find that Mondo won't boot!</para> 2322 <para>A: You should have used CD-RW. ;) In the HOWTO, it gives 2323 instructions on how to create a test CD (one, not six).</para> 2324 <variablelist> 2325 <listitem> 2326 <para></para> 2327 </listitem></varlistentry> 2328 <varlistentry><term><para id="PACKREQ"></para>Q: Lots of packages, 2329 required by Mondo, are missing from my system. What do I do?</term> 2330 <varlistentry><term>A: Install them. :) If you are using RPM or DEB 2331 then you'll be told which packages you need. Mondo offers a lot of 2332 those packages on its 2333 <para><ulink url="http://www.mondorescue.org/download/download.html">Download</ulink></para> 2334 web page.</term> 2335 </variablelist> 2336 </sect1> 2337 <sect1 id="faq-hardware"> 2338 <title>Hardware related Questions</title> 2339 <variablelist> 2340 <listitem> 2341 <para></para> 2342 </listitem></varlistentry> 2343 <varlistentry><term>Q: 2344 <para><ulink url="faqhardwarerelated.html#AEN698">Can Mondo handle 2345 CD-RW?</ulink></para></term> 2346 <varlistentry><term>Q: 2347 <para><ulink url="faqhardwarerelated.html#AEN703">Does Mondo 2348 support tape drives?</ulink></para></term> 2349 <varlistentry><term>Q: 2350 <para><ulink url="faqhardwarerelated.html#AEN708">Does Mondo 2351 support my tape drive??</ulink></para></term> 2352 <varlistentry><term>Q: 2353 <para><ulink url="faqhardwarerelated.html#AEN713">How do I copy the 2354 floppy images from the CD to floppy disks?</ulink></para></term> 2355 <varlistentry><term>Q: 2356 <para><ulink url="faqhardwarerelated.html#AEN722">Sometimes, my 2357 laptop won't mount Mondo CD properly, or something. 2358 Umm...</ulink></para></term> 2359 <varlistentry><term>Q: 2360 <para><ulink url="faqhardwarerelated.html#AEN727">Does Mondo 2361 support RAID?</ulink></para></term> 2362 <varlistentry><term>Q: 2363 <para><ulink url="faqhardwarerelated.html#AEN732">Where is my CD 2364 burner, in SCSI terms?</ulink></para></term> 2365 <varlistentry><term>Q: 2366 <para><ulink url="faqhardwarerelated.html#AEN740">Can Mondo handle 2367 SCSI devices?</ulink></para></term> 2368 </variablelist> 2369 <para><anchor id="AEN698"/>Q: Can Mondo handle CD-RW?</para> 2370 <para>A: Yes. Use '-Ow <speed> <device>' to make it 2371 work.</para> 2372 <para><anchor id="AEN703"/>Q: Does Mondo support tape 2373 drives?</para> 2374 <para>A: Yes. See above.</para> 2375 <para><anchor id="AEN708"/>Q: Does Mondo support my tape 2376 drive?</para> 2377 <para>A: If your tape drive and its firmware and the kernel-level 2378 driver support fopen(), fread(), fwrite() and fclose() - standard C 2379 library calls - then yes, Mondo should support it. If not, well, 2380 you need a refund. :) Mondo plays nicely with any sane, sensible 2381 drives. That's most of them, by the way. :) If your drive doesn't 2382 play nicely with Mondo then you may try tinkering with setblksize 2383 and defblksize using 'mt', or tweaking Mondo's block size by 2384 recompiling it with make INTTAPE=4096 or INTTAPE=8192 or something. 2385 Other than that, you need a priest or a refund.</para> 2386 <para><anchor id="AEN713"/>Q: How do I copy the floppy images from 2387 the CD to floppy disks?</para> 2388 <para>A: Mount the CD-ROM, e.g. at /mnt/cdrom. Insert a blank 2389 floppy. Type:</para> 2390 <para></para> 2391 <informaltable><tgroup cols="1"><tbody> 2392 <row> 2393 <entry> 2394 2395 bash# cd /mnt/cdrom/imagesbash# dd if=mindi-boot.1722.img of=/dev/fd0u1722 2396 2397 </entry> 2398 </row> 2399 </tbody></tgroup></informaltable> 2400 2401 <para>Insert another blank floppy and type:</para> 2402 <para></para> 2403 <informaltable><tgroup cols="1"><tbody> 2404 <row> 2405 <entry> 2406 2407 bash# dd if=mindi-data-1.img of=/dev/fd0u1722 2408 2409 </entry> 2410 </row> 2411 </tbody></tgroup></informaltable> 2412 2413 <para>Do the above for each 'mindi-data' disk image.</para> 2414 <para><anchor id="AEN722"/>Q: Sometimes, my laptop won't mount 2415 Mondo CD properly, or something. Umm...</para> 2416 <para>A: Please insert the CD, close the CD-ROM tray, wait a few 2417 seconds and then press Enter to acknowledge insertion of the next 2418 CD. Your laptop is on crack and is sucking a little too hard on the 2419 pipe.</para> 2420 <para><anchor id="AEN727"/>Q: Does Mondo support RAID?</para> 2421 <para>A: Yes. You may backup and restore RAID systems. You may also 2422 backup a non-RAID system and restore as RAID (or vice versa) by 2423 using the mountlist editor to edit your RAID and non-RAID 2424 partitions and their settings. Mondo will do the partitioning and 2425 formatting for you.</para> 2426 <para><anchor id="AEN732"/>Q: Where is my CD burner, in SCSI 2427 terms?</para> 2428 <para>A: Type:</para> 2429 <para></para> 2430 <informaltable><tgroup cols="1"><tbody> 2431 <row> 2432 <entry> 2433 2434 bash# cdrecord -scanbus 2435 2436 </entry> 2437 </row> 2438 </tbody></tgroup></informaltable> 2439 2440 <para>Find your CD burner's device# (e.g. '0,0,0'). Call Mondo with 2441 the switch '-Oc <speed>' -d '<device>'. Or, if you feel 2442 lucky, just use '-Oc 2'; Mondo will (a) assume you want to write at 2443 4x to</para> 2444 <para>a CD-R and (b) will do its best to find your CD 2445 burner.</para> 2446 <para><anchor id="AEN740"/>Q: Can Mondo handle SCSI devices?</para> 2447 <para>A: Mondo should be able to handle almost any hardware. So 2448 long as your kernel and modules support it, Mindi will support it 2449 and therefore so will Mondo.</para> 2450 </sect1> 2451 2452 <sect1 id="faq-backup"> 2453 <title>Backup related Questions</title> 2454 <variablelist> 2455 <listitem> 2456 <para></para> 2457 </listitem></varlistentry> 2458 <varlistentry><term>Q: <para><link linkend="MMKM">Mondo says, 2459 'Cannot run mindi --makemountlist' and aborts. What do I 2460 do?</link></para></term> 2461 <varlistentry><term>Q: <para><ulink url="faqbackup.html#AEN748">Can 2462 Mondo burn CD as they are created?</ulink></para></term> 2463 <varlistentry><term>Q: 2464 <para><ulink url="faqbackup.html#AEN753">When I try to backup to 2465 CD, cdrecord/mkisofs returns an error. Nothing else appears to be 2466 wrong. What do I do?</ulink></para></term> 2467 <varlistentry><term>Q: 2468 <para><ulink url="faqbackup.html#AEN758">Mondo failed to burn my 2469 CD. It said something like, "Error CDB A1 01 02 53 ..." and so on. 2470 What does that mean?</ulink></para></term> 2471 <varlistentry><term>Q: <para><ulink url="faqbackup.html#AEN763">May 2472 I backup my system with one partition layout and restore with 2473 another?</ulink></para></term> 2474 <varlistentry><term>Q: <para><ulink url="faqbackup.html#AEN775">Why 2475 does Mondo need so much free disk space?</ulink></para></term> 2476 <varlistentry><term>Q: 2477 <para><ulink url="faqbackup.html#AEN780">Will Mondo backup 2478 partitions whose formats are not understood by Linux, such as 2479 NTFS?</ulink></para></term> 2480 <varlistentry><term>Q: <para><ulink url="faqbackup.html#AEN785">I 2481 am trying to do something clever, e.g. write my ISO's to an NFS 2482 mount, and I get some weird error messages. What do I 2483 do?</ulink></para></term> 2484 <varlistentry><term>Q: <para><ulink url="faqbackup.html#AEN790">Can 2485 Mondo backup to data files on another partition, e.g. an NFS 2486 mount?</ulink></para></term> 2487 <varlistentry><term>Q: <para><ulink url="faqbackup.html#AEN795">Can 2488 Mondo backup _to_ an NFS partition, i.e. backup over a network? How 2489 about restoring?</ulink></para></term> 2490 <varlistentry><term>Q: 2491 <para><ulink url="faqbackup.html#AEN801">Does Mondo handle System 2492 or Hidden attributes when archiving Dos/Win 2493 files?</ulink></para></term> 2494 <varlistentry><term>Q: <para><ulink url="faqbackup.html#AEN806">Why 2495 do you include IO.SYS and MSDOS.SYS in mondo-vfat, when they belong 2496 to Microsoft and are copyrighted?</ulink></para></term> 2497 <varlistentry><term><para id="MMKM"></para>Q: Mondo says, 'Cannot 2498 run mindi --makemountlist' and aborts. What do I do?</term> 2499 <varlistentry><term>A: Look at /var/log/mindi.log and see what it 2500 says. Also, try typing 'mindi --makemountlist /tmp/mountlist.txt' 2501 to see what Mindi says. Compress the log and send it to the mailing 2502 list if you get stuck.</term> 2503 </variablelist> 2504 <para><anchor id="AEN748"/>Q: Can Mondo burn CD as they are 2505 created?</para> 2506 <para>A: Yes. Use the '-Oc <speed>' switch. Use a negative 2507 number for a dummy burn.</para> 2508 <para><anchor id="AEN753"/>Q: When I try to backup to CD, 2509 cdrecord/mkisofs returns an error. Nothing else appears to be 2510 wrong. What do I do?</para> 2511 <para>A: Upgrade cdrecord and mkisofs.</para> 2512 <para><anchor id="AEN758"/>Q: Mondo failed to burn my CD. It said 2513 something like, "Error CDB A1 01 02 53 ..." and so on. What does 2514 that mean?</para> 2515 <para>A: Cdrecord reported some serious errors while trying to burn 2516 your CD. Check your CD burner, your CD-R and your kernel.</para> 2517 <para><anchor id="AEN763"/>Q: May I backup my system with one 2518 partition layout and restore with another?</para> 2519 <para>A: Yes. Boot in Interactive Mode and edit the mountlist using 2520 the snazzy new mountlist editor. Mondo can now edit your RAID 2521 partitions for you. Just open /dev/md0 (or whatever) and select 2522 "RAID.." to start. Or, to add a RAID device:</para> 2523 <itemizedlist> 2524 <listitem> 2525 <para>Add two or more partitions, of type and mountpoint 2526 'raid'</para> 2527 </listitem> 2528 <listitem> 2529 <para>Add device '/dev/md0' and click OK</para> 2530 </listitem> 2531 <listitem> 2532 <para>Follow the prompts and your own common-sense :)</para> 2533 </listitem> 2534 </itemizedlist> 2535 <para><anchor id="AEN775"/>Q: Why does Mondo need so much free disk 2536 space?</para> 2537 <para>A: Because I'm a bitter, twisted man who lives to torment 2538 you. Mwahahahaha! :-) Mondo has to work around the inadequacies of 2539 mkisofs, cdrecord and your own Linux distribution; in return, it 2540 asks for a lot of free disk space.</para> 2541 <para><anchor id="AEN780"/>Q: Will Mondo backup partitions whose 2542 formats are not understood by Linux, such as NTFS?</para> 2543 <para>A: Yes. Use '-x <device>'. (You can have more than one 2544 device.)</para> 2545 <para><anchor id="AEN785"/>Q: I am trying to do something clever, 2546 e.g. write my ISO's to an NFS mount, and I get some weird error 2547 messages. What do I do?</para> 2548 <para>A: Well, (a) use '-T /tmp' or '-T /home' or something in your 2549 call to Mondo. Oh, and (b) send me /var/log/mondo-archive.log, 2550 please :-)</para> 2551 <para><anchor id="AEN790"/>Q: Can Mondo backup to data files on 2552 another partition, e.g. an NFS mount?</para> 2553 <para>A: Yes. Just backup as usual but add '-d /mnt/nfs' or 2554 wherever your partition is mounted; don't use '-Oc' or '-Ot' at 2555 all; just '-Oi -d /root'. Then, after booting from the floppies 2556 which Mondo generates, you need to type 'ISO' at the 2557 console.</para> 2558 <para><anchor id="AEN795"/>Q: Can Mondo backup _to_ an NFS 2559 partition, i.e. backup over a network? How about restoring?</para> 2560 <para>A: Yes. Use '-On <mount> <directory>'. On my 2561 system, I use:</para> 2562 <para></para> 2563 <informaltable><tgroup cols="1"><tbody> 2564 <row> 2565 <entry> 2566 2567 bash# mondoarchive -On 192.168.1.3:/home/nfs 2568 2569 </entry> 2570 </row> 2571 </tbody></tgroup></informaltable> 2572 2573 <para><anchor id="AEN801"/>Q: Does Mondo handle System or Hidden 2574 attributes when archiving Dos/Win files?</para> 2575 <para>A: No. It probably never will, either. Sorry.</para> 2576 <para><anchor id="AEN806"/>Q: Why do you include IO.SYS and 2577 MSDOS.SYS in mondo-vfat, when they belong to Microsoft and are 2578 copyrighted?</para> 2579 <para>A: Well, I used to, but I don't anymore. However, if you do 2580 have a Windows partition, you can still use 'format-and-kludge-vfat 2581 <DEVICE>/' to format and make bootable a VFAT partition. 2582 AFAIK, I am the only person to write a Linux equivalent of the DOS 2583 "SYS" command.</para> 2584 </sect1> 2585 2586 <sect1 id="faq-compare"> 2587 <title>Compare related Questions</title> 2588 <variablelist> 2589 <listitem> 2590 <para></para> 2591 </listitem></varlistentry> 2592 <varlistentry><term>Q: 2593 <para><ulink url="faqcompare.html#AEN814">When I compare my 2594 archives to my file system, Mondo tells me there are differences or 2595 errors. Are the archives bad?</ulink></para></term> 2596 </variablelist> 2597 <para><anchor id="AEN814"/>Q: When I compare my archives to my file 2598 system, Mondo tells me there are differences or errors. Are the 2599 archives bad?</para> 2600 <para>A: Look at /tmp/changed.files; if the files are logfiles, 2601 temp files or files which you think you may have changed recently 2602 then the archives are simply out of date, albeit only by a few 2603 minutes. Not a problem. However, if lots of files in /usr have 2604 changed or if you get lots of errors then perhaps your CD, your 2605 tapes or even your hardware could be to blame. Check your CD writer 2606 or tape streamer.</para> 2607 <para>Also, don't forget to review /var/log/mondo-archive.log for 2608 more information.</para> 2609 </sect1> 2610 2611 <sect1 id="faq-restore"> 2612 <title>Restore related Questions</title> 2613 <variablelist> 2614 <listitem> 2615 <para></para> 2616 </listitem></varlistentry> 2617 <varlistentry><term>Q: 2618 <para><ulink url="faqrestore.html#AEN822">Can Mondo help me 2619 move/resize/re-allocate my partitions?</ulink></para></term> 2620 <varlistentry><term>Q: <para><ulink url="faqrestore.html#AEN827">My 2621 zip drive is a SCSI drive. When I restore, Mondo craps out, saying 2622 it can't mount the drive (because there is no disk in it). What do 2623 I do?</ulink></para></term> 2624 <varlistentry><term>Q: <para><ulink url="faqrestore.html#AEN832">I 2625 received a message like, 'Fileset NNN failed' during restore. What 2626 does it mean.</ulink></para></term> 2627 <varlistentry><term>Q: 2628 <para><ulink url="faqrestore.html#AEN837">Why does my ext3 2629 partition have less space free than when I backed it 2630 up?</ulink></para></term> 2631 <varlistentry><term>Q: <para><link linkend="SEGF">When I restore 2632 after booting from the CD/floppies, I sometimes get errors like, 2633 "Running out of memory" or "Segmentation fault". What is going 2634 on?</link></para></term> 2635 <varlistentry><term>Q: <para><link linkend="LVM">I can't 2636 nuke-restore my LVM or RAID or LVM-on-RAID setup. I have to do it 2637 manually. What now?</link></para></term> 2638 </variablelist> 2639 <para><anchor id="AEN822"/>Q: Can Mondo help me 2640 move/resize/re-allocate my partitions?</para> 2641 <para>A: Yes. Just backup your system in Interactive Mode using 2642 Mondo. Edit the mountlist when prompted.</para> 2643 <para><anchor id="AEN827"/>Q: My zip drive is a SCSI drive. When I 2644 restore, Mondo craps out, saying it can't mount the drive (because 2645 there is no disk in it). What do I do?</para> 2646 <para>A: Restore in Interactive Mode. Delete the SCSI drive from 2647 the mountlist before you restore. Then Mondo won't try to partition 2648 or format it. Next time you backup, use -E /dev/sdd (or whatever 2649 your zip drive is). The /dev entry will be excluded from the 2650 mountlist but not from the filelist. So, when you restore, you 2651 won't accidentally reformat your zip disk. However, after 2652 restoring, you will find that /dev/sdd (the _file_) will still be 2653 present in your /dev directory. Cool, eh?</para> 2654 <para><anchor id="AEN832"/>Q: I received a message like, 'Fileset 2655 NNN failed' during restore. What does it mean.</para> 2656 <para>A: It usually means either you had a very large (>2GB) 2657 file which was not archived owing to a flaw in your distro or your 2658 filesystem has changed in relation to the backup.</para> 2659 <para><anchor id="AEN837"/>Q: Why does my ext3 partition have less 2660 space free than when I backed it up?</para> 2661 <para>A: Mondo creates a 10MB journal file area. Your journal was 2662 probably smaller than that, hence the difference.</para> 2663 <variablelist> 2664 <listitem> 2665 <para></para> 2666 </listitem></varlistentry> 2667 <varlistentry><term><para id="SEGF"></para>Q: When I restore after 2668 booting from the CD/floppies, I sometimes get errors like, "Running 2669 out of memory" or "Segmentation fault". What is going on?</term> 2670 <varlistentry><term>A: It sounds as if you are running out of disk 2671 space, probably ram disk space. Type 'df -m' to see which 2672 partitions are running low on space. Please send as much 2673 information as you can to the mailing list. This problem is 2674 believed to have been fixed in 1.63 and 1.71.</term> 2675 </variablelist> 2676 <para><anchor id="LVM"/>Q: I can't nuke-restore my LVM or RAID or 2677 LVM-on-RAID setup. I have to do it manually. What now?</para> 2678 <para>A: You said it yourself. You have to do it manually. :) Sorry 2679 but that's about it. At least you have all the tools to do it. I 2680 assume you know how. If you don't, look at i-want-my-lvm (a script 2681 on the ramdisk) if you're using LVM. It should give you a few 2682 clues. RAID is harder but in general Mondo's RAID support is good. 2683 After you've prepped and formatted your drives, run mondorestore 2684 again but say 'no' when asked if you want Mondo to prep or format 2685 your drives.</para> 2686 </sect1> 2687 </chapter> 1348 2688 1349 2689 &gfdl;
Note:
See TracChangeset
for help on using the changeset viewer.