User Tools

Site Tools


linux:debian:upgrade-system-version

Differences

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

Link to this comparison view

Next revision
Previous revision
linux:debian:upgrade-system-version [2023/08/02 13:41] – created oscarlinux:debian:upgrade-system-version [2023/08/06 07:39] (current) – [Add user to sudoers] oscar
Line 1: Line 1:
 ====== Upgrade System to new Debian version ====== ====== Upgrade System to new Debian version ======
 +===== Create installation disk =====
 +Download ISO image from [https://www.debian.org/distrib/netinst]. Find out the name of the USB drive using the lsblk tool. On most Linux distributions the USB flash drive will be automatically mounted when inserted. Unmount the USB partitions first.
 +<code>
 +# lsblk
 +# umount /dev/sdx1
 +# dd bs=4M if=/path/to/debian-XX.X.X-amd64-netinst.iso of=/dev/sdx status=progress oflag=sync
 +</code>
 +===== Backup Current Root File System =====
 +To collect config files, etc. 
 +<code>
 +rsync -aAXz --verbose --itemize-changes --times --recursive --whole-file --delete --links --exclude dev/* --exclude proc/* --exclude sys/* --exclude tmp/* --exclude run/* --exclude mnt/* --exclude media/* --exclude lost+found --exclude var/lib/lxcfs/cgroup/* --exclude var/lib/lxcfs/proc/* / /media/oscar/Sandisk8GB
 +</code>
 +===== Configure SSD optimizations =====
 +[[linux:system:ssd|Linux SSD Optimization]]
 +===== Check for Boot and Kernel errors =====
 +  journalctl
 +===== Create tmpfiles.d entries =====
 +While creating tmpfs tmp and var directories some subdirectories will not be present after a reboot. Some deamons (e.g. anacron) will fail to start, due to this. To prevent this create entries into /etc/tmpfiles.d:
 +  nano /etc/tmpfiles.d/anacron.conf
 +  
 +  #Type Path                 Mode UID   GID   Age Argument
 +  d     /var/spool/anacron 774 0 0 - -
  
 +  Reload the config with:
 +  
 +  systemd-tmpfiles --create
 +
 +===== Add user to sudoers =====
 +[[linux:system:sudoers|linux:system:sudoers]]
 +
 +===== Bluetooth =====
 +[[linux:system:bluetooth|Bluetooth setup]]
 +
 +===== LightDM customization =====
 +[[linux:apps:lightdm|linux:apps:lightdm]]
 +
 +===== Install Applications =====
 +  apt-get install gimp
 +  apt-get install gparted
 +  apt-get install galculator
 +  kicad
 +  lightDM GTK+ greeter settings
linux/debian/upgrade-system-version.1690983679.txt.gz · Last modified: by oscar