- Networking
- System installation & LUKS
- Time & date
- Package manager
- Miscellaneous
Install OpenVPN plugin:
apt install network-manager-openvpn
- Install
keyutils
- Add
keyscript=decrypt_keyctl
to/etc/crypttab
:
part1_crypt /dev/disk/... none luks,discard,keyscript=decrypt_keyctl
timedatectl set-local-rtc 1
sudo timedatectl set-ntp off
sudo timedatectl set-ntp on
Source: https://askubuntu.com/a/998449
dpkg --list | grep -E -i --color 'linux-image|linux-headers'
dpkg --list | grep -i -E --color 'linux-image|linux-kernel' | grep '^ii'
apt-cache rdepends perl
Run:
sudo apt-get --with-new-pkgs upgrade <list of packages kept back>
Download libtext-iconv-perlpackage manually from https://packages.ubuntu.com (e.g. https://packages.ubuntu.com/mantic/libtext-iconv-perl) and install via dpkg:
sudo dpkg -i libtext-iconv-perl_1.7-8_amd64.deb
Source: https://askubuntu.com/a/1166645
Sign the driver according to instructions at https://stackoverflow.com/a/59536913
Mirror on Gist: https://gist.github.com/Postrediori/a9e1f60e615163b76b427789c8a4653c#manually-sign-virtualbox-kernel-modules-on-linux-to-run-with-secuteboot
history -c && history -w
Disable GUI on the next boot:
sudo systemctl set-default multi-user
End current Gnome session:
gnome-session-quit
Enable GUI on the next boot:
sudo systemctl set-default graphical
Run Gnome from console mode:
sudo systemctl start gdm3
Source: https://linuxconfig.org/how-to-disable-enable-gui-on-boot-in-ubuntu-20-04-focal-fossa-linux-desktop
Driver is stuck on Continue using a manually installed driver
.
Reinstall drivers:
sudo ubuntu-drivers install
Source: https://askubuntu.com/a/1237598
Open grub file /etc/default/grub
and change value GRUB_CMDLINE_LINUX_DEFAULT
. Replace 1366x768 withthe desired resolution.
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1366x768"
Update grub and install linux-image-extra-virtual
package
sudo update-grub
sudo apt install linux-image-extra-virtual
Shutdown the VM and open PowerShell as administrator on host machine and run below. Replace "ubuntu" with your vm name. Change "1366" and "768" with the desired resolution.
set-vmvideo -vmname ubuntu -horizontalresolution:1366 -verticalresolution:768 -resolutiontype single
Start VM.
Source: https://superuser.com/a/1680613
- About sleep states - https://www.reddit.com/r/framework/comments/1c7s5d6/comment/l0cnfu4/