LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 04-28-2023, 12:16 PM   #1
Fairway
Member
 
Registered: Nov 2019
Posts: 59

Rep: Reputation: Disabled
Mint up grade error missing file at boot


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)
Attached Thumbnails
Click image for larger version

Name:	upgrade error 1.jpg
Views:	34
Size:	228.4 KB
ID:	40926  
 
Old 04-28-2023, 12:58 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
open a terminal in mxlinux run
Code:
sudo update-grub
reboot see if that fixes it. If not will need more information about the partitions/uuids of the systems.
 
1 members found this post helpful.
Old 04-28-2023, 01:12 PM   #3
Fairway
Member
 
Registered: Nov 2019
Posts: 59

Original Poster
Rep: Reputation: Disabled
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
 
Old 04-28-2023, 02:46 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
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
 
2 members found this post helpful.
Old 04-28-2023, 03:35 PM   #5
Fairway
Member
 
Registered: Nov 2019
Posts: 59

Original Poster
Rep: Reputation: Disabled
Smile

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.
 
Old 04-28-2023, 05:12 PM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
try running
sudo apt update
sudo apt upgrade
 
1 members found this post helpful.
Old 04-28-2023, 08:12 PM   #7
Fairway
Member
 
Registered: Nov 2019
Posts: 59

Original Poster
Rep: Reputation: Disabled
OK - ran those and error still pops up at boot.
Loads fine when i hit "e" to edit and remove the text as suggested.
 
Old 04-28-2023, 09:19 PM   #8
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
This is the problem:
Quote:
error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file
a little googling I came across on how to fix:
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.
 
1 members found this post helpful.
Old 04-29-2023, 09:01 AM   #9
Fairway
Member
 
Registered: Nov 2019
Posts: 59

Original Poster
Rep: Reputation: Disabled
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!
 
Old 04-29-2023, 09:09 AM   #10
Fairway
Member
 
Registered: Nov 2019
Posts: 59

Original Poster
Rep: Reputation: Disabled
Hmmm....well that didnt work. I still have to edit the two lines.
(perhaps I missed the actual fix in the link?)
 
Old 04-29-2023, 09:34 AM   #11
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
post the contents of /etc/apt/sources.list
 
Old 04-29-2023, 10:09 AM   #12
Fairway
Member
 
Registered: Nov 2019
Posts: 59

Original Poster
Rep: Reputation: Disabled
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#
 
Old 04-29-2023, 11:06 AM   #13
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
what about the contents of /etc/apt/sources.list.d/official-package-repositories.list

Last edited by colorpurple21859; 04-29-2023 at 11:08 AM.
 
1 members found this post helpful.
Old 04-29-2023, 12:08 PM   #14
Fairway
Member
 
Registered: Nov 2019
Posts: 59

Original Poster
Rep: Reputation: Disabled
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#
 
Old 04-29-2023, 04:56 PM   #15
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Quote:
Hmmm....well that didnt work. I still have to edit the two lines.
That's strange, there was no errors with update-grub and the file in sources.list.d looks correct. run
Code:
sudo apt dist-upgrade
sudo update-grub
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Mint 19.1 install as dual boot on Win10 Toshiba Satellite Pro/ Win10 cant update/ changed boot order to Win10 first lost boot menu lost Mint Gyroman Linux - Newbie 8 07-20-2022 08:49 PM
Please help me with awk to output list of students, their grade as % and letter grade jessmister04 Linux - Newbie 32 05-08-2020 08:13 AM
[SOLVED] changed window managers Mint 19 Mate crashed, missing menu items, missing WM pablo27 Linux Mint 3 09-06-2018 07:09 AM
linux Flash file system used in enterprise grade storage ravish165 Linux - Enterprise 2 04-03-2015 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 08:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration