This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
sparky_backup_core [2017/03/05 20:53] – pavroo | sparky_backup_core [2017/03/05 23:06] – pavroo | ||
---|---|---|---|
Line 45: | Line 45: | ||
=== Step 2 - Desktop configuration === | === Step 2 - Desktop configuration === | ||
- | === Step 3 - Building process === | + | Your desktop configuration should be copied to the /etc/skel directory to use it in a new live system. |
- | ==== Tricks & Tips ==== | + | Simply copy (as root) any desktop environment or window manager configuration to skel, for example: |
- | === Tip 1 === | + | JWM: |
- | 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: | + | sudo cp ~/HOME/.jwmrc /etc/skel/ |
- | 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. | + | Openbox: |
- | you have to remove some stuff from the system and try again. | + | sudo cp ~/HOME/.config/ |
- | === Tip 2 === | + | etc., etc. |
- | 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: | + | Make sure that the target folder do exist in the ' |
- | a. Create ' | + | === Step 3 - Building process |
- | sudo mkdir -p / | + | |
- | + | ||
- | b. Change the folder owner to you (an option, can be managed as root): | + | |
- | sudo chown -R $USER:$USER / | + | |
- | + | ||
- | (change $USER to your user name) | + | |
- | + | ||
- | c. Download deb packages from Debian ' | + | |
- | + | ||
- | 64bit (amd64): efibootmgr, grub-efi, grub-efi-amd64, | + | |
- | + | ||
- | 32bit (i386): efibootmgr, grub-efi, grub-efi-ia32, | + | |
- | + | ||
- | and place them in the / | + | |
- | + | ||
- | Make sure that the placed debs are in the same versions as available by APT before building the new iso. | + | |
- | + | ||
- | === Tip 3 === | + | |
- | + | ||
- | Do not place much stuff in the /etc/skel directory. It breaks the live system and it won't start. | + | |
- | + | ||
- | === Tip 4 === | + | |
- | + | ||
- | 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): | + | |
- | + | ||
- | sudo nano / | + | |
- | + | ||
- | and change the line from: | + | |
- | + | ||
- | | + | |
- | + | ||
- | to: | + | |
- | | + | After changing all your custom setting, the building process can be started: |
- | === Tip 5 === | + | sudo sparkybackup dist |
- | Used personal stuff for customization (wallpaers, themes, etc.) have to be placed in system directories, but NOT in your /home - it will be not copied to the new iso directory. | + | Building with no errors will place your new iso image, package list and check sum files in your working directory. Copy them to other location, before buildning next one. |
- | Put your stuff in dirs, such as: | + | === Step 4 - Cleaning === |
- | /opt/ | + | After the building process been completed, and you copied the iso and other stuff to diffent locations, you **HAVE** to clean the working directory **BEFORE** making another iso image: |
- | / | + | sudo sparkybackup clean |
- | / | ||
+ | You should also read [[tricks_tips|Tricks & Tips]] page. | ||