Mint up grade error missing file at boot
1 Attachment(s)
Hello - I did an upgrade to Mint Vanessa and after the upgrade at reboot I get error
error: '/boot/vmlinuz-5.4.0-146-generic' not found error" you need load the kernel first This is a multiboot system and I am able to boot to MX Linux Any help is appreciated (limited knowledge here) |
open a terminal in mxlinux run
Code:
sudo update-grub |
Ok - I ran it and thought maybe it was going to be fixed but...same think on reboot.
$ sudo update-grub [sudo] password for MX64: Generating grub configuration file ... Found background image: /usr/share/images/desktop-base/desktop-grub.png Found linux image: /boot/vmlinuz-4.19.0-14-amd64 Found initrd image: /boot/initrd.img-4.19.0-14-amd64 Found memtest86+ image: /boot/memtest86+.bin Warning: os-prober will be executed to detect other bootable partitions. Its output will be used to detect bootable binaries on them and create new boot entries. /dev/sdc: open failed: No medium found /dev/sdd: open failed: No medium found /dev/sde: open failed: No medium found /dev/sdf: open failed: No medium found Found Linux Mint 21 Vanessa (21) on /dev/sda5 Found Microsoft Windows XP Professional on /dev/sdb1 done |
At the boot menu, highlight mint press e for edit change /boot/vmlinuz-5.4.0-146-generic on the linux line to /boot/vmlinuz and the initrd line to /boot/initrd.img
ctrl-x to boot. If that doesn’t work change to /vmliuz and /initrd.img If it boots open a terminal and run "sudo update-grub |
OK when I - highlight mint press e for edit change /boot/vmlinuz-5.4.0-146-generic on the linux line to /boot/vmlinuz and the initrd line to /boot/initrd.img
ctrl-x to boot. This worked except.... when i made the changes and hit cntrl-x it went back to the boot option screen and got same error. When i made the changes and hit F10 it went ahead and booted into Mint but when i ran "sudo update-grub" i get the following... mint@mint-System-Product-Name:~$ sudo update-grub Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50_linuxmint.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... /etc/grub.d/bin/grubcfg_proxy: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory mint@mint-System-Product-Name:~$ Then when i reboot and select Mint the original error comes up So... if hit "e" on Mint during boot and make the changes and hit F10 it will boot into Mint but it doesnt seem to save the changes nor does "sudo update-grub" seem to correct the issue. It is a start though as I can at least get Mint to run. |
try running
sudo apt update sudo apt upgrade |
OK - ran those and error still pops up at boot.
Loads fine when i hit "e" to edit and remove the text as suggested. |
This is the problem:
Quote:
https://forums.linuxmint.com/viewtop...9126&p=2213515 https://forums.linuxmint.com/viewtop...18654#p2218654 To keep from having to edit the grub menu each time a temporary fix is to edit /boot/grub/grub.cg and make the /boot/vmlinuz and /boot/initrd.img edits to the first grub mint entry. |
Ok.... per the link you provided I....
Download the .deb file from the link below to your Downloads folder. http://security.debian.org/debian-se...b9u6_amd64.deb Then per the thread ran sudo update-grub mint@mint-System-Product-Name:~$ sudo update-grub [sudo] password for mint: Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/50_linuxmint.cfg' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.15.0-71-generic Found initrd image: /boot/initrd.img-5.15.0-71-generic Found MX 19.4 patito feo (19.4 ) on /dev/sda1 Found Microsoft Windows XP Professional on /dev/sdf1 Found linux image: /boot/vmlinuz-5.15.0-71-generic Found initrd image: /boot/initrd.img-5.15.0-71-generic Found MX 19.4 patito feo (19.4 ) on /dev/sda1 Found Microsoft Windows XP Professional on /dev/sdf1 done mint@mint-System-Product-Name:~$ Now Im going to reboot and see what happens! |
Hmmm....well that didnt work. I still have to edit the two lines.
(perhaps I missed the actual fix in the link?) |
post the contents of /etc/apt/sources.list
|
Maybe...this?
root@mint-System-Product-Name:/etc# cat /etc/apt/sources.list # deb cdrom:[Linux Mint 20.1 _Ulyssa_ - Release amd64 20210103]/ focal contrib main # This system was installed using small removable media # (e.g. netinst, live or single CD). The matching "deb cdrom" # entries were disabled at the end of the installation process. # For information about how to configure apt package sources, # see the sources.list(5) manual. root@mint-System-Product-Name:/etc# |
what about the contents of /etc/apt/sources.list.d/official-package-repositories.list
|
root@mint-System-Product-Name:/etc# cat /etc/apt/sources.list.d/official-package-repositories.list
deb https://mirror.cs.jmu.edu/pub/linuxmint/packages vanessa main upstream import backport deb http://mirror.cs.jmu.edu/pub/ubuntu jammy main restricted universe multiverse deb http://mirror.cs.jmu.edu/pub/ubuntu jammy-updates main restricted universe multiverse deb http://mirror.cs.jmu.edu/pub/ubuntu jammy-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse # deb http://archive.canonical.com/ubuntu/ jammy partner root@mint-System-Product-Name:/etc# |
Quote:
Code:
sudo apt dist-upgrade |
All times are GMT -5. The time now is 12:28 PM. |