How to install Mondo on Debian Jessie
Since Debian Jessie is now in the freeze mode, Let’s take a look at installing Mondo on Jessie.
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,and 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 white box desktop tower with a Intel(R) Celeron(TM) with a 1400MHz cpu, 256MiB of memory and a BIOS from 2002! This machine has ran with four different versions of Debian and still works great.
This will be setup using Debian testing 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 static IP option in the install, I ping out to a couple of places on the internet to check to make sure everything is working.
Remember to 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 to log in, you will need to use SU or SUDO to issue commands using root access.
NOTE In Debian you will have to apt-get install sudo.
apt-get update && apt-get upgrade
Now I will add to my sources.list.
At the bottom add:
### Debian Mondo 7 deb ftp://ftp.mondorescue.org//debian 7 contrib deb-src ftp://ftp.mondorescue.org//debian 7 contrib
Now before running apt-get install, We need to update
Now We can add the mondo key:
To add the key
apt-key add mondorescue.pubkey
To list your keys
The location of the keys is
Just a note that my sources include non free ftp and src locations.
If you want to check to see what packages are needed before you start, you can run:
apt-cache depends afio apt-cache depends mindi-busybox apt-cache depends mindi apt-cache depends mondo
Now we will move to installing the main packages.
I get the packages from the Mondo website for afio, mindi-busybox, mindi and mondo.
These packages are no longer in Wheezy, testing or Sid.
Make sure to install in this order!
Now let’s install:
apt-get install afio
apt-get install mindi-busybox
Next up is mindi
apt-get install mindi
apt-get install 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.
Once these are completed, run mindi first 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 version.
When it has completed the process:
and run the command:
and there should be a mindi.iso file there.
You may want to remove it to keep your mondo iso small. if so type:
Before you delete it, it’s a good idea to burn a copy and take a look at it.
Now we move to run mondoarchive, run the command:
follow along and make sure to change the cd size if needed (CD or DVD size).
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:
and the drive name and the image.iso like this: <pre> 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 Jessie!
If you have any questions about this guide, post them!
Make sure to run your backup iso to check to make sure it runs correctly.