Hello, I’m JackTian.

Share with you the last time a “artifact tools: a new generation of more system start U disk installed solution, recognised by many readers, they are in the day to try this magical power tools, minute minute seconds kill traditional Chinese cabbage, I believe everyone to use it, will be more let you fondle admiringly, greatly improves the work efficiency when we installed.

Can you share a tutorial on how to burn an ISO file to an existing Linux operating system? Although I haven’t practiced this before, I take this opportunity to learn and share it with you.

Today, I will share with you this amazing open source free failover and backup tool – Mondo Rescue.

What is Mondo Rescue?

Mondo Rescue: Ghost is an open source, free backup and recovery tool. Ghost is a Linux operating system, you can easily create system (Linux or Windows) clone or backup ISO image. You can store these images on CDS, DVDS, tapes, USB devices, hard drives, and NFS.

In the event of data loss, you will be able to restore all of your system’s data from backup media or as needed. In addition, Mondo Rescue can be used to quickly recover or redeploy working images to other systems.

Mondo supports LVM 1/2, RAID, Ext 2/3/4, JFS, XFS, ReiserFS, VFAT, etc., and can easily support other file systems, support software RAID and most hardware RAID controllers, support disk geometry adjustment, This includes migration from non-RAID to RAID. Supports BIOS and UEFI boot modes.

Mondo runs on all major Linux distributions (Fedora, RHEL, OpenSUSE, SLES, Mageia, Debian, Ubuntu, Gentoo) and can be used to back up non-Linux partitions, such as NTFS.

The installation

1. Download the installation package

Depending on your system type, you can download it from the official website or install it via yum.

# wget ftp://ftp.mondorescue.org/rhel/6/x86_64/mondorescue.repo
Copy the code

D /, such as in other directories may not work.

# yum install -y mondo
Copy the code

The following problems may occur during the YUM installation.

"warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Copy the code

Solutions:

# cd /etc/pki/rpm-gpg/
# wget http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6
# rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Copy the code

The following error occurs when CentOS is used:

warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID XXXXXX: NOKEY
Copy the code

Solutions:

Add the "-- nogpgCheck "parameterCopy the code

Add this parameter to the end of the statement you want to execute;

# yum install -y mondo --nogpgcheck
Copy the code

To make the mirror

After the installation is complete, enter mondoArchive in the terminal as user root to access the GUI.

# mondoarchive See /var/log/mondoarchive.log for details of backup run. Checking sanity of your Linux distribution .Copy the code

Backup to what media

Select Hard Disk to back up the ISO image to the Hard disk

Backup Location selection

Enter the full path name of the directory where the backup ISO image resides or the default path.

Compression type selection

Gzip is recommended for high compression.

Compressibility selection

Select Maximum (9) for compression options

Select the size of each mirror

Enter the size you want for each ISO image, in MB (megabytes).

This value should be less than or equal to the capacity of cD-R (W) (700) or DVD (4480). This is the default.

Name the image

Specify the ISO image file name, such as the default mondorescue, or customize or default.

Select the directory to back up

Enter the directory where you want to back up the files. The default directory is root.

Exclude directories that do not need to be backed up

Exclude the backup file system and to | space.

There are some files that are not needed and can be excluded, and if you want to fully back up your operating system, the default is enter.

Select a temporary directory path

Enter the temporary directory path and select the default path.

Select the staging directory path

Enter the path of the temporary directory and select the default path.

Select whether to back up extended properties

Select the properties of the backup extension and select Yes.

Back up the machine’s kernel

By default, select OK and press Enter.

Verifying backup files

To verify your backup file, after Mondo creates the backup file, select “Yes”.

After this step, the software will automatically backup (create “/” file system directory, partition file list into collection, call MINDI, create boot+data disk, back up file system, back up large files, run mkisofs, create ISO image file, verify ISO image compression package, verify ISO Mirror large files, etc.) without human interaction.

Finally, mondo Archive has finished running it, archiving is complete, and press OK enter to return to the shell prompt interface.

Go back to the /var/cache/mondo/ directory to verify that there is an ISO image file.

# cd /var/cache/mondo/
# ls
difflevel.0  mondorescue-1.iso
Copy the code

After this step, you can burn the backup image to CD/DVD, easy to restore the system later use, can use Mondo generated ISO image boot operating system, in the boot prompt interface select “(manual input) Nuke” type, restore the file.

CentOS is used as an example. Ubuntu is used as an example. You can use reMastersys and ReMastersys-GUI.

Remastersys can package your Ubuntu, Debian and their derivatives as a Live CD/DVD ISO file that you can install, and an ISO file containing your personal data as an OPERATING system backup. You can also package an ISO image file without personal data and distribute it to others for installation.

Remastersys package download

$ mkdir tools
$ cd tools/
$ wget ftp://ftp.gwdg.de/pub/linux/easyvdr/mirror/remastersys/ubuntu/remastersys/remastersys_3.0.4-2_all.deb`
$ wget ftp://ftp.gwdg.de/pub/linux/easyvdr/mirror/remastersys/ubuntu/remastersys-gui/remastersys-gui_3.0.4-1_amd64.deb
Copy the code

Install the Remastersys dependency

$ sudo apt-get install syslinux-utils isolinux squashfs-tools casper libdebian-installer4 ubiquity-frontend-debconf user-setup discover xresprobe systemd
Copy the code

Install the ReMastersys-GUI dependency

$ sudo apt-get install libvte-common libvte9 plymouth-x11
Copy the code

The Remastersys installation starts

$CD tools/ $sudo DPKG -i remastersys_3.0.4-2_all.deb $sudo DPKG -i remastersys-gui_3.0.4-1_amd64.debCopy the code

Remastersys Backs up the operating system

Command line mode:

$ sudo remastersys backup
Copy the code

Graphical mode:

$ sudo remastersys-gui
Copy the code

Reference

[1] [2] www.mondorescue.org/ www.iteye.com/blog/haiwei… [3] www.cnblogs.com/winstom/p/9…

conclusion

Through an original articles on broadened horizons, we know that a simple, rapid and efficient machine tools, the system up, hard to avoid can appear problem, through this article jie brother teach you a recruit how quickly will the Linux system into ISO image file, when encounter problems can quickly recover in effective time, improve work efficiency.

If you find this article useful to you, please leave a comment, like it, or share it, because this will be the strongest motivation for me to continue to produce more quality articles! Thank you!