I have an issue with Ubuntu 20.04, since I upgraded from 18.04. Every time the software updater updates Ubuntu base I need to manually update initramfs , otherwise my PC won't boot.
1. sudo update-initramfs -u -k all
(or sudo update-initramfs -u -k <kerner version>)
2. sudo update-grub
I would like to fix or automate this once and for all, so that it won't happen again after the next update, but I am a complete newbie at tinkering with Linux.
Where should I start and how can a tackle this?
A quick solution would be appreciated, but I would also like to know what I need to study regarding ubuntu and linux in general, so that I won't have to bother you again with similar questions.
Thanks
edit:
cat /etc/initramfs-tools/update-initramfs.conf
produces the following:
update_initramfs=yes
backup_initramfs=no
edit 2:
df -h
regarding the boot partition produces
/dev/sdb2 705M 172M 482M 27% /boot
/dev/sdb1 511M 7,9M 504M 2% /boot/efi
cat /etc/initramfs-tools/update-initramfs.conf
please add this to your question. – nobody Mar 01 '21 at 11:29df -h
? – Mar 01 '21 at 11:58sudo update-initramfs -c -v -k 5.4.0-66-generic
please paste it here https://pastebin.ubuntu.com/ – nobody Mar 01 '21 at 15:02sudo apt-get upgrade
shows some errors: https://pastebin.ubuntu.com/p/4jzxK3JdYn/ – nounehis Mar 01 '21 at 15:40grep -r deb /etc/apt/sources.list /etc/apt/sources.list.d
anddkms status
please. – nobody Mar 01 '21 at 16:09dkms statis
says:
– nounehis Mar 01 '21 at 16:25nvidia, 415.27: added nvidia, 460.39, 5.4.0-65-generic, x86_64: installed