source: MondoRescue/branches/3.1/mondo-doc/mindi.8@ 3332

Last change on this file since 3332 was 2937, checked in by Bruno Cornec, 12 years ago

svn merge -r 2849:2935 ../3.0

  • Adds 3 binaries called potentially by udev o support USB key mount at restore time (Victor Gattegno)
  • mindi only sets the boot flag of a USB device if none is present already (should avoid flip/flop situation)
  • Fix a compatibility bug in analyze-my-lvm whete exclude lists with '|' was incorrectly analyzed (' ' still expected)
  • Precise that -J is not supported by mondorestore yet.
  • Fix a compatibility bug in mindi where exclude lists with '|' was incorrectly analyzed (' ' still expected)
  • Install an MBR on USB devices when possible
  • Improve error message in case mondorestore isn't found
  • Adds support for more virtio devices for KVM restore
  • Improve mbr.bin handling
  • Fix an issue in test of FindKernel for Xen and non Xen cases
    • Fix #492 by removing an extra useless fi
    • Move fvat nd fat modules to CDROM_MODS in order to have them in the initrd to support saving logs to a USB device e.g.
    • Fix an error when dmidecode reports comments before system name
    • Fix previous broken patch on comment management for bkphw
    • Improve msgs printed during kbd analysis
    • Fix a small remaining pb with new comment support
    • Try to again improve the mount/umount stuff in mondo -Adds mention to OEL, CentOS, ScientifLinux as RHEL clones
  • Fix a panadoid_free done on the wrong variable (solve a memory leak)
  • Solve #495 by skipping the potential (auto-read-only) when analyzin /proc/mdstat result
  • Fix some markup in man pages
  • adds the post-nuke script sample for Debian (Guillaume Pernot/Andrée Leidenfrost)
  • Avoid a useless umount when changing of afio set, let insist_on_cd check and perform if needed
  • Copy everything under .ssh of root account to allow for sshfs mount without passwd at restore time.
  • Adds support for bnx2i driver
  • Try to fix #496 by supporting the protocol in the output of the mount command (sshfs#...)
  • Uses the -d option of the mount command to avoid leaving loop devices in use. Probably provoked by the usage of a more recent busybox, but anyway that option doesn't hurt, and does nothing for non-loop devices. Should fix the problems reported on the ML with NFS and more than 8 ISO images (8 being the default number of loop devices available)
  • Attempt to fix #436 by adding some newtDrawForm where appropriate.
  • Fix bugs in the kernel detection routine of mindi (some echo were done without capturing their output, confusing the return). This should also help the Xen detection issue
  • Change the logging function to be nearer from 2.2.10, and start using some
  • Initialize some global fields with an empty string, now that newt Draws more regularly progress forms
  • Mindi progression still not good, but showing now 3% when calling mindi. Would need a specific handling for the progress bar to evolve more afterwards
  • Add compatibility with the latest SSSTK + PSP content for HP ProLiant + branding homogeneous now. We only take conrep out of the SSSTK pending a package availability. Using hpacuscripting now. Review of parameters called following test made.
  • Fix #501 by pushing BOOT_SIZE to 36864 for certain Ubuntu cases
  • Fix some remaining inconsistencis in the ProLiant HW backup. ready for usage.
  • Fix an issue on udevadm call (needs an intermediate variable)
  • Fix a remaining ProLiant tool call
  • Remove again some wrong variable initialization for Net in order to not have strange messages now we call Draw more often
  • Adds support for hwaddr (MAC addresses) at restore time, and map to the correct NIC if it's found at restore time (based on code from Stefan Heijmans)
  • Try to Fix #499 by changing init in order to never exit, and rebooting using sysrq in /proc (not portable). Maybe should move to using a real init, and a separated rcS script.
  • Fixes the shell msg error by using setsid as per Busybox FAQ
  • Fix #491 by correctly checking Xen kernel used for a dom0 env (apollo13)
  • Improves logging in Die()
  • Improve again ProLiant HW support, by adding references to the yet to come SSSTK rpm so that conrep is called at its future right place.
  • Improve mindi support for kernel 3.x
  • Fix #499 for good, by using a real init from busybox and moving our init script to etc/init.d/rcS. We also now call the reboot from busybox to exit, which indeed reset the system correctly (in a VM at least which wasn't the case before). Reauires a new mindi-busybox as well.
  • Attempt to solve #503 by handling /lib64 separately for udev and only if not a link (to /lib) for Ubuntu 64
  • Improve again previous tests for bug #503
  • Improve -d option description for NFS
  • Allow http download for ftp content
  • New italian mirror
  • Fix #505 by documenting environment variables
    • Fix a bug where on OBDR mode compression was turned off to create the OBDR content but not back on (report from the mailing list)
  • solve http://trac.mondorescue.org/ticket/520 by Victor Gattegno
  • Fix #524 as option -U needs a size also
  • Removes useless gendf option
  • Fix #511 now stabgrub is called also after conf file modifications
  • Adds support for SUID binaries
  • remove a useless xenkernelname variable from mindi
  • Should fix #512 by clearing old scratchdir before changing to a new
  • Simplify the function engaging SCSI for Smart Array controllers, and support as many controller as we have
  • Add some binaries used on SLES 10 by udev
  • Fix a syntax issue in newt-specific.c
  • Fix a memory free bug where a used variable was freed to early
  • Fix a memory free bug where a used variable was misused in asprintf/free
  • Fix #498 by using an external program (hpsa_obdr_mode) which can set the mode of the tape to CD-ROM or Sequential at will.

That program will have to be downloaded from http://cciss.sf.net

  • Adds support for the route command in mindi-busybox
  • Force block size back to 32768 in OBDR mode after skipping the 2 tape marks, to read the additional rootfs data corerctly - Fix #498 for good it seems
  • Adds support for a new pata_atiixp driver
  • Fix #525 and improve printing when no /etc/raidtab, but still md devices
  • Exclude /run similarly to /sys and /proc
  • Fix a bug in mindi when having multiple swap partiions with same starting string (/dev/dm-1 and /dev/dm-16). We now add a space in the grep to avoid mischoice.
  • Fix grub installation if we had to go in the hack part which wasn't using the correct variables to make decisions !
  • Remove all mention of mondorescue.com from code
  • Fix some website typo on the download page and precise that we now develop on Mageia
  • Exclude sysfs devpts and tmpfs partitions found in RHEL 6.2 from analyze by mindi (made error messages)
  • Force activation of first partition which should not be optional as everything is destroyed before
  • Fix a bug in analyze-my-lvm where LVs were created in random order (the one of lvscan) instead of using the dm-xxx order, which creates issues at restore time between the mapping created then and the one we had at backup time which could be inconssistent

-mondoarchive now exists if the mt command is missing when needed

  • Proper fix for analyze-my-lvm
  • Fix #500 and #473 by adding support of old metadata format for mdadm if using grub < 0.9x or lilo on a md boot device (to be tested)
  • Really never inject or eject when the -e option is passed or device is inappropriate (USB, Net, ...)
  • Fix #577 by having factor back as a float (not a long ! it's a decimal value) and making the appropriate cast.
  • Fix #578 by improving the regexp used for CD/DVD detection with -scanbus option
  • Adds more verbosity when LVM creation fails.
  • Fix #579 by checking with pipes on both sides of the string
  • debugfs should be excluded from the device considered for fstab analysis
File size: 4.9 KB
Line 
1.\" Copyright (c) 2005 Andree Leidenfrost
2.\"
3.\" This is free documentation; you can redistribute it and/or
4.\" modify it under the terms of the GNU General Public License as
5.\" published by the Free Software Foundation; either version 2 of
6.\" the License, or (at your option) any later version.
7.\"
8.\" The GNU General Public License's references to "object code"
9.\" and "executables" are to be interpreted as the output of any
10.\" document formatting or typesetting system, including
11.\" intermediate and printed output.
12.\"
13.\" This manual is distributed in the hope that it will be useful,
14.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
15.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16.\" GNU General Public License for more details.
17.\"
18.\" You should have received a copy of the GNU General Public
19.\" License along with this manual; if not, write to the Free
20.\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
21.\" USA.
22.\"
23.TH MINDI 8 "PBDATE" "Mondo Rescue PBVER-rPBREV"
24.SH NAME
25mindi \- a tool for creating boot/root disks
26.SH SYNOPSIS
27.B mindi
28.br
29.BR "mindi \-v"| " --version"| " \-V"| " -version"
30.br
31.BI "mindi --findkernel"
32.br
33.BI "mindi --makemountlist "file
34.br
35.BI "mindi --usb "device
36.br
37.BI "mindi [--max-compressed-size "max "] --custom " parameters
38.SH DESCRIPTION
39.PP
40.B mindi
41creates a bootable ISO/USB image using files from the system it runs on.
42.B mindi
43will try hard to reproduce the environment of its host system including loaded
44modules to ensure that the system can be booted properly from the created
45rescue media.
46.B mindi
47is used by
48.B monodarchive(8)
49to produce the required USB/ISO images but can also be used stand-alone.
50
51For stand-alone usage,
52.B mindi
53is called without any parameters or switches. It will then interactively ask
54the user for all information required to create a set of boot/root media.
55.LP
56The probably more frequent way of calling
57.B mindi
58is non-interactively from
59.B mondoarchive(8)
60using the
61.B --custom
62switch. All required information is then provided via command line parameters.
63The sequence of these parameters is listed below.
64.SH OPTIONS
65.TP
66.BI "\-v"| " --version"| " \-V"| " -version"
67.RI Prints the version of mindi.
68.TP
69.BI "--findkernel"
70.RI Finds the image of the running kernel in the file system.
71.TP
72.BI "--makemountlist "file
73.RI "Creates a mount list and writes it to file "file ".
74.TP
75.BI "--usb "device
76.RI Create a bootable USB device
77.TP
78.BI "--max-compressed-size "max
79Maximum size for disk image in KB.
80.TP
81.BI "--custom " parameters
82.RI "Provide all required parameters to"
83.B mindi
84.RI "for non-interactive calling. This usually means a call from"
85.BR "mondoarchive(8)".
86The following parameters are used:
87.br
8801) directory to use for temporary files
89.br
9002) directory to put disk images in
91.br
9203) path to kernel image
93.br
9404) tape device
95.br
9605) tape size [MB]
97.br
9806) total number of files in file list
99.br
10007) use LZO [yes|no]
101.br
10208) CD recovery media [yes|no]
103.br
10409) devices to include
105.br
10610) conservative LiLo settings [yes|no]
107.br
10811) number of last file list
109.br
11012) estimated total number of slices
111.br
11213) devices to exclude
113.br
11414) compare mode [yes|no]
115.br
11615) use lilo [yes|no]
117.br
11816) use star (rather than tar) [yes|no]
119.br
12017) internal tape block size [bytes]
121.br
12218) number of differential backup
123.br
12419) make non-bootable [yes|no]
125.br
12620) use gzip [yes|no]
127.br
128(Blank parameters must be specified as "" on the command line.)
129.SH DIAGNOSTICS
130.B mindi
131writes some output to the console and extensive information to log file
132.IR /var/log/mindi.log ".
133When seeking technical support for
134.BR "mindi",
135please attach this file to your email.
136.SH FILES
137.TP
138.I /var/log/mindi.log
139Log file of mindi run. Contains important information to analyze mindi problem
140reports.
141.TP
142.I /etc/mindi/deplist.txt
143List of files to be included on boot/root disks.
144.TP
145.I /var/cache/mindi/N.tar.gz
146Number N of multiple tar balls together containing root file system for rescue
147media.
148.TP
149.I /var/cache/mindi/all.tar.gz
150Single tar ball of root file system for rescue media.
151.TP
152.I /var/cache/mindi/initrd.img
153initrd image for bootable ISO image.
154.TP
155.I /var/cache/mindi/mindi-boot.F.img
156.B mindi
157boot media of size F [KB].
158.TP
159.I /var/cache/mindi/mindi-root.F.img
160.B mindi
161root media of size F [KB].
162.TP
163.I /var/cache/mindi/mindi-data.N.img
164.B mindi
165data media number N for boot/root media.
166.TP
167.I /var/cache/mindi/mindi.iso
168.B mindi
169bootable ISO image.
170.SH "SEE ALSO"
171mondoarchive(8), mondorestore(8).
172.TP
173See mailing list at http://www.mondorescue.org for technical support.
174.SH AUTHORS
175Bruno Cornec (lead-development)
176.I "bruno_at_mondorescue.org"
177.br
178Andree Leidenfrost (co-developer)
179.I "aleidenf_at_bigpond.net.au"
180.br
181.SH ORIGINAL AUTHORS
182Hugo Rabson (original author)
183.I "hugo.rabson_at_mondorescue.org"
184.br
185Jesse Keating (packaging)
186.I "hosting_at_j2solutions.net"
187.br
188Stan Benoit (testing)
189.I "troff_at_nakedsoul.org"
190.br
191Mikael Hultgren (docs)
192.I "mikael_hultgren_at_gmx.net"
193.br
194.
Note: See TracBrowser for help on using the repository browser.