source: MondoRescue/trunk/mondo/debian/README.Debian@ 304

Last change on this file since 304 was 302, checked in by andree, 18 years ago

Add initial Debian package building support.

File size: 5.2 KB
Line 
1Mondo for Debian
2================
3
4
5IMPORTANT +++ IMPORTANT +++ IMPORTANT +++ IMPORTANT +++ IMPORTANT
6
7This is not the official Debian package of mondo but the upstream
8version. Please to not report errors to the Debian Bug Tracking
9System but to <the mailing list>. Thnak you.
10
11IMPORTANT +++ IMPORTANT +++ IMPORTANT +++ IMPORTANT +++ IMPORTANT
12
13
14This text contains hints, workarounds and explanations for using mondo on a
15Debian system.
16
17NTFS Windows Installations not bootable after restore
18-----------------------------------------------------
19
20After a restore, NTFS Windows installations may not be bootable. Rather an
21error message "A disk read error occurred. Press Xtrl+Alt+Del to restart." is
22displayed.
23
24A fix for this is to use gparted (and possibly gtparted but no other
25partitioning tool) resize the NTFS filesystem to that it fills the entire
26partition it lives in. The error appears to only happen for NTFS filesystems
27that are smaller than the partition they live in.
28
29
30Segmentation Fault when using newt interface (option '-g')
31----------------------------------------------------------
32
33mondoarchive may segfault when the '-g' option is specified. The workaround is
34to install package 'libfribidi0'. Please see Debian bug report #290722 for
35further details of the the underlying issue.
36
37
38Boot Images in /root/images
39---------------------------
40
41MondoRescue does not currently allow for influencing where the boot images it
42creates are stored. They will always end up under /root/images. This can be a
43problem on installations where the partition that holds /root is small.
44
45A workaround is to create a symbolic link to a different location with more
46space. Example:
47
48/root/images -> /home/mondorescue/images
49
50
51CD Streaming
52------------
53
54The CD streaming feature of mondoarchive (option '-C') is EXPERIMENTAL which
55is what the manpage states. In fact, it appears to be rather broken. Some of
56the issues are fixed in this package: selecting the burn speed should work,
57it won't segfault during a mondoarchvie run. However, restoring from multiple
58CDs still doesn't seem to work but hangs towards the end of the first CD.
59
60If you want to experiment with this feature, it might help to keep the
61following in mind:
62
63- Use blank CDs only. If you use CDRWs (which is recommended for
64 environmentally and monetarian reasons by the author of this text) make sure
65 they are blank when throwing them at mondoarchive in streaming mode.
66- Don't make mistakes when feeding media to mondoarchive in streaming mode. It
67 will choke and the backup will have to be restarted.
68
69Having said that, streaming is certainly a useful feature. I'll work on it as
70time permits. If your time does permit, I am receptive to patches (and so is
71upstream).
72
73
74Image Archiving: (V)FAT versus NTFS
75-----------------------------------
76
77If you have a (V)FAT partition please mount it to get it backed up by
78mondoarchive and restored by mondo. Using the '-x' option will not work.
79
80For NTFS, '-x' is the way to go.
81
82
83"Too many open files" in log
84----------------------------
85
86You may get entries in the log similar to this one:
87
88getfacl: /home/andree/shed/kernel/kernel-source-2.4.26/include/config/paride/pf: Too many open files
89
90If you do, increase the number of allowed open file descriptors for the user
91session. The default value for open file descriptors in Debian is 1024. To
92increase this value, if you run bash (and potentially other shells), use
93'ulimit -n 2048' to double this.
94
95
96Using the File-Browser for Partial Restore
97------------------------------------------
98
99When using mondorestore to selectively restore files, the 'Editing filelist'
100window will only list a limited, hardcoded number of files. This number is
101defined by define 'ARBITRARY_MAXIMUM' in include 'my-stuff.h'. This value is
102currently set to 500 in the upstream source and has been increased to 2000 for
103the Debian package. Changing this value requires a recompile of the package.
104
105A workaround for this shortcoming is to restore a complete directory tree to a
106temporary location, delete all unwanted files and directories, and move the
107remainder to its final destination.
108
109
110Using floppy disks as rescue media
111----------------------------------
112
113mondoarchive will offer to write a set of rescue floppies (unless the '-F'
114switch is used). These floppy disks will only work with the FAILSAFE kernel. The
115reason is that stock Debian kernels don't have the floppy driver built into the
116kernel and that the kernel is too large for one floppy with an initrd and a
117kernel image. Because of the space issue, mondoarchiv (or rather mindi) creates
118a root/boot floppy set. Because the stock kernel does not have floppy support
119compiled in a kernel panic results when trying to acces the second (the root)
120floppy.
121
122Also, building the boot/root floppy images requires that lilo is installed on
123the system. This does not mean that it actually needs to be used to boot the
124system, only that the package is installed. (Because most people won't need the
125boot/root floppies, the mindi package only suggests the lilo package.)
126
127Finally a word of caution: Floppy disks are notoriously unreliable. Dont't use
128them unless you really really have to. (A CD writer costs the same as a few
129boxes of floppy disks these days.)
130
131
132 -- Andree Leidenfrost <aleidenf@bigpond.net.au> Sun, 8 Jan 2005 15:20:05 +1100
Note: See TracBrowser for help on using the repository browser.