linux:debian:upgrade-system-version
Table of Contents
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.
# lsblk # umount /dev/sdx1 # dd bs=4M if=/path/to/debian-XX.X.X-amd64-netinst.iso of=/dev/sdx status=progress oflag=sync
Backup Current Root File System
To collect config files, etc.
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
Configure SSD optimizations
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
Bluetooth
LightDM customization
Install Applications
apt-get install gimp apt-get install gparted apt-get install galculator kicad lightDM GTK+ greeter settings
linux/debian/upgrade-system-version.txt · Last modified: by oscar
