source: MondoRescue/branches/2.06/documentation/quickstart.sgml @ 323

Last change on this file since 323 was 323, checked in by bcornec, 15 years ago

Initial import of the documentation in SGML format.
Since the original SGML file and LyX files have not been published,
thus not preserved, I'll restart from scratch by importing the HTML
doc converted into SGML/DocBook.
Then real work begins ;-)

File size: 12.3 KB
Line 
1<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
2
3<article>
4<articleinfo>
5<!-- $MVD$:app("MicroVision WebExpress","769") -->
6<!-- $MVD$:template("","0","0") -->
7<!-- $MVD$:color("18","840084","Custom #1","0") -->
8<!-- $MVD$:color("19","e0e0e0","Custom #2","0") -->
9<!-- $MVD$:color("20","80ff","Orange","1") -->
10<!-- $MVD$:color("21","ffd6ce","Lavender","1") -->
11<!-- $MVD$:fontset("Courier","Courier New") -->
12<title>QuickStart</title>
13</articleinfo>
14
15<para></para>
16<informaltable><tgroup cols="3"><tbody>
17<row>
18<entry>
19Mondo Rescue and Mindi Linux HOWTO
20</entry>
21</row>
22<row>
23<entry>
24<ulink url="version.html">Prev</ulink>
25</entry>
26<entry></entry>
27<entry>
28<ulink url="overview.html">Next</ulink>
29</entry>
30</row>
31</tbody></tgroup></informaltable>
32
33<sect1 id="QUICKSTAR"><title>Chapter 2. QuickStart</title>
34<itemizedlist>
35<listitem>
36<para>We recommend that you read the complete Mondo Rescue and
37Mindi Linux HOWTO. However, if you are too busy or impatient, then
38please use this QuickStart guide to stay out of trouble.</para>
39</listitem>
40<listitem>
41<para>Install the tarball, RPM, or DEB mindi package and mondo
42package. (see <ulink url="installation.html">Installation</ulink>
43for more details)</para>
44</listitem>
45<listitem>
46<para>Execute as root (type 'su -' to become root if you are not
47logged in as root)</para>
48<para></para>
49<informaltable><tgroup cols="1"><tbody>
50<row>
51<entry>
52
53bash# mondoarchive
54
55</entry>
56</row>
57</tbody></tgroup></informaltable>
58
59</listitem>
60</itemizedlist>
61<para></para>
62<informaltable><tgroup cols="2"><tbody>
63<row>
64<entry>
65<ulink url="images/mamain.png"><inlinemediaobject><imageobject>
66<imagedata fileref="images/mamain-mini.png">
67</imageobject></inlinemediaobject>
68</ulink>
69</entry>
70<entry>
71Choose from the list of supported backup media types. The media you
72will use most often are CD-R, CD-RW, tape, NFS and hard disk. If
73you want to backup/restore over a network, choose 'NFS'. If you
74want to backup/restore to/from a local partition or if you simply
75want to store the ISO images in a local directory until you have
76time or facilities to burn them to CD's, choose 'hard disk'. If you
77choose 'CD-R[W]' or 'tape' then in general your hardware will be
78detected and configured for you.
79</entry>
80</row>
81<row>
82<entry>
83<ulink url="images/maburnproof.png"><inlinemediaobject><imageobject>
84<imagedata fileref="images/maburnproof-mini.png">
85</imageobject></inlinemediaobject>
86</ulink>
87</entry>
88<entry>
89If you are backing up to CD-R[W] then Mondo will ask you if your CD
90burner has BurnProof technology, is inside a laptop, or is
91otherwise eccentric. If you are backing up to a tape streamer then
92you will not see this message.
93</entry>
94</row>
95<row>
96<entry>
97<ulink url="images/macompression.png"><inlinemediaobject><imageobject>
98<imagedata fileref="images/macompression-mini.png">
99</imageobject></inlinemediaobject>
100</ulink>
101</entry>
102<entry>
103How much compression do you want? None, if your tape streamer has
104built-in hardware compression. Maximum, if your CPU is blazingly
105fast. Average should do just fine for most situations.
106</entry>
107</row>
108<row>
109<entry>
110<ulink url="images/mainclude.png"><inlinemediaobject><imageobject>
111<imagedata fileref="images/mainclude-mini.png">
112</imageobject></inlinemediaobject>
113</ulink>
114</entry>
115<entry>
116If you want to backup the whole computer (excluding /tmp and /proc,
117naturally) then leave this as / which is the default. Otherwise,
118specify subsets, (e.g. /usr/local /home ) being sure to put a space
119in between each path.
120</entry>
121</row>
122<row>
123<entry>
124<ulink url="images/maexclude.png"><inlinemediaobject><imageobject>
125<imagedata fileref="images/maexclude-mini.png">
126</imageobject></inlinemediaobject>
127</ulink>
128</entry>
129<entry>
130If you are backing up your whole computer then you might want to
131exclude certain directories, e.g. /shared/MP3. Please specify them
132in the 'exclude directories' dialog box. Please put a space in
133between each path, e.g. /shared/private /scratch /nfs /windows
134</entry>
135</row>
136<row>
137<entry>
138<ulink url="images/makernel.png"><inlinemediaobject><imageobject>
139<imagedata fileref="images/makernel-mini.png">
140</imageobject></inlinemediaobject>
141</ulink>
142</entry>
143<entry>
144Is your kernel sane? Red Hat, Mandrake, SuSE and Slackware users
145should in general say 'yes' because these vendors are good at
146producing reliable kernels. If you are using Debian, Gentoo or LFS
147then your kernel might be non-standard, in which case say 'no' to
148use Mondo's failsafe kernel.
149</entry>
150</row>
151<row>
152<entry>
153<ulink url="images/maverifyq.png"><inlinemediaobject><imageobject>
154<imagedata fileref="images/maverifyq-mini.png">
155</imageobject></inlinemediaobject>
156</ulink>
157</entry>
158<entry>
159If you want to verify the archives after writing them to media, say
160'yes' here. If you have absolute faith in your hardware and your
161Linux distribution, say 'no'... and a little prayer.
162</entry>
163</row>
164<row>
165<entry>
166<ulink url="images/maproceedq.png"><inlinemediaobject><imageobject>
167<imagedata fileref="images/maproceedq-mini.png">
168</imageobject></inlinemediaobject>
169</ulink>
170</entry>
171<entry>
172If you are sure you want to go ahead, say 'yes' and find something
173else to do while Mondo backs up your computer. If you say 'no' then
174you will be unceremoniously dumped at the shell prompt. :-)
175</entry>
176</row>
177<row>
178<entry>
179<ulink url="images/1.png"><inlinemediaobject><imageobject>
180<imagedata fileref="images/1-mini.png">
181</imageobject></inlinemediaobject>
182</ulink>
183</entry>
184<entry>
185The backup process will now commence. There are some pre-backup
186tasks to be carried out first but the backup is essentially
187underway. To simplify the backup process, you were asked a series
188of questions. Next time, if you like, you could call mondoarchive
189with various command-line switches to control its behavior, instead
190of answering a series of questions. See the man page for details.
191</entry>
192</row>
193<row>
194<entry>
195<ulink url="images/3.png"><inlinemediaobject><imageobject>
196<imagedata fileref="images/3-mini.png">
197</imageobject></inlinemediaobject>
198</ulink>
199</entry>
200<entry>
201Mondo will make a catalog of all files to be backed up. This may
202take up to five minutes. The list of files will be divided into
203sets, approximately 4 MB (before compression) of files per set.
204This typically takes one minute.
205</entry>
206</row>
207<row>
208<entry>
209<ulink url="images/4.png"><inlinemediaobject><imageobject>
210<imagedata fileref="images/1-mini.png">
211</imageobject></inlinemediaobject>
212</ulink>
213</entry>
214<entry>
215Mondo calls Mindi. Mindi generates bootable floppy disk images and
216auxiliary data disk images which are based on your existing Linux
217distribution and filesystem. That way, you can be sure Mondo's
218tools will be compatible with your existing filesystems and
219binaries: Mondo's tools are your tools. Mindi takes up to five
220minutes to run.
221</entry>
222</row>
223<row>
224<entry>
225<ulink url="images/5tape.png"><inlinemediaobject><imageobject>
226<imagedata fileref="images/5tape-mini.png">
227</imageobject></inlinemediaobject>
228</ulink>
229</entry>
230<entry>
231Finally, Mondo begins backing up your computer. This process may
232take a few minutes or a few hours, depending on how much data you
233are archiving, how fast your CPU is, how much RAM you have, and so
234on. It will backup your regular files and then your large files
235(files larger than approximately 32MB). If you have opted to verify
236your backups, Mondo will do that too.
237</entry>
238</row>
239<row>
240<entry>
241<ulink url="images/10cd.png"><inlinemediaobject><imageobject>
242<imagedata fileref="images/10cd-mini.png">
243</imageobject></inlinemediaobject>
244</ulink>
245</entry>
246<entry>
247Do you want to create a boot floppy at the end? Yes, if you're a
248tape or NFS user. No, if you are using CD-R[W]'s and your computer
249supports bootable CD's. Tape users only need one floppy but other
250users may need more. Mondo will advise accordingly.
251</entry>
252</row>
253</tbody></tgroup></informaltable>
254
255<itemizedlist>
256<listitem>
257<para>Try to boot from the first CD of the backup (or the first
258floppy, if you made floppies). Choose 'Compare Mode' by typing
259compare at the boot screen.</para>
260</listitem>
261<listitem>
262<para>If you can boot, fine. If not, make a Mindi "Test" CD to
263checkout the compatibility of your system. (see
264<ulink url="testingmindi.html">Testing Mindi</ulink> for more
265details). Remove the CD/floppy; boot your computer as usual;
266execute as root</para>
267<para></para>
268<informaltable><tgroup cols="1"><tbody>
269<row>
270<entry>
271
272bash# mindibash# cd /root/images/mindi
273
274</entry>
275</row>
276</tbody></tgroup></informaltable>
277
278<para>(for CD-R)</para>
279<para></para>
280<informaltable><tgroup cols="1"><tbody>
281<row>
282<entry>
283
284bash# cdrecord dev=0,0,0 speed=4 -eject -v mindi.iso
285
286</entry>
287</row>
288</tbody></tgroup></informaltable>
289
290<para>(for CD-RW)</para>
291<para></para>
292<informaltable><tgroup cols="1"><tbody>
293<row>
294<entry>
295
296bash# cdrecord dev=0,0,0 speed=4 blank=fast -eject -v mindi.iso
297
298</entry>
299</row>
300</tbody></tgroup></informaltable>
301
302<para>Reboot your system with the created Mindi CD, with the BIOS
303set to boot from CD. If the result is a command line in 'Expert'
304mode, your system checks out. Remove the CD and reboot your
305system.</para>
306</listitem>
307<listitem>
308<para>If you still cannot boot from Mindi's CD then please e-mail
309the <ulink url="../../feedback/feedback.html">mailing list</ulink>
310for help.</para>
311</listitem>
312</itemizedlist>
313<para>When making a backup on a live system, there will always be
314processes running that will write out data on the system after you
315have made the backup and before you have made the compare, this
316will result in difference showing up when comparing your backup.
317For a full explanation and what can be done to avoid this, please
318read this section.</para>
319<itemizedlist>
320<listitem>
321<para>This QuickStart covers the ideal case. Upon receiving any
322system feedback/errors, read each related HOWTO section.</para>
323<para>Example 2-1. A test backup of your /home directory to CD-Rs
324using the command line</para>
325<para></para>
326<informaltable><tgroup cols="1"><tbody>
327<row>
328<entry>
329
330bash# mondoarchive -OVc 4 -I /home -gF
331
332</entry>
333</row>
334</tbody></tgroup></informaltable>
335
336<para>The 'c' means you must be writing to CD-Rs, not CD-RWs (the
337latter would require 'w' instead of 'c'). The '4' is the speed of
338your CD writer. The string after -I is the path to be backed up.
339The '-gF' means you are going to see the pretty yellow-on-blue
340screen instead of the boring white-on-black screen. :) It also
341means Mondo will not offer to create physical boot floppies for
342you. It is assumed that you are able to boot from the CD which
343Mondo has generated.</para>
344<para>Example 2-2. A backup of your whole filesystem to NFS using
345the command line</para>
346<para></para>
347<informaltable><tgroup cols="1"><tbody>
348<row>
349<entry>
350
351bash# mkdir -p /mnt/nfsbash# mount 192.168.1.28:/home/nfs /mnt/nfsbash# mondoarchive -OVn 192.168.1.28:/home/nfs -gF[...]bash# umount /mnt/nfsbash# cdrecord dev=0,0,0 speed=4 -eject -v /root/images/mindi/mindi.iso
352
353</entry>
354</row>
355</tbody></tgroup></informaltable>
356
357<para>Note that you have to mount the NFS partition, backup to it,
358unmount it, and create a boot CD to allow you to restore from
359scratch if necessary. To reassure yourself that you will be able to
360restore from the NFS share even if your PC is wiped, please boot
361from the Mindi CD and type 'compare'. The on-screen instructions
362from that point on should be sufficient.</para>
363<para><anchor id="AEN100C"/>Example 2-3. A backup of your whole
364filesystem to tape using the command line</para>
365<para></para>
366<informaltable><tgroup cols="1"><tbody>
367<row>
368<entry>
369
370bash# mondoarchive -OVt -d /dev/st0 -9 -L -g
371
372</entry>
373</row>
374</tbody></tgroup></informaltable>
375
376<para>In this case, we assume Syslinux is incompatible with your
377boot media. For some reason, some BIOSes just don't like Syslinux.
378If you find this to be the case for your computer, please use '-L'
379to force Mondo to use LILO instead of Syslinux as the boot loader
380for its CD/floppies. (NB: This has nothing to do with which boot
381loader your hard drive uses.) Also, it is a good habit to specify
382your tape streamer with '-d &lt;device&gt;'. You don't usually need
383to but it's good to be on the safe side. Some computers call your
384tape streamer /dev/osst0, some call it /dev/ftape, ...</para>
385</listitem>
386</itemizedlist>
387<para></para>
388<informaltable><tgroup cols="3"><tbody>
389<row>
390<entry>
391<ulink url="version.html">Prev</ulink>
392</entry>
393<entry>
394<ulink url="index.html">Home</ulink>
395</entry>
396<entry>
397<ulink url="overview.html">Next</ulink>
398</entry>
399</row>
400<row>
401<entry>
402Version
403</entry>
404<entry>
405&nbsp;
406</entry>
407<entry>
408Overview
409</entry>
410</row>
411</tbody></tgroup></informaltable>
412
413
414</sect1></article>
Note: See TracBrowser for help on using the repository browser.