It’s been almost two years since the Mondo on Squeeze post.
Today let’s take a look at installing Mondo on Debian 7.1 Wheezy.
At this point, this is still in a testing stage but it appears to work.
What is Mondo Rescue?
Mondo Rescue is free disaster recovery software. It supports Linux (i386, x86-64, IA-64) and FreeBSD (i386). It’s packaged for multiple distributions (Red Hat, RHEL, Fedora, CentOS, OpenSuSE, SLES, Mandriva, Debian, Ubuntu, Gentoo).
It also supports tapes, disks, USB devices, network and CD/DVD as backup media, multiple filesystems, LVM, software and hardware RAID. Restoration may be done from a physical media including OBDR tape support, or CD/DVD/USB media, or from the network through PXE.
First the test machine is a Dell Optiplex GX-260 SDT CPU 2.00 with 2 Gig of memory and 40 Gig hardrive.
This will be setup using Debian 7.1 netinstall cd. My netinstall CD has the non-free firmware for working on laptops. As a habbit, I use the expert mode in text mode.
Run through the Debian install process. For testing purposes, this will be a base install only. The test name will be debian, no domain and root and one user setup and nothing else.
When it comes time to load packages, unselect the desktop and select SSH server.
When the CD ejects, go ahead and reboot. After the reboot, I log in to make sure the system is ready and because I used the DHCP option I run the ifconfig to get the IP address.
The command is:
Make a note of the ip address.
At this point I log out and switch to my regular Debian desktop machine and use the terminal to ssh into the test box.
The command is:
(this will log me in as the root user.) You may use your regular user account in which case you would use:
If you use your regular user account log in, you will need to use SU or SUDO to issue commands using the root access.
NOTE In Debian you will have to apt-get install sudo.
After login in via ssh, A little housekeeping. First I add a cls alias to my bashrc file.
at the bottom of the list I add:
control x then y to save.
Now you can log out for the alias to work or you can issue the command:
(that’s dot space dot bashrc)
Now instead of typing clear to ‘clear’ the terminal screen, I can type cls for a shortcut.
Now I will add to my sources.list.
At the bottom add:
### Mondo 6.0 deb ftp://ftp.mondorescue.org//debian 6.0 contrib deb-src ftp://ftp.mondorescue.org//debian 6.0 contrib
My sources include non free ftp and src locations.
Now we will move to installing packages
I use the packages from squeeze for afio, mindi-busybox, mindi and mondo.
These packages are no longer in Wheezy, testing or Sid.
Now let’s install:
apt-get install -y afio
Next up is mindi-busybox
apt-get install -y mindi-busybox
So far so good.
Next up is mindi
apt-get install -y mindi
apt-get install -y mondo
If you run into any errors, you can run:
apt-get install -f
with nothing after the -f (-f= fix) to correct missing packages.
Now you need to go back into your sources and make changes:
You can take out the mondo 6.0 sources and replace with:
### mondo 7.1 deb ftp://ftp.mondorescue.org/test/debian 7.1 contrib deb-src ftp://ftp.mondorescue.org/test/debian 7.1 contrib
Now we need to update mindi and mondo:
apt-get install -y --force-yes mindi
apt-get install -y --force-yes mondo
Once these are completed, run mindi by typing:
You can follow along and when it asks you if want it to create a ‘iso’, you can say yes (y). It will also ask if you want a USB.
When it has completed the process:
and there should be a mindi.iso file there.
You may want to remove it to keep your mondo iso small. if so type:
Now we move to mondo:
follow along and make sure to change the cd size if needed.
Once mondo finishes, the file is in:
Last step is to burn the iso image to cd/dvd using wodim. But first let’s make sure the iso images are there. At the command line type:
to see your image.
Now type the following command to find your burner:
Now you can type:
wodim -v -eject speed=4
and the drive name and the image.iso like this:
wodim -v -eject speed=4 dev='/dev/scd0' PACKAGE.ISO
Once completed, you can reboot to see if the mondorestore starts.
There you have it. Mondo on Debian Wheezy!
If you have any questions about this guide, post them!
Here are the packages after you finish this how to:
Have set this up on two different test machines so far and working on the third. So far so good!
First test machine worked well and later I added the Mate Desktop and more goodies. Backup was smooth.
Second test machine is a Aopen server (headless) running apache, DHCP server and DNS server with good results.