Mondorescue
and SuSe 8.2
I spent a great deal of time getting Mondo and Mindi to work on Suse
8.2, listed below are the steps I used in getting it to work.The following
software should be installed from the Suse distribution (professional):
afio
buffer
bzip2
cdrecord
dosfstools
mkisofs
slang
syslinux
From http://www.mondorescue.org the following Suse 8.2 .rpm:
Mindi.87
Mondo 1.66
at the bottom of the rpm page you will also need to get the following
libraries:
newt - I used newt-0.51.4-1.i386
lzo from Jesse
lzop from Jesse
After downloading the files. Open a terminal window and login as root with
the command:
su -
cd /sbin
ls -als mk*
check
to see that the following files exist mkdosfs and mkfs.vfat.
If
mkfs.vfat doesn't exist you will need to create the link with the
folowing command:
ln
-s mkdosfs mkfs.vfat
change
to the directories where you download mindi, mondo, lzo, lzop, mindi,
newt and mondo install the packages one at a time:
rpm
-ivh “filename”
lzo
and lzop mindi should install with no complaints
newt
will complain that a slang library is missing, do the following:
cd
/usr/lib
ls -als libslang*
currently
Suse is using libslang.so.1.4.8 you will need to create another link:
ln -s libslang.so.1.4.8 libslang-utf8.so.1
attempt to reinstall the rpm newt-0.51.4-1.i386
rpm -ivh newt-0.51.4-1.i386
you may see that it still complains about
libslang.so.1.4.8 in which case
use the --nodeps option
rpm -ivh --nodeps newt-0.51.4-1.i386
install mindi with: rpm -ivh mindi-0.87-1.i386.rpm
install mondo with: rpm -ivh mondo-1.66-1sus82.i386.rpm
These should both install without any problems
To test MINDI
To run Mindi you must be root
You will be asked four questions:
Do you want to use your own kernel to build the boot disk (y/n) ?y
Would you like to use LILO (instead of syslinux) for your boot media (y/n) ?n
Would you like to create boot+data floppy disks now (y/n) ?n (your choice)
Shall I make a bootable CD image? (y/n) y
>mindi
Mindi
Linux mini-distro generator v0.86 by Hugo Rabson
------------------------------------------------------------------------------
Do you want to use your own kernel to build the boot disk (y/n) ?y
Your kernel is /boot/vmlinuz (v2.4.20-4GB-athlon)
Would you like to use LILO (instead of syslinux) for your boot media (y/n) ?n
Analyzing dependency requirements 100% Done.
Making complete dependency list 100% Done.
Analyzing your keyboard's configuration.
Adding the following keyboard mapping tables: br-latin1-us#map#gz
mac-qwerty-layout#inc qwerty-layout
#inc linux-with-two-alt-keys#inc mac-linux-keys-bare#inc
linux-keys-bare#inc Done.
Assembling dependencyfiles.......................................... Done.
Your mountlist will look like this:-2 directories.
DEVICE MOUNTPOINT FORMAT SIZE (MB)
/dev/hda2 / reiserfs 26160
/dev/hda1 swap swap 3145
Unable to open devpts
Unable to open proc
Unable toopen usbdevfs
Tarring and zipping the groups...............Done.
Creating data disk #1...#2...#3...#4... Done.
1722KB boot disk was created OK......................... Done.
2880KB boot disk was created OK......................... Done.
In the directory '/root/images/mindi' you will find the
images:-
mindi-boot.1722.img mindi-boot.2880.img mindi-data-1.img
mindi-data-2.img mindi-data-3.img mindi-data-4.img
Would you like to create boot+data floppy disks now (y/n) ?n
Shall I make a bootable CD image? (y/n) y
NB: Mindi's bootable CD always uses isolinux.
For a bootable CD w/LILO, please use Mondo.
Finished.
One 1.72MB boot disk, one 2.88MB boot disk and 4 data disk images were created.
To test mindi, burn a CD, the images are located at:
/root/images/mindi
use the command:
cdrecord -v speed=2 dev=0,0,0 mindi.iso
your cdrecorders dev can be obtain with, but is generally 0,0,0:
cdrecord -scanbus
When the CD is finished test it by rebooting your system
The cdrom should boot to a prompt:
boot:
press Enter, the system should boot ending with:
Busy Box .......
Enter 'help” for a list of built-in commands
#
remove the CD - three finger salute (CTRL-ALT-DELETE) to reboot the system.
To test MONDO
mondo may complain that libnewt.so.0.50 isnt installed on last time
create one last link
cd /usr/lib
ls -als newtlib*
ln -s libnewt.so.0.51.4 libnewt.so.0.50
From root (su -) issue the following command:
Place a blank CD in the cdrecorder Mondo will not ask for the first, but
will prompt for additional ones as required.
mondoarchive -OVc 2 -9 -d 0,0,0 -I “ /home “
-OV the V will verify you tarballs
c for CDR media
w for CDRW
-9 is the compression (0-9)
-d is the device mondo will want the scanbus nummbers for cdrecorders
-I include this directory
You have read the documentation!
Documentation - Mondorescue
Documentation 1.6x-howto
Man Pages
Now wait.......this make take a while depending on the amount
of data and compression and verification
You may be notiified of some error messages, Mondo error
messages are at a paranoid level but are available in the
/var/log/mondo-archive.log file. The real test is to reboot from the archive CD.
You will be presented with four options nuke, interactive, compare,
expert
At the boot prompt choose compare, this will verify the files stored on
the archive with the files you archived.
# compare
If the selection box opens and there is nothing in it and you are told that 0 files differed you done.
If there are differences they may be due to files just changing through
normal use.
Good Luck. - Modified 06 Dec 2003