This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tricks_tips [2017/03/05 21:50] – created pavroo | tricks_tips [2021/05/04 13:24] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Sparky Backup System - Tricks & Tips ===== | ===== Sparky Backup System - Tricks & Tips ===== | ||
- | It can help with managing the backup tool and fix some problems if any. | + | Tricks and tips to help with managing the backup tool and fix some problems if any. |
==== Tip 1 ==== | ==== Tip 1 ==== | ||
- | The script can build an iso image from self compressed squashfs (done during the whole prosess) which **CAN NOT** be bigger then 3.99 GB. It means if the building process stops with a message: | + | The script can build an iso image from self compressed squashfs (done during the whole process) which **CAN NOT** be bigger then 3.99 GB. If the building process stops with a message: |
The compressed filesystem is larger than the iso9660 specification allows for a single file. You must try to reduce the amount of data you are backing up and try again. | The compressed filesystem is larger than the iso9660 specification allows for a single file. You must try to reduce the amount of data you are backing up and try again. | ||
- | you have to remove some stuff from the system and try again. | + | you need to remove/ |
==== Tip 2 ==== | ==== Tip 2 ==== | ||
- | The tool builds BIOS compatible iso system as default. If you would like to build the iso image which will be BIOS and UEFI compatible, you have to: | + | The tool builds BIOS compatible iso system as default. If you would like to build the iso image which will be BIOS and UEFI compatible, you need to: |
- | a. Create ' | + | * a. - Create ' |
sudo mkdir -p / | sudo mkdir -p / | ||
- | b. Change the folder owner to you (an option, can be managed as root): | + | * b. - Change the folder owner to you (as option, can be managed as root): |
sudo chown -R $USER:$USER / | sudo chown -R $USER:$USER / | ||
(change $USER to your user name) | (change $USER to your user name) | ||
- | c. Download deb packages from Debian ' | + | * c. - Download deb packages from Debian repository (testing versions if you build Sparky based on Debian ' |
64bit (amd64): efibootmgr, grub-efi, grub-efi-amd64, | 64bit (amd64): efibootmgr, grub-efi, grub-efi-amd64, | ||
Line 29: | Line 29: | ||
32bit (i386): efibootmgr, grub-efi, grub-efi-ia32, | 32bit (i386): efibootmgr, grub-efi, grub-efi-ia32, | ||
- | and place them in the / | + | and place them inside |
- | Make sure that the placed debs are in the same versions as available by APT before building the new iso. | + | Make sure that the placed debs are in the same versions as installed in your system |
==== Tip 3 ==== | ==== Tip 3 ==== | ||
- | Do not place much stuff in the /etc/skel directory. It breaks the live system and it won't start. | + | Do not place much stuff in the /etc/skel directory. It breaks the live system |
+ | |||
+ | The best way is to move only your desktop config files (if any) to the skel. | ||
==== Tip 4 ==== | ==== Tip 4 ==== | ||
- | If your machine is a few (or more) years old, and can't handle with strong ' | + | If your machine is a few (or more) years old, and can't handle with strong ' |
To change compression type, edit the configuration file (by any text editor): | To change compression type, edit the configuration file (by any text editor): | ||
Line 53: | Line 55: | ||
| | ||
- | === Tip 5 === | + | ==== Tip 5 ==== |
- | Used personal stuff for customization (wallpaers, themes, etc.) have to be placed in system directories, | + | Used personal stuff for customization (wallpapers, themes, icons, etc.) have to be placed in system directories, |
Put your stuff in dirs, such as: | Put your stuff in dirs, such as: | ||
Line 65: | Line 67: | ||
/ | / | ||
+ | ==== Tip 6 ==== | ||
+ | |||
+ | Clean the APT cache before creating new iso image, to reduce the iso size: | ||
+ | |||
+ | sudo apt-get autoremove | ||
+ | sudo apt-get clean | ||
+ | |||
+ | or | ||
+ | sudo spb cache | ||
+ | |||
+ | -------- | ||
+ | |||
+ | <WRAP center box 100%> | ||
+ | |[[sparky_backup_sys|< | ||
+ | </ | ||