Changeset 1885 in MondoRescue for branches/2.2.5/mondo-doc/mondorescue-howto.sgml
- Timestamp:
- Mar 2, 2008, 12:38:35 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.5/mondo-doc/mondorescue-howto.sgml
r1691 r1885 31 31 other supported filesystem partitions to/from CD/DVD-+R/RW media, tape, 32 32 NFS, ... and Mindi Linux provides the bootable emergency restore 33 CD/floppy setwhich Mondo uses at boot-time.33 media which Mondo uses at boot-time. 34 34 </para> 35 35 </abstract> … … 421 421 </entry> 422 422 <entry> 423 Mondo calls Mindi. Mindi generates bootable floppy disk imagesand423 Mondo calls Mindi. Mindi generates bootable media image and 424 424 auxiliary data disk images which are based on your existing Linux 425 425 distribution and filesystem. That way, you can be sure Mondo's … … 445 445 </entry> 446 446 </row> 447 <row>448 <entry>449 <ulink url="images/10cd.png"><inlinemediaobject><imageobject>450 <imagedata fileref="images/10cd-mini">451 </imageobject></inlinemediaobject>452 </ulink>453 </entry>454 <entry>455 Do you want to create a boot floppy at the end? Yes, if you're a456 tape or NFS user. No, if you are using CD/DVD-R[W]'s and your computer457 supports bootable CD's. Tape users only need one floppy but other458 users may need more. Mondo will advise accordingly.459 </entry>460 </row>461 447 </tbody></tgroup></informaltable> 462 448 463 449 <itemizedlist> 464 450 <listitem> 465 <para>Try to boot from the first CD of the backup (or the first466 floppy, if you made floppies). Choose 'Compare Mode' by typing 467 compare at the boot screen.</para>451 <para>Try to boot from the first media of the backup. 452 Choose 'Compare Mode' by typing compare at the boot screen. 453 </para> 468 454 </listitem> 469 455 <listitem> … … 471 457 checkout the compatibility of your system. (see 472 458 <link linkend="test-mindi">Testing Mindi</link> for more 473 details). Remove the CD/floppy; boot your computer as usual;459 details). Remove the media; boot your computer as usual; 474 460 execute as root</para> 475 461 <para></para> … … 553 539 The '-gF' means you are going to see the pretty yellow-on-blue 554 540 screen instead of the boring white-on-black screen. :) It also 555 means Mondo will not offer to create physical boot floppiesfor541 means Mondo will not offer to create physical boot media for 556 542 you. It is assumed that you are able to boot from the CD which 557 543 Mondo has generated.</para> … … 612 598 If you find this to be the case for your computer, please use '-L' 613 599 to force Mondo to use LILO instead of Syslinux as the boot loader 614 for its CD/floppies. (NB: This has nothing to do with which boot600 for its media. (NB: This has nothing to do with which boot 615 601 loader your hard drive uses.) Also, it is a good habit to specify 616 602 your tape streamer with '-d <device>'. You don't usually need … … 691 677 <title>Mindi</title> 692 678 <para> 693 Mindi Linux creates a set of boot/root floppy diskimages679 Mindi Linux creates a set of boot/root media images 694 680 that will let you perform basic system maintenance on your Linux 695 681 distro. The principal virtues of Mindi's boot disks are the fact … … 757 743 <listitem> 758 744 <para>If you are not backing up to CD, please create boot 759 floppieswhen prompted.</para>745 media when prompted.</para> 760 746 </listitem> 761 747 </itemizedlist> … … 766 752 command-line options.</para> 767 753 </listitem> 768 <listitem><para>Insert the CD or the first boot floppywhen prompted.754 <listitem><para>Insert the media when prompted. 769 755 Press <Enter>. Wait a moment.</para></listitem> 770 756 <listitem><para>Select a subset of files to restore, e.g. /usr/local/man … … 778 764 <itemizedlist> 779 765 <listitem> 780 <para>Boot from CD/floppies.</para>766 <para>Boot from media.</para> 781 767 </listitem> 782 768 <listitem><para>Select 'Interactive Mode' at boot-time. (Type … … 916 902 </listitem> 917 903 <listitem> 918 <para>floppy disk support (built in)</para>919 </listitem>920 <listitem>921 904 <para>ext2 file system support (built-in)</para> 922 905 </listitem> … … 929 912 also</para> 930 913 <para>vfat support in the active kernel - mindi needs this when creating 931 syslinux boot floppies</para>914 syslinux boot media</para> 932 915 </listitem> 933 916 </itemizedlist> … … 940 923 module. It does require that your kernel support the initrd 941 924 initial ramdisk facility. Typically this is supported by the Linux 942 kernel. Modules used are needed to support the CD, floppy disks,925 kernel. Modules used are needed to support the CD, 943 926 hard disks, etc. If the support is modular, then the modules will 944 927 be incorporated in a boot disk by Mindi. If the support is built-in … … 1233 1216 Do you want to use your own kernel to build the boot disk (y/n) ?y 1234 1217 Would you like to use LILO (instead of syslinux) 1235 for your boot CD/floppies(y/n) ?n1218 for your boot media (y/n) ?n 1236 1219 Analyzing dependency requirements Done. 1237 1220 Making complete dependency list Done. … … 1265 1248 Failed to copy /boot/vmlinuz-2.6.12-15mdk-i686-up-4GB to ramdisk 1266 1249 1267 Warning - failed to create 1.44MB boot/root floppies1268 1269 Warning - failed to create 1.72MB boot image. Please reduce your kernel's size1270 1271 if you want to make a 1.72MB floppy disk.1272 1273 1250 Making 2880KB boot disk...........................mkfs.vfat 2.10 (22 Sep 2003) 1274 1251 ... 2880 KB boot disks were created OK Done. 1275 1252 In the directory '/root/images/mindi' you will find the images:- 1276 1253 mindi-data-1.img mindi-data-2.img mindi-data-3.img mindi-data-4.img mindi-data-5.img mindi-root.1440.img 1277 Would you like to create boot+data floppy disks now (y/n) ?n1278 1254 Shall I make a bootable CD image? (y/n) y 1279 1255 NB: Mindi's bootable CD always uses isolinux. … … 1290 1266 1291 1267 <para>If your kernel is too large (more than about 900KB) then you 1292 cannot make boot floppies, although you can still make a bootable1268 cannot make boot media, although you can still make a bootable 1293 1269 CD image. The easiest way to test Mindi in either case is to say 1294 1270 'n' to its first question and 'y' to its second, then use the … … 1537 1513 isn't a good idea unless you're a Mondo expert because they'll try 1538 1514 to restore over a network by default, which is silly because the 1539 archives are on the CD's). Or, you can boot from the Mindi floppies1515 archives are on the CD's). Or, you can boot from the Mindi media 1540 1516 (or mondorescue.iso) and hit ENTER a few times to restore.</para> 1541 1517 <para>Those ISO images can also be used for a PXE restore. For this … … 1914 1890 </para> 1915 1891 <para>If you find that you cannot make your PC boot from the CD, 1916 take heart: the first backup CD of each set contains floppydisk1917 images to give you the same functionality as th e CD(minus the1918 archives, of course) on floppies. Remember, your Mondo CD is a1892 take heart: the first backup media of each set contains disk 1893 images to give you the same functionality as this media (minus the 1894 archives, of course) on other boot media. Remember, your Mondo CD is a 1919 1895 fully functional CD-based mini-distribution as well as a recovery 1920 1896 CD.</para> … … 2018 1994 <listitem> 2019 1995 <para>If it did not work then please copy /tmp/mondorestore.log to 2020 a floppy (or to your hard disk, USB key, ...), gzip it and e-mail it to the1996 to your hard disk, USB key, ..., gzip it and e-mail it to the 2021 1997 &ML;.</para> 2022 1998 </listitem> … … 2361 2337 <para>It is now possible to restore to a live filesystem using 2362 2338 Mondo. In other words, you do not have to boot your PC from your 2363 CD/floppyin order to restore files. Mondo was originally designed2339 media in order to restore files. Mondo was originally designed 2364 2340 for disaster recovery - situations in which you cannot boot your 2365 2341 PC. If you can boot your PC, it is not really a disaster, is it? :) … … 2390 2366 Choose your type of backup media. The live restoration process is 2391 2367 very similar to what you'll experience if you type mondorestore 2392 with no parameters after booting from a Mondo CD/floppy.2368 with no parameters after booting from a Mondo media. 2393 2369 </entry> 2394 2370 </row> … … 2404 2380 tape backup, the tape itself should be enough. If you generated a 2405 2381 CD backup, the first CD should be enough. Otherwise, you may need 2406 the boot floppy.2382 the boot media. 2407 2383 </entry> 2408 2384 </row> … … 2663 2639 </qandaentry> 2664 2640 <qandaentry> 2665 <question><para>Q: Why do you insist on putting floppy2641 <question><para>Q: Why do you insist on putting media 2666 2642 disk images on Mondo CD? They waste space and I never use them. The 2667 CD works just fine, so why keep the floppydisk images?</para>2643 CD works just fine, so why keep the media disk images?</para> 2668 2644 </question> 2669 2645 <answer> … … 2743 2719 your kernel does not support these things, Mondo will not boot from 2744 2720 your CD. However, when running Mindi, you may choose to use _its_ 2745 kernel instead of your own. In addition, you may boot from floppy 2746 disk images instead the CD: copy the disk images from the CD 2747 /images directory to floppy disks, using 'dd'. Take a look at 2748 <link linkend="copybootdatadisk">Copy boot data 2749 disks</link> on how to make those.</para> 2750 </answer> 2751 </qandaentry> 2752 <qandaentry> 2753 <question><para>Q: The Mondo CD/floppy takes ages to 2721 kernel instead of your own. 2722 </para> 2723 </answer> 2724 </qandaentry> 2725 <qandaentry> 2726 <question><para>Q: The LILO Mondo media takes ages to 2754 2727 boot. How can I speed it up?</para></question> 2755 2728 <answer> … … 2773 2746 </qandaentry> 2774 2747 <qandaentry> 2775 <question><para>Q: What if my PC won't boot from a 2776 CD?</para></question> 2777 <answer> 2778 <para>A: Copy the image files from the CD /images directory, using 2779 the dd command. Take a look at 2780 <link linkend="copybootdatadisk">Copy boot data 2781 disks</link> on how to make those. Then boot from the first 2782 floppy; follow it up with the data disks; finally, type 'mount 2783 /mnt/cdrom' and then utilize the restore script as usual, e.g. 2784 mondorestore.</para> 2785 <para>A: You may also want to boot using the network with PXE. 2786 Look at the README.pxe file of mindi to know more details on how.</para> 2787 </answer> 2788 </qandaentry> 2789 <qandaentry> 2790 <question><para>Q: But why won't Mondo boot from my CD? 2748 <question><para>Q: Why won't Mondo boot from my CD? 2791 2749 It says my kernel is flawed/outdated/ whatever, and when I wrote to 2792 2750 the ML, they told me the same thing... but I still don't get it. I … … 2808 2766 aside for a large tarball containing the data disks, a list of all 2809 2767 files backed up, and other sundries. If Mondo and Mindi do their 2810 respective jobs then you won't need additional floppies, just the2811 boot floppyand the tape(s).</para>2768 respective jobs then you won't need additional media, just the 2769 boot media and the tape(s).</para> 2812 2770 <para>For the moment mondorescue doesn't support OBDR for tapes. 2813 2771 Feel free to produce patches for it :-)</para> … … 2837 2795 at <link linkend="overview-sysrq-kernelreq">Linux Kernel support</link> to 2838 2796 see what your kernel must support.</para> 2839 </answer>2840 </qandaentry>2841 <qandaentry>2842 <question>2843 <para id="copybootdatadisk">Q: How do i copy boot+data disk images to physical floppy disks ?</para>2844 </question>2845 <answer>2846 <para>A: The images are in /root/images/mindi (even if they are2847 created by Mondo) and also in the 'images' directory on the first2848 CD of your backup set, if you have backed up to CD. You can copy2849 the images to disk as follows:-</para>2850 <informaltable><tgroup cols="1"><tbody>2851 <row>2852 <entry>2853 Put an empty Boot floppy2854 </entry>2855 </row>2856 <row>2857 <entry>2858 bash# fdformat /dev/fd0u17222859 </entry>2860 </row>2861 <row>2862 <entry>2863 bash# dd if=/root/images/mindi/mindi-boot.1722.img of=/dev/fd0u17222864 </entry>2865 </row>2866 <row>2867 <entry>2868 Put an empty Data floppy2869 </entry>2870 </row>2871 <row>2872 <entry>2873 bash# fdformat /dev/fd02874 </entry>2875 </row>2876 <row>2877 <entry>2878 bash# dd if=/root/images/mindi/mindi-data-N.img of=/dev/fd02879 </entry>2880 </row>2881 <row>2882 <entry>2883 Replace N with 1, 2, etc.2884 2885 </entry>2886 </row>2887 </tbody></tgroup></informaltable>2888 2797 </answer> 2889 2798 </qandaentry> … … 3013 2922 </qandaentry> 3014 2923 <qandaentry> 3015 <question><para>Q: How do I copy the floppy images from3016 the CD to floppy disks?</para></question>3017 <answer>3018 <para>A: Mount the CD-ROM, e.g. at /mnt/cdrom. Insert a blank3019 floppy. Type:</para>3020 <para></para>3021 <informaltable><tgroup cols="1"><tbody>3022 <row>3023 <entry>3024 3025 bash# cd /mnt/cdrom/images3026 </entry>3027 </row>3028 <row>3029 <entry>3030 bash# dd if=mindi-boot.1722.img of=/dev/fd0u17223031 3032 </entry>3033 </row>3034 </tbody></tgroup></informaltable>3035 3036 <para>Insert another blank floppy and type:</para>3037 <para></para>3038 <informaltable><tgroup cols="1"><tbody>3039 <row>3040 <entry>3041 3042 bash# dd if=mindi-data-1.img of=/dev/fd0u17223043 3044 </entry>3045 </row>3046 </tbody></tgroup></informaltable>3047 3048 <para>Do the above for each 'mindi-data' disk image.</para>3049 </answer>3050 </qandaentry>3051 <qandaentry>3052 2924 <question><para>Q: Sometimes, my laptop won't mount 3053 2925 Mondo CD properly, or something. Umm...</para></question> … … 3213 3085 <para>A: Yes. Just backup as usual but add '-d /mnt/nfs' or 3214 3086 wherever your partition is mounted; don't use '-Oc' or '-Ot' at 3215 all; just '-Oi -d /root'. Then, after booting from the floppies3087 all; just '-Oi -d /root'. Then, after booting from the media 3216 3088 which Mondo generates, you need to type 'ISO' at the 3217 3089 console.</para> … … 3314 3186 <qandaentry> 3315 3187 <question><para id="SEGF">Q: When I restore after 3316 booting from the CD/floppies, I sometimes get errors like, "Running3188 booting from the media, I sometimes get errors like, "Running 3317 3189 out of memory" or "Segmentation fault". What is going on?</para></question> 3318 3190 <answer><para>A: It sounds as if you are running out of disk
Note:
See TracChangeset
for help on using the changeset viewer.