Systemback made greater than the 4G system image Ubuntu

1 installation Systemback

So execute the following command.

sudo apt-get update
sudo add-apt-repository ppa:nemh/systemback
sudo apt-get update && sudo apt-get install systemback unionfs-fuse

The installation is complete:

2 using the image file generation Systemback

Enter the administrator password, open interface is shown below.

ISO documentation

The first step: Here we choose "Create Live System" interface appears as shown in the following figure:

Step Two: Check include left of the user data files (data file contains the user), so that their main folder of files are included in the system image. Many of the program related configuration files are saved in the main folder inside. Working Directory is to set the working directory, produced the program is running temporary files are saved here. So make sure there is plenty of storage space.

Step 3: Click the "Create new" began to create a wait is created, the process is a bit long. After completion of the interface is shown below:

System list on the right is the image that has been created. On the right of the list of files not converted into iso format, you can begin to convert the file if less than 4G, select the backup you want to convert, click on the convert to ISO. After the conversion is complete, you can find the generated iso file in your working directory.

note:

If the image generation system is less than 4G, in order to direct deposit as a disc image. Otherwise you will be using the following method.
If you have a formatted after the U-disk is inserted, the bottom left of the "write destination device" (write target) will detect the U disk. After generating the sblive file, select sblive file, then select the writing device in the lower left window, click on the "Write to the target device" (write to target) can be directly installed U disk make a good system, no longer need to use soft dish pass.

3 image compression system

Systemback when using'll find when generated sblive files larger than 4G is no way to produce iso file. This is because the iso file its own limitations, iso9600 file is limited to a single file can not exceed 2G, iso files can not exceed the total of 4G.
Therefore, when the image generation system if it exceeds the above-4G, not directly as iso dump file, then use sub-compression using udf file system file saved as an optical disc, the following is a specific solution.
Enter the computer's home folder, you can see that there are a systemback file generated:

The first step: decompression .sblive file:

mkdir sblive
tar -xf /home/systemback_live_2018-10-15.sblive -C sblive

Step two: Rename the syslinux to isolinux:

mv sblive/syslinux/syslinux.cfg sblive/syslinux/isolinux.cfg
mv sblive/syslinux sblive/isolinux

Step 3: Install cdtools:

sudo apt install aria2

aria2c -s 10 https://nchc.dl.sourceforge.net/project/cdrtools/alpha/cdrtools-3.02a07.tar.gz

tar -xvf cdrtools-3.02a07.tar.gz

cd cdrtools-3.02
make
sudo make install

Step Four: Generate ISO file:

/opt/schily/bin/mkisofs -iso-level 3 -r -V sblive -cache-inodes -J -l -b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -c isolinux/boot.cat -o sblive.iso sblive


Finally generated iso image

Reference: https://www.cnblogs.com/linuxAndMcu/p/10774020.html

Guess you like

Origin www.cnblogs.com/Pan-xi-yi/p/11830789.html