User Tools

Site Tools


config:ubuntu18-20-upgrade

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
config:ubuntu18-20-upgrade [2020/08/19 23:35] Wuffconfig:ubuntu18-20-upgrade [2025/11/23 12:11] (current) – removed Wuff
Line 1: Line 1:
-====== Ubuntu 18.04 -> 20.04 upgrade ====== 
  
-<code> 
-sudo do-release-upgrade -d 
-</code> 
-Kodi-specific: keep pam config, keep security/limits config, resolved.conf blacklist.conf /etc/sysctl.conf openssh server conf  unattended upgrades mysqld.conf apticron 
- 
- 
-remove unnecessary locales 
-<code> 
-list available locales: 
-localedef --list-archive 
-locale -a 
-</code> 
-then remove all BUT THE ONES LISTED: 
-<code>sudo locale-gen --purge <locales YOU WANT TO KEEP> en_GB.utf8 en_US.utf8</code> 
- 
-<code>sudo apt-get install localepurge</code> 
-After that, you could reboot or try to run ''. /etc/default/locale''. 
- 
-To reconfigure this, simply enter the following in terminal: 
-<code>sudo dpkg-reconfigure localepurge</code> 
- 
-reinstate ppas after upgrade by uncommenting sources  https://askubuntu.com/questions/111645/whats-the-best-way-to-re-enable-ppas-repos-after-an-upgrade 
- 
-<code>for f in /etc/apt/sources.list.d/*.list; do sudo sed -i 's/bionic/focal/g' $f; sudo sed -i 's/^# \(.*\) # disabled on upgrade to.*/\1/g' $f;done</code> 
- 
-Remove snap/lxd: 
-<code> 
-sudo apt autoremove --purge snapd gnome-software-plugin-snap 
-</code> 
- 
-Remove legacy xorg drivers, keep only intel 
-<code> 
-sudo apt-get purge xserver-xorg-video-vmware xserver-xorg-video-radeon xserver-xorg-video-qxl xserver-xorg-video-nouveau xserver-xorg-video-intel-hwe-18.04 xserver-xorg-video-ati xserver-xorg-video-amdgpu xserver-xorg-legacy-hwe-18.04 xserver-xorg-legacy xserver-xorg-video-all xserver-xorg-hwe-18.04 xserver-xorg-core-hwe-18.04 xserver-xorg-video-fbdev xserver-xorg-video-vesa xserver-xorg-video-intel 
-</code> 
- 
-remove edid firmware patch and update initramfs and grub 
-<code> 
-vi /etc/default/grub 
-</code> 
-set 
-<code> 
-GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" 
-</code> 
-<code> 
-sudo update-grub 
-</code> 
- 
-<code> 
-sudo apt-get install xserver-xorg-legacy xserver-xorg-video-intel 
-</code> 
-#set to everyone 
-<code> 
-sudo dpkg-reconfigure xserver-xorg-legacy 
-</code> 
-<code> 
-sudo vi /etc/X11/Xwrapper.config 
-</code> 
-add 
-<code> 
-needs_root_rights=yes 
-</code> 
- 
-Adjust Alsa options: 
-<code> 
-sudo vi /etc/modprobe.d/alsa-base.conf 
-</code> 
-<code> 
-#options snd-hda-intel enable_msi=1 bdl_pos_adj=1,48 
-options snd-hda-intel power_save=0 power_save_controller=N 
-</code> 
- OR 
-<code> 
-sudo echo -e '\n# Disable snd-hda-intel power saving\noptions snd-hda-intel power_save=0 power_save_controller=N\n' >> /etc/modprobe.d/alsa-base.conf 
-</code> 
- 
-Reinstall virtualbox (if required): 
-<code> 
-sudo apt install virtualbox virtualbox-qt 
-</code> 
config/ubuntu18-20-upgrade.1597876525.txt.gz · Last modified: (external edit)