User Tools

Site Tools


tricks_tips

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
tricks_tips [2018/02/23 11:31]
pavroo
tricks_tips [2018/03/12 00:29] (current)
pavroo
Line 15: Line 15:
 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 have to:
  
-a. Create '​offline'​ folder in the system'​s /home directory:+a. Create '​offline'​ folder in the home directory:
    sudo mkdir -p /​home/​offline    sudo mkdir -p /​home/​offline
  
-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 /​home/​offline ​    sudo chown -R $USER:$USER /​home/​offline ​
  
 (change $USER to your user name) (change $USER to your user name)
  
-c. Download deb packages from Debian repository (testing if you build Sparky based on Debian '​testing';​ or stable if you build Sparky based on Debian '​stable'​):​+c. Download deb packages from Debian repository (testing ​versions ​if you build Sparky based on Debian '​testing';​ or stable ​versions ​if you build Sparky based on Debian '​stable'​):​
  
 64bit (amd64): efibootmgr, grub-efi, grub-efi-amd64,​ grub-efi-amd64-bin,​ libefiboot1,​ libefivar1 64bit (amd64): efibootmgr, grub-efi, grub-efi-amd64,​ grub-efi-amd64-bin,​ libefiboot1,​ libefivar1
Line 29: Line 29:
 32bit (i386): efibootmgr, grub-efi, grub-efi-ia32,​ grub-efi-ia32-bin,​ libefiboot1,​ libefivar1 32bit (i386): efibootmgr, grub-efi, grub-efi-ia32,​ grub-efi-ia32-bin,​ libefiboot1,​ libefivar1
  
-and place them in the /​home/​offline folder.+and place them inside ​the /​home/​offline folder.
  
-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 ​before building the new iso.
  
 ==== Tip 3 ==== ==== Tip 3 ====
  
-Do not place much stuff in the /etc/skel directory. It breaks the live system user configuration and it won't start.+Do not place much stuff in the /etc/skel directory. It breaks the live system user configuration and it will not boot properly.
  
 The best way is to move only your desktop config files (if any) to the skel.  The best way is to move only your desktop config files (if any) to the skel. 
Line 41: Line 41:
 ==== Tip 4 ==== ==== Tip 4 ====
  
-If your machine is a few (or more) years old, and can't handle with strong '​xz' ​compresssion, change it to '​gz'​. It works faster, but creates 20-30 % bigger iso image than using '​xz'​.+If your machine is a few (or more) years old, and can't handle with strong '​xz' ​compression, change it to '​gz'​. It works faster, but creates 20-30 % bigger iso image than using '​xz'​.
  
 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 57: Line 57:
 ==== Tip 5 ==== ==== Tip 5 ====
  
-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.+Used personal stuff for customization (wallpapers, themes, icons, etc.) have to be placed in system directories,​ but **NOT** in your /home - it will be not copied to the new iso directory.
  
 Put your stuff in dirs, such as: Put your stuff in dirs, such as:
Line 73: Line 73:
    sudo apt-get autoremove    sudo apt-get autoremove
    sudo apt-get clean    sudo apt-get clean
 +
 +or 
 +   sudo spb cache
  
tricks_tips.txt ยท Last modified: 2018/03/12 00:29 by pavroo