特殊:Badtitle/NS100:MondoMindi:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
(未显示同一用户的4个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/MondoMindi}} | {{From|https://help.ubuntu.com/community/MondoMindi}} | ||
{{Languages|UbuntuHelp:MondoMindi}} | {{Languages|UbuntuHelp:MondoMindi}} | ||
#title Mondo Rescue | |||
=== What is Mondo Rescue? === | |||
From the website (http://www.mondorescue.org) How To: | |||
Mondo Rescue is a Disaster Recovery Solution which allows you to effortlessly backup and interactively restore Linux, Windows and other supported filesystem partitions to/from CD-R/RW media, tape, NFS, ... and Mindi Linux provides the bootable emergency restore CD/floppy set which Mondo uses at boot-time. | |||
=== For Jaunty and Later === | |||
The versioning changed and now the Ubuntu archives carry an epoch number, | |||
e.g. 1:2.2.7-2.1 If both Ubuntu and the upstream repositories are activated, | |||
the Ubuntu versions will be preferred. | |||
=== For Hardy and Intrepid === | |||
Mondo has had a bit of a rough road on Ubuntu lately. The version in the repositories does not handle UUID mounts in the fstab correctly, as well as other issues. In addition, the versions are confusing, as Ubuntu is providing 2.24 which is actually 2.2.4 as far as the developer is concerned. If you are using Hardy or newer, '''install from the official website rather than the repositories'''. See http://trac.mondorescue.org/wiki/FAQ and scroll down to FAQ Q11. Make sure you remove the versions from the repositories before you install from the website. You also may have to use the -S /tmp and -T /tmp command line switches to get it to work depending on your version. 2.2.5 and 2.2.6 definitely require it. It may be fixed in 2.2.8 or later. If you are receiving 'out of disk space' errors for no obvious reason, then go ahead and use those switches - it won't hurt if they aren't required. With all that in mind, mondo works great on Hardy once you follow those steps! | |||
=== Edgy, Feisty, Gutsy === | |||
Unknown - you could contribute your experiences here :-) If it doesn't work, feel free to install from the Mondo website - the newer versions should work fine. | |||
=== For Dapper === | |||
As far as I know, Mondo and Mindi on dapper drake is a good working solution. Install from the repositories and use it. | |||
=== For Breezy === | |||
* '''Mondo Mindi Install Script''': https://docbox.flint.com/bazaar/MondoMindi/mm.sh | * '''Mondo Mindi Install Script''': https://docbox.flint.com/bazaar/MondoMindi/mm.sh | ||
This document contains a step-by-step proceedure and a script for setting up mondo/mindi backup and recovery on an Ubuntu Breezy box. | This document contains a step-by-step proceedure and a script for setting up mondo/mindi backup and recovery on an Ubuntu Breezy box. | ||
==== Description of this solution ==== | |||
= | |||
=== Description of this solution === | |||
The mondo/mindi configuration described herein comes courtesy of Nick Wheeler, who uses a similar proceedure to backup | The mondo/mindi configuration described herein comes courtesy of Nick Wheeler, who uses a similar proceedure to backup | ||
servers at work. I'm going to first describe the ''roll your own'' solution, building everything from source, and | servers at work. I'm going to first describe the ''roll your own'' solution, building everything from source, and | ||
then hopefully Nick will help me refine and simplify the process so that x86 Ubuntu Breezy boxes can be setup with a | then hopefully Nick will help me refine and simplify the process so that x86 Ubuntu Breezy boxes can be setup with a | ||
single install script (see below:). | single install script (see below:). | ||
=== The "Roll Your Own" Solution === | ==== The "Roll Your Own" Solution ==== | ||
==== Prerequisits ==== | ===== Prerequisits ===== | ||
Make sure you have the following packages installed: | Make sure you have the following packages installed: | ||
<ol><li>gcc | |||
</li><li>make | |||
</li><li>libnewt-dev | |||
</li><li>buffer | |||
</li><li>gawk | |||
</li><li>syslinuxThe Microsoft command "sys.exe" | |||
</li><li>afio | |||
</li><li>cdrecord | |||
</li><li>mkisofs</li></ol> | |||
If you intend to back up unconventional partition types additional tools will be needed. | |||
If you intend to back up unconventional partition types additional tools will be needed. | |||
In the script below these optional tools are ignored. | In the script below these optional tools are ignored. | ||
However, These include: | However, These include: | ||
<ol><li>mtools | |||
</li><li>ms-sys | |||
</li><li>Other closed file system emulator/drivers</li></ol> | |||
==== Limitations ==== | |||
===== Limitations ===== | |||
<ol><li>This method (and script) has been tested and will operate in a Dapper or a Breezy environment. | |||
</li><li>This method (and script) has not been tested in a Hoary environment | |||
</li><li>This method (and script) will not function in a Warty environment</li></ol> | |||
'' testing performed March 2006 in the flint linux candy lab, Montpelier, Vermont'' | '' testing performed March 2006 in the flint linux candy lab, Montpelier, Vermont'' | ||
==== Installation Proceedure ==== | ===== Installation Proceedure ===== | ||
<ol><li>sudo su - | |||
</li><li>mkdir /usr/local/mondoiso | |||
</li><li>cd /usr/local/src | |||
</li><li>download each of the following (note: there may be newer versions of each of these by the time you read this, but I plan only to test this procedure every 6 months - with each Ubuntu release - and to put a version know to work in a safe place):</li></ol> | |||
* http://ibiblio.org/jelkner/mondo_mindi/mondo-2.06-r266.tar.bz2 | * http://ibiblio.org/jelkner/mondo_mindi/mondo-2.06-r266.tar.bz2 | ||
* http://ibiblio.org/jelkner/mondo_mindi/mindi-1.06-r266.tar.bz2 | * http://ibiblio.org/jelkner/mondo_mindi/mindi-1.06-r266.tar.bz2 | ||
* http://ibiblio.org/jelkner/mondo_mindi/mindi-kernel-1.0.tgz | * http://ibiblio.org/jelkner/mondo_mindi/mindi-kernel-1.0.tgz | ||
<ol><li>Now uncompress the archives:</li></ol> | |||
* tar xvjf mondo-2.06-r266.tar.bz2 | * tar xvjf mondo-2.06-r266.tar.bz2 | ||
* tar xvjf mindi-1.06-r266.tar.bz2 | * tar xvjf mindi-1.06-r266.tar.bz2 | ||
* tar xvzf mindi-kernel-1.0.tgz | * tar xvzf mindi-kernel-1.0.tgz | ||
<ol><li>Build and install the pieces:</li></ol> | |||
* cd mondo-2.06 | * cd mondo-2.06 | ||
* ./configure | * ./configure | ||
第57行: | 第74行: | ||
* ./install.sh | * ./install.sh | ||
* mv /usr/local/share/mindi/* /usr/local/lib/mindi | * mv /usr/local/share/mindi/* /usr/local/lib/mindi | ||
<ol><li>Create the mondobackup script:</li></ol> | |||
* cd /usr/local/bin/ | * cd /usr/local/bin/ | ||
* put the following in a file named <code><nowiki>mondobackup</nowiki></code>: <pre><nowiki> | * put the following in a file named <code><nowiki>mondobackup</nowiki></code>: <pre><nowiki> | ||
第68行: | 第86行: | ||
# -E is the exclusion directory, anything listed in that is excluded. | # -E is the exclusion directory, anything listed in that is excluded. | ||
# -k FAILSAFE tells mondo to use the FAILSAFE kernel, because your kernel has cramfs in it.</nowiki></pre> | # -k FAILSAFE tells mondo to use the FAILSAFE kernel, because your kernel has cramfs in it.</nowiki></pre> | ||
<ol><li>chmod +x mondobackup</li></ol> | |||
==== Using Mondo/Mindi ==== | ==== Using Mondo/Mindi ==== | ||
You now have mondo/mindi installed on your system. To make cdimages which can be used to backup and restore your | You now have mondo/mindi installed on your system. To make cdimages which can be used to backup and restore your | ||
system on the same or another machine do the following: | system on the same or another machine do the following: | ||
<ol><li>as root run <code><nowiki>mondobackup</nowiki></code>.</li></ol> | |||
That's it! <code><nowiki>mondobackup</nowiki></code> will call mondo and mindi to make iso images of your system in <code><nowiki>/usr/local/mondoiso</nowiki></code>. | That's it! <code><nowiki>mondobackup</nowiki></code> will call mondo and mindi to make iso images of your system in <code><nowiki>/usr/local/mondoiso</nowiki></code>. | ||
Burn each image onto a cd, then boot the target machine from the first cd to begin the restoration process. | Burn each image onto a cd, then boot the target machine from the first cd to begin the restoration process. | ||
第82行: | 第102行: | ||
This script actually works. Download the script from https://docbox.flint.com/bazaar/MondoMindi/mm.sh, next chmod +X it, become root, and tourch it off. It appears that Version 0.5 is worth testing with. | This script actually works. Download the script from https://docbox.flint.com/bazaar/MondoMindi/mm.sh, next chmod +X it, become root, and tourch it off. It appears that Version 0.5 is worth testing with. | ||
---- | ---- | ||
[[category: | [[category:CategoryBackupRecovery]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2010年5月19日 (三) 23:26的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/MondoMindi }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/af | • {{#if: UbuntuHelp:MondoMindi|Afrikaans| [[::MondoMindi/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/ar | • {{#if: UbuntuHelp:MondoMindi|العربية| [[::MondoMindi/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/az | • {{#if: UbuntuHelp:MondoMindi|azərbaycanca| [[::MondoMindi/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/bcc | • {{#if: UbuntuHelp:MondoMindi|جهلسری بلوچی| [[::MondoMindi/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/bg | • {{#if: UbuntuHelp:MondoMindi|български| [[::MondoMindi/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/br | • {{#if: UbuntuHelp:MondoMindi|brezhoneg| [[::MondoMindi/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/ca | • {{#if: UbuntuHelp:MondoMindi|català| [[::MondoMindi/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/cs | • {{#if: UbuntuHelp:MondoMindi|čeština| [[::MondoMindi/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/de | • {{#if: UbuntuHelp:MondoMindi|Deutsch| [[::MondoMindi/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/el | • {{#if: UbuntuHelp:MondoMindi|Ελληνικά| [[::MondoMindi/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/es | • {{#if: UbuntuHelp:MondoMindi|español| [[::MondoMindi/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/fa | • {{#if: UbuntuHelp:MondoMindi|فارسی| [[::MondoMindi/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/fi | • {{#if: UbuntuHelp:MondoMindi|suomi| [[::MondoMindi/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/fr | • {{#if: UbuntuHelp:MondoMindi|français| [[::MondoMindi/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/gu | • {{#if: UbuntuHelp:MondoMindi|ગુજરાતી| [[::MondoMindi/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/he | • {{#if: UbuntuHelp:MondoMindi|עברית| [[::MondoMindi/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/hu | • {{#if: UbuntuHelp:MondoMindi|magyar| [[::MondoMindi/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/id | • {{#if: UbuntuHelp:MondoMindi|Bahasa Indonesia| [[::MondoMindi/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/it | • {{#if: UbuntuHelp:MondoMindi|italiano| [[::MondoMindi/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/ja | • {{#if: UbuntuHelp:MondoMindi|日本語| [[::MondoMindi/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/ko | • {{#if: UbuntuHelp:MondoMindi|한국어| [[::MondoMindi/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/ksh | • {{#if: UbuntuHelp:MondoMindi|Ripoarisch| [[::MondoMindi/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/mr | • {{#if: UbuntuHelp:MondoMindi|मराठी| [[::MondoMindi/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/ms | • {{#if: UbuntuHelp:MondoMindi|Bahasa Melayu| [[::MondoMindi/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/nl | • {{#if: UbuntuHelp:MondoMindi|Nederlands| [[::MondoMindi/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/no | • {{#if: UbuntuHelp:MondoMindi|norsk| [[::MondoMindi/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/oc | • {{#if: UbuntuHelp:MondoMindi|occitan| [[::MondoMindi/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/pl | • {{#if: UbuntuHelp:MondoMindi|polski| [[::MondoMindi/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/pt | • {{#if: UbuntuHelp:MondoMindi|português| [[::MondoMindi/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/ro | • {{#if: UbuntuHelp:MondoMindi|română| [[::MondoMindi/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/ru | • {{#if: UbuntuHelp:MondoMindi|русский| [[::MondoMindi/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/si | • {{#if: UbuntuHelp:MondoMindi|සිංහල| [[::MondoMindi/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/sq | • {{#if: UbuntuHelp:MondoMindi|shqip| [[::MondoMindi/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/sr | • {{#if: UbuntuHelp:MondoMindi|српски / srpski| [[::MondoMindi/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/sv | • {{#if: UbuntuHelp:MondoMindi|svenska| [[::MondoMindi/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/th | • {{#if: UbuntuHelp:MondoMindi|ไทย| [[::MondoMindi/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/tr | • {{#if: UbuntuHelp:MondoMindi|Türkçe| [[::MondoMindi/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/vi | • {{#if: UbuntuHelp:MondoMindi|Tiếng Việt| [[::MondoMindi/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/yue | • {{#if: UbuntuHelp:MondoMindi|粵語| [[::MondoMindi/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/zh | • {{#if: UbuntuHelp:MondoMindi|中文| [[::MondoMindi/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/zh-hans | • {{#if: UbuntuHelp:MondoMindi|中文(简体)| [[::MondoMindi/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:MondoMindi | UbuntuHelp:MondoMindi | {{#if: | :}}MondoMindi}}/zh-hant | • {{#if: UbuntuHelp:MondoMindi|中文(繁體)| [[::MondoMindi/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:MondoMindi|:MondoMindi|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :MondoMindi/zh | | {{#ifexist: MondoMindi/zh | | {{#ifeq: {{#titleparts:MondoMindi|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:MondoMindi|1|-1|}} | zh | | }}
- title Mondo Rescue
What is Mondo Rescue?
From the website (http://www.mondorescue.org) How To: Mondo Rescue is a Disaster Recovery Solution which allows you to effortlessly backup and interactively restore Linux, Windows and other supported filesystem partitions to/from CD-R/RW media, tape, NFS, ... and Mindi Linux provides the bootable emergency restore CD/floppy set which Mondo uses at boot-time.
For Jaunty and Later
The versioning changed and now the Ubuntu archives carry an epoch number, e.g. 1:2.2.7-2.1 If both Ubuntu and the upstream repositories are activated, the Ubuntu versions will be preferred.
For Hardy and Intrepid
Mondo has had a bit of a rough road on Ubuntu lately. The version in the repositories does not handle UUID mounts in the fstab correctly, as well as other issues. In addition, the versions are confusing, as Ubuntu is providing 2.24 which is actually 2.2.4 as far as the developer is concerned. If you are using Hardy or newer, install from the official website rather than the repositories. See http://trac.mondorescue.org/wiki/FAQ and scroll down to FAQ Q11. Make sure you remove the versions from the repositories before you install from the website. You also may have to use the -S /tmp and -T /tmp command line switches to get it to work depending on your version. 2.2.5 and 2.2.6 definitely require it. It may be fixed in 2.2.8 or later. If you are receiving 'out of disk space' errors for no obvious reason, then go ahead and use those switches - it won't hurt if they aren't required. With all that in mind, mondo works great on Hardy once you follow those steps!
Edgy, Feisty, Gutsy
Unknown - you could contribute your experiences here :-) If it doesn't work, feel free to install from the Mondo website - the newer versions should work fine.
For Dapper
As far as I know, Mondo and Mindi on dapper drake is a good working solution. Install from the repositories and use it.
For Breezy
- Mondo Mindi Install Script: https://docbox.flint.com/bazaar/MondoMindi/mm.sh
This document contains a step-by-step proceedure and a script for setting up mondo/mindi backup and recovery on an Ubuntu Breezy box.
Description of this solution
The mondo/mindi configuration described herein comes courtesy of Nick Wheeler, who uses a similar proceedure to backup servers at work. I'm going to first describe the roll your own solution, building everything from source, and then hopefully Nick will help me refine and simplify the process so that x86 Ubuntu Breezy boxes can be setup with a single install script (see below:).
The "Roll Your Own" Solution
Prerequisits
Make sure you have the following packages installed:
- gcc
- make
- libnewt-dev
- buffer
- gawk
- syslinuxThe Microsoft command "sys.exe"
- afio
- cdrecord
- mkisofs
If you intend to back up unconventional partition types additional tools will be needed. In the script below these optional tools are ignored. However, These include:
- mtools
- ms-sys
- Other closed file system emulator/drivers
Limitations
- This method (and script) has been tested and will operate in a Dapper or a Breezy environment.
- This method (and script) has not been tested in a Hoary environment
- This method (and script) will not function in a Warty environment
testing performed March 2006 in the flint linux candy lab, Montpelier, Vermont
Installation Proceedure
- sudo su -
- mkdir /usr/local/mondoiso
- cd /usr/local/src
- download each of the following (note: there may be newer versions of each of these by the time you read this, but I plan only to test this procedure every 6 months - with each Ubuntu release - and to put a version know to work in a safe place):
- http://ibiblio.org/jelkner/mondo_mindi/mondo-2.06-r266.tar.bz2
- http://ibiblio.org/jelkner/mondo_mindi/mindi-1.06-r266.tar.bz2
- http://ibiblio.org/jelkner/mondo_mindi/mindi-kernel-1.0.tgz
- Now uncompress the archives:
- tar xvjf mondo-2.06-r266.tar.bz2
- tar xvjf mindi-1.06-r266.tar.bz2
- tar xvzf mindi-kernel-1.0.tgz
- Build and install the pieces:
- cd mondo-2.06
- ./configure
- make
- make install
- cd ../mindi-1.06 (note: CHANGES and chown warnings may be safely ignored)
- ./install.sh
- cd ../mindi-kernel-1.0
- ./install.sh
- mv /usr/local/share/mindi/* /usr/local/lib/mindi
- Create the mondobackup script:
- cd /usr/local/bin/
- put the following in a file named
mondobackup
:
mondoarchive -Oi -d /usr/local/mondoiso -9 -F -E "/usr/local/mondoiso /usr/local/mondo" -k FAILSAFE # # -Oi tells mondo to back up the system, and to back it up to ISO files. # -d is the destination for the ISO files to be put # -9 is the compression level # -F tells mondo not to offer to write boot+data floppy disk images. # -E is the exclusion directory, anything listed in that is excluded. # -k FAILSAFE tells mondo to use the FAILSAFE kernel, because your kernel has cramfs in it.
- chmod +x mondobackup
Using Mondo/Mindi
You now have mondo/mindi installed on your system. To make cdimages which can be used to backup and restore your system on the same or another machine do the following:
- as root run
mondobackup
.
That's it! mondobackup
will call mondo and mindi to make iso images of your system in /usr/local/mondoiso
.
Burn each image onto a cd, then boot the target machine from the first cd to begin the restoration process.
Note: If you happen to use SCSI, and the failsafe kernel doesn't work for you, download and install kernel-image-2.6.14.2-baseline-4.2_10.00.Custom_i386.deb, but make sure to edit your grub/lilo so it doesn't use this kernel as your default kernel (unless you want to). Then you have to reboot into the kernel and then you can perform your backup, but remove the -k FAILSAFE switch from /usr/local/bin/mondobackup. This is messy and silly, there will be a better/universal way in the very near future.
- http://ibiblio.org/jelkner/mondo_mindi/kernel-image-2.6.14.2-baseline-4.2_10.00.Custom_i386.deb
- dpkg -i kernel-image-2.6.14.2-baseline-4.2_10.00.Custom_i386.deb
Mondo Mindi Wheeler Script
by Paul Flint This script actually works. Download the script from https://docbox.flint.com/bazaar/MondoMindi/mm.sh, next chmod +X it, become root, and tourch it off. It appears that Version 0.5 is worth testing with.