Linux:fedora
This is an old revision of the document!
Fedora
Nvidia drivers
dnf install akmod-nvidia dnf install kernel-devel-xxx akmods --force --kernels 6.xx
Post install nvidia driver
cat /etc/X11/xorg.conf.d/10-nvidia.conf Section "OutputClass" Identifier "nvidia" MatchDriver "nvidia-drm" Driver "nvidia" Option "AllowEmptyInitialConfiguration" Option "SLI" "Auto" Option "BaseMosaic" "on" Option "PrimaryGPU" "yes" EndSection Section "ServerLayout" Identifier "layout" Option "AllowNVIDIAGPUScreens" EndSection
Upgrade
Upgrade max to current version +2 (Ex from fc 38 to 40)
dnf system-upgrade download --releasever=40
Remove cached files after upgrade:
dnf system-upgrade clean
Check if any packages version were locked:
cat /etc/dnf/plugins/versionlock.list # if locked: dnf versionlock clear
Remove rhgb & quiet from kernel’s GRUB menu entry
grubby --remove-args="rhgb quiet" --update-kernel=ALL
DNS servers
Check DNS:
systemd-resolve --status | grep "DNS Servers"
Flush DNS:
systemd-resolve --flush-caches
Chroot:
systemd-nspawn -D
Restore from live disk: https://docs.fedoraproject.org/en-US/quick-docs/grub2-bootloader/#_restoring_the_bootloader_using_the_live_disk
File system check: https://www.freedesktop.org/software/systemd/man/latest/systemd-fsck@.service.html#Kernel%20Command%20Line
Verify packages: http://ftp.rpm.org/max-rpm/s1-rpm-verify-what-to-verify.html#S2-RPM-VERIFY-A-OPTION