Ignore:
Timestamp:
Mar 2, 2008, 12:38:35 AM (16 years ago)
Author:
Bruno Cornec
Message:
  • Remove floppy support from mindi and mondo and adapt docs
  • Align more mindi with the version from stable
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.5/mondo-doc/mondorescue-howto.sgml

    r1691 r1885  
    3131other supported filesystem partitions to/from CD/DVD-+R/RW media, tape,
    3232NFS, ... and Mindi Linux provides the bootable emergency restore
    33 CD/floppy set which Mondo uses at boot-time.
     33media which Mondo uses at boot-time.
    3434</para>
    3535</abstract>
     
    421421</entry>
    422422<entry>
    423 Mondo calls Mindi. Mindi generates bootable floppy disk images and
     423Mondo calls Mindi. Mindi generates bootable media image and
    424424auxiliary data disk images which are based on your existing Linux
    425425distribution and filesystem. That way, you can be sure Mondo's
     
    445445</entry>
    446446</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 a
    456 tape or NFS user. No, if you are using CD/DVD-R[W]'s and your computer
    457 supports bootable CD's. Tape users only need one floppy but other
    458 users may need more. Mondo will advise accordingly.
    459 </entry>
    460 </row>
    461447</tbody></tgroup></informaltable>
    462448
    463449<itemizedlist>
    464450<listitem>
    465 <para>Try to boot from the first CD of the backup (or the first
    466 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.
     452Choose 'Compare Mode' by typing compare at the boot screen.
     453</para>
    468454</listitem>
    469455<listitem>
     
    471457checkout the compatibility of your system. (see
    472458<link linkend="test-mindi">Testing Mindi</link> for more
    473 details). Remove the CD/floppy; boot your computer as usual;
     459details). Remove the media; boot your computer as usual;
    474460execute as root</para>
    475461<para></para>
     
    553539The '-gF' means you are going to see the pretty yellow-on-blue
    554540screen instead of the boring white-on-black screen. :) It also
    555 means Mondo will not offer to create physical boot floppies for
     541means Mondo will not offer to create physical boot media for
    556542you. It is assumed that you are able to boot from the CD which
    557543Mondo has generated.</para>
     
    612598If you find this to be the case for your computer, please use '-L'
    613599to 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 boot
     600for its media. (NB: This has nothing to do with which boot
    615601loader your hard drive uses.) Also, it is a good habit to specify
    616602your tape streamer with '-d &lt;device&gt;'. You don't usually need
     
    691677<title>Mindi</title>
    692678<para>
    693 Mindi Linux creates a set of boot/root floppy disk images
     679Mindi Linux creates a set of boot/root media images
    694680that will let you perform basic system maintenance on your Linux
    695681distro. The principal virtues of Mindi's boot disks are the fact
     
    757743<listitem>
    758744    <para>If you are not backing up to CD, please create boot
    759     floppies when prompted.</para>
     745    media when prompted.</para>
    760746</listitem>
    761747</itemizedlist>
     
    766752command-line options.</para>
    767753</listitem>
    768 <listitem><para>Insert the CD or the first boot floppy when prompted.
     754<listitem><para>Insert the media when prompted.
    769755                Press &lt;Enter&gt;. Wait a moment.</para></listitem>
    770756<listitem><para>Select a subset of files to restore, e.g. /usr/local/man
     
    778764<itemizedlist>
    779765<listitem>
    780 <para>Boot from CD/floppies.</para>
     766<para>Boot from media.</para>
    781767</listitem>
    782768<listitem><para>Select 'Interactive Mode' at boot-time. (Type
     
    916902</listitem>
    917903<listitem>
    918 <para>floppy disk support (built in)</para>
    919 </listitem>
    920 <listitem>
    921904<para>ext2 file system support (built-in)</para>
    922905</listitem>
     
    929912also</para>
    930913<para>vfat support in the active kernel - mindi needs this when creating
    931 syslinux boot floppies</para>
     914syslinux boot media</para>
    932915</listitem>
    933916</itemizedlist>
     
    940923module. It does require that your kernel support the initrd
    941924initial ramdisk facility. Typically this is supported by the Linux
    942 kernel. Modules used are needed to support the CD, floppy disks,
     925kernel. Modules used are needed to support the CD,
    943926hard disks, etc. If the support is modular, then the modules will
    944927be incorporated in a boot disk by Mindi. If the support is built-in
     
    12331216Do you want to use your own kernel to build the boot disk (y/n) ?y
    12341217Would you like to use LILO (instead of syslinux)
    1235 for your boot CD/floppies (y/n) ?n
     1218for your boot media (y/n) ?n
    12361219Analyzing dependency requirements                               Done.
    12371220Making complete dependency list                                 Done.
     
    12651248Failed to copy /boot/vmlinuz-2.6.12-15mdk-i686-up-4GB to ramdisk
    12661249
    1267 Warning - failed to create 1.44MB boot/root floppies
    1268 
    1269 Warning - failed to create 1.72MB boot image. Please reduce your kernel's size
    1270 
    1271 if you want to make a 1.72MB floppy disk.
    1272 
    12731250Making 2880KB boot disk...........................mkfs.vfat 2.10 (22 Sep 2003)
    12741251... 2880 KB boot disks were created OK                          Done.
    12751252In the directory '/root/images/mindi' you will find the images:-
    12761253   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) ?n
    12781254Shall I make a bootable CD image? (y/n) y
    12791255NB: Mindi's bootable CD always uses isolinux.
     
    12901266
    12911267<para>If your kernel is too large (more than about 900KB) then you
    1292 cannot make boot floppies, although you can still make a bootable
     1268cannot make boot media, although you can still make a bootable
    12931269CD image. The easiest way to test Mindi in either case is to say
    12941270'n' to its first question and 'y' to its second, then use the
     
    15371513isn't a good idea unless you're a Mondo expert because they'll try
    15381514to 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 floppies
     1515archives are on the CD's). Or, you can boot from the Mindi media
    15401516(or mondorescue.iso) and hit ENTER a few times to restore.</para>
    15411517<para>Those ISO images can also be used for a PXE restore. For this
     
    19141890</para>
    19151891<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 floppy disk
    1917 images to give you the same functionality as the CD (minus the
    1918 archives, of course) on floppies. Remember, your Mondo CD is a
     1892take heart: the first backup media of each set contains disk
     1893images to give you the same functionality as this media (minus the
     1894archives, of course) on other boot media. Remember, your Mondo CD is a
    19191895fully functional CD-based mini-distribution as well as a recovery
    19201896CD.</para>
     
    20181994<listitem>
    20191995<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 the
     1996to your hard disk, USB key, ..., gzip it and e-mail it to the
    20211997&ML;.</para>
    20221998</listitem>
     
    23612337<para>It is now possible to restore to a live filesystem using
    23622338Mondo. In other words, you do not have to boot your PC from your
    2363 CD/floppy in order to restore files. Mondo was originally designed
     2339media in order to restore files. Mondo was originally designed
    23642340for disaster recovery - situations in which you cannot boot your
    23652341PC. If you can boot your PC, it is not really a disaster, is it? :)
     
    23902366Choose your type of backup media. The live restoration process is
    23912367very similar to what you'll experience if you type mondorestore
    2392 with no parameters after booting from a Mondo CD/floppy.
     2368with no parameters after booting from a Mondo media.
    23932369</entry>
    23942370</row>
     
    24042380tape backup, the tape itself should be enough. If you generated a
    24052381CD backup, the first CD should be enough. Otherwise, you may need
    2406 the boot floppy.
     2382the boot media.
    24072383</entry>
    24082384</row>
     
    26632639</qandaentry>
    26642640<qandaentry>
    2665 <question><para>Q: Why do you insist on putting floppy
     2641<question><para>Q: Why do you insist on putting media
    26662642disk images on Mondo CD? They waste space and I never use them. The
    2667 CD works just fine, so why keep the floppy disk images?</para>
     2643CD works just fine, so why keep the media disk images?</para>
    26682644</question>
    26692645<answer>
     
    27432719your kernel does not support these things, Mondo will not boot from
    27442720your 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
     2721kernel instead of your own.
     2722</para>
     2723</answer>
     2724</qandaentry>
     2725<qandaentry>
     2726<question><para>Q: The LILO Mondo media takes ages to
    27542727                boot. How can I speed it up?</para></question>
    27552728<answer>
     
    27732746</qandaentry>
    27742747<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?
    27912749It says my kernel is flawed/outdated/ whatever, and when I wrote to
    27922750the ML, they told me the same thing... but I still don't get it. I
     
    28082766aside for a large tarball containing the data disks, a list of all
    28092767files backed up, and other sundries. If Mondo and Mindi do their
    2810 respective jobs then you won't need additional floppies, just the
    2811 boot floppy and the tape(s).</para>
     2768respective jobs then you won't need additional media, just the
     2769boot media and the tape(s).</para>
    28122770<para>For the moment mondorescue doesn't support OBDR for tapes.
    28132771        Feel free to produce patches for it :-)</para>
     
    28372795at <link linkend="overview-sysrq-kernelreq">Linux Kernel support</link> to
    28382796see 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 are
    2847 created by Mondo) and also in the 'images' directory on the first
    2848 CD of your backup set, if you have backed up to CD. You can copy
    2849 the images to disk as follows:-</para>
    2850 <informaltable><tgroup cols="1"><tbody>
    2851 <row>
    2852 <entry>
    2853         Put an empty Boot floppy
    2854 </entry>
    2855 </row>
    2856 <row>
    2857 <entry>
    2858         bash# fdformat /dev/fd0u1722
    2859 </entry>
    2860 </row>
    2861 <row>
    2862 <entry>
    2863         bash# dd if=/root/images/mindi/mindi-boot.1722.img of=/dev/fd0u1722
    2864 </entry>
    2865 </row>
    2866 <row>
    2867 <entry>
    2868         Put an empty Data floppy
    2869 </entry>
    2870 </row>
    2871 <row>
    2872 <entry>
    2873         bash# fdformat /dev/fd0
    2874 </entry>
    2875 </row>
    2876 <row>
    2877 <entry>
    2878         bash# dd if=/root/images/mindi/mindi-data-N.img of=/dev/fd0
    2879 </entry>
    2880 </row>
    2881 <row>
    2882 <entry>
    2883         Replace N with 1, 2, etc.
    2884 
    2885 </entry>
    2886 </row>
    2887 </tbody></tgroup></informaltable>
    28882797</answer>
    28892798</qandaentry>
     
    30132922</qandaentry>
    30142923<qandaentry>
    3015 <question><para>Q: How do I copy the floppy images from
    3016                 the CD to floppy disks?</para></question>
    3017 <answer>
    3018 <para>A: Mount the CD-ROM, e.g. at /mnt/cdrom. Insert a blank
    3019 floppy. Type:</para>
    3020 <para></para>
    3021 <informaltable><tgroup cols="1"><tbody>
    3022 <row>
    3023 <entry>
    3024 
    3025         bash# cd /mnt/cdrom/images
    3026 </entry>
    3027 </row>
    3028 <row>
    3029 <entry>
    3030         bash# dd if=mindi-boot.1722.img of=/dev/fd0u1722
    3031 
    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/fd0u1722
    3043 
    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>
    30522924<question><para>Q: Sometimes, my laptop won't mount
    30532925                Mondo CD properly, or something. Umm...</para></question>
     
    32133085<para>A: Yes. Just backup as usual but add '-d /mnt/nfs' or
    32143086wherever your partition is mounted; don't use '-Oc' or '-Ot' at
    3215 all; just '-Oi -d /root'. Then, after booting from the floppies
     3087all; just '-Oi -d /root'. Then, after booting from the media
    32163088which Mondo generates, you need to type 'ISO' at the
    32173089console.</para>
     
    33143186<qandaentry>
    33153187<question><para id="SEGF">Q: When I restore after
    3316 booting from the CD/floppies, I sometimes get errors like, "Running
     3188booting from the media, I sometimes get errors like, "Running
    33173189out of memory" or "Segmentation fault". What is going on?</para></question>
    33183190<answer><para>A: It sounds as if you are running out of disk
Note: See TracChangeset for help on using the changeset viewer.