# Mondo Rescue
# ============
# This covers the Mondo Rescue disaster recovery solution and it's
# prerequisites.
# Not sure if I've got the latest versions covered here or not. The new
# site is www.mondorescue.org. Development is at mondorescue.berlios.de.
# freshmeat links to ftp.berlios.de/pub/mondorescue/src/, which doesn't
# exist. And none of the above have tarballs for the versions last
# announced to the announce mailing list: mondo 2.05 and mindi 1.05
# There are also rXXX releases around, but I have no idea what those are,
# I'm guessing those are development versions. I got a freshmeat
# announcement about mondo 2.06 in January, but I can't find 2.06 (without
# rXXX or cvs_XXXX) anywhere.
# Create a directory for the tarballs and for the source
mkdir -p -m 0700 ~/installed/mondorescue ~/src/mondorescue
# mindi 1.04
# ==========
# mindo creates a set of boot/root floppy disk images that are almost the
# same as your current environment. Excellent for maintenance and rescue.
# Keep an eye out in future versions. You can always install it wherever
# you want, but the default prefix used in the install.sh script changed
# from /usr/local in mindi 1.00 to /usr in mindi 1.01 and there was no
# mention of it in CHANGES.
# Prerequisites:
# isolinux/syslinux (Slackware 9.0 has a 'syslinux' package that includes
# version 2.01, Slackware 9.1's includes version 2.06)
cd
test -f installed/mondorescue/mindi-1.04.tar.gz &&
mv installed/mondorescue/mindi-1.04.tar.gz .
test ! -f mindi-1.04.tar.gz &&
wget ftp://ftp.mondorescue.org/src/mindi-1.04.tar.gz
cd src/mondorescue
find -maxdepth 1 -type d -name "mindi-*" -exec rm -r {} \;
tar xzvf ~/mindi-1.04.tar.gz
cd mindi-1.04
test $UID = 0 && chown -R root:root .
cd
rm -f installed/mondorescue/mindi-*.tgz installed/mondorescue/mindi-*.tar.*
mv mindi-1.04.tar.gz installed/mondorescue/
# Run 'mindi' to create boot/root floppies. FYI, /usr/sbin/mindi is
# a symlink to /usr/share/mindi/mindi. mondo will use mindi itself, so
# if you don't want to specifically run mindi, leave that to mondo when
# you're done.
# buffer 1.19
# ===========
cd
test -f installed/mondoarchive/buffer-1.19.tgz &&
mv installed/mondoarchive/buffer-1.19.tgz
test ! -f buffer-1.19.tgz &&
wget ftp://ftp.mondorescue.org/src/buffer-1.19.tgz
cd src/mondorescue
tar xzvf ~/buffer-1.19.tgz
cd buffer-1.19
test $UID = 0 && chown -R root:root .
su -c "make install INSTMAN=/usr/man/man1"
cd
rm -f installed/mondorescue/buffer-*.tgz
mv buffer-1.19.tgz installed/mondorescue/
cd
test -f installed/mondorescue/mondo-2.04.tgz &&
mv installed/mondorescue/mondo-2.04.tgz .
test ! -f mondo-2.04.tgz &&
wget ftp://ftp.mondorescue.org/src/mondo-2.04.tgz
cd ~/src/mondorescue
find -maxdepth 1 -type d -name "mondo-*" -exec rm -r {} \;
tar xzvf ~/mondo-2.04.tgz
cd mondo-2.04
test $UID = 0 && chown -R root:root .
# If you want XMondo, add --with-x11 to the configure line. It failed to
# build for me the last time I tried it and I didn't pursue it any further.
# Maybe next update...
# Fix the --wxr----x (?) permissions of configure:
chmod 755 ./configure
./configure
make
su -c "make install ; ldconfig"
cd
rm -f installed/mondorescue/mondo-*.tgz
mv mondo-2.04.tgz installed/mondorescue/
# Before you run 'mondoarchive', make sure that RAM disk support is enabled
# in your kernel, and that the 'rd' module is loaded.