LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-13-2023, 05:52 AM   #1
slackbat
Member
 
Registered: Dec 2005
Location: Mid-West-Wales
Distribution: Slackware 14.2_64_multilib - Salix 14.2 - devuan
Posts: 142

Rep: Reputation: 27
lmde kernel upgrade not repopulating /boot


Hi all,

A friend has asked why after a kernel upgrade, are the files within /boot not being replaced or refreshed to show, or point to the newer kernel, and whether this can be done manually.

My friend told me to thank everyone on their behalf for any help

slackbat (on behalf of a friend)

Last edited by slackbat; 08-13-2023 at 05:53 AM.
 
Old 08-13-2023, 06:52 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Your friend could save a lot of time by looking things up on the internet. Below is the first hit I got, naturally, there's more:

https://manpages.ubuntu.com/manpages...te-grub.8.html
 
Old 08-13-2023, 10:42 AM   #3
slackbat
Member
 
Registered: Dec 2005
Location: Mid-West-Wales
Distribution: Slackware 14.2_64_multilib - Salix 14.2 - devuan
Posts: 142

Original Poster
Rep: Reputation: 27
Hi

My friend thanks you frpm the bottom of his heart, but he tells me that it looks like this is for regenerating a grub config file

Code:
update-grub is a stub for running grub-mkconfig -o /boot/grub/grub.cfg to generate a grub2
       config file.
My friend also wants to tell that his sight is not that good, and even though he did search the web, albeit as much as he could, he did not find how to fix the problem, so he came here as it might be more beneficial.

All the best from me and my friend
 
Old 08-13-2023, 11:31 PM   #4
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Is the new kernel in /boot? Is there a boot partition? Does the system have more than one distro/os installed? Is this a legacy or uefi system? What boot loader does it use?
 
Old 08-14-2023, 05:11 AM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,519

Rep: Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493
In addition to answering the questions in post 4, how was the kernel upgrade done? I'm not familiar with LMDE so I don't know which repositories it uses but this is explained for Ubuntu derivatives at the first link below and Debian derivatives at the second link to do it manually.

https://tecadmin.net/install-linux-kernel-on-ubuntu/

https://wiki.crowncloud.net/?How_to_...x_on_Debian_11
 
Old 08-14-2023, 06:55 AM   #6
slackbat
Member
 
Registered: Dec 2005
Location: Mid-West-Wales
Distribution: Slackware 14.2_64_multilib - Salix 14.2 - devuan
Posts: 142

Original Poster
Rep: Reputation: 27
Wink

Hi all from me and my friend,

Here is what my friend reports is in /boot and /usr/src

Code:
System.map-4.19.0-11-amd64  initrd.img-5.10.0-24-amd64
config-4.19.0-11-amd64	    memtest86+.bin
grub			    memtest86+_multiboot.bin
initrd.img-4.19.0-11-amd64  vmlinuz-4.19.0-11-amd64
in /usr/src

Code:
linux-headers-5.10.0-21-amd64	linux-headers-5.10.0-24-common
linux-headers-5.10.0-21-common	linux-kbuild-4.9
linux-headers-5.10.0-24-amd64	linux-kbuild-5.10
and for a bonus /lib/modules

Code:
4.19.0-11-amd64  5.10.0-21-amd64  5.10.0-24-amd64
He informs myself that he is running LMDEm has been updating using mintupdate and apt ; for some reason he has to run apt to update pacjages before being able to run mintupdate.

My freind expresses his thanks for the suggestions, and the links which look really helpful.

All the best from slackbat and friend
 
Old 08-14-2023, 07:27 AM   #7
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
What is the apt and mintupdate command to update the kernel,
post the contents of /etc/fstab and the output of
Code:
df -h
 
Old 08-14-2023, 07:35 AM   #8
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,579
Blog Entries: 19

Rep: Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453Reputation: 4453
It is also worth using dpkg-query to find out the status of this package, i.e. where it got stuck during the process of installation.

For example, if the "lost" kernel is 5.10.0 (as looks to be the case from post 6) use dpkg-query --list "5.10.0".
 
Old 08-15-2023, 06:56 AM   #9
slackbat
Member
 
Registered: Dec 2005
Location: Mid-West-Wales
Distribution: Slackware 14.2_64_multilib - Salix 14.2 - devuan
Posts: 142

Original Poster
Rep: Reputation: 27
Hi all from the both of us

Quote:
olorpurple21859 What is the apt and mintupdate command to update the kernel,
From what I can gather, it is just a normal
Code:
apt update
, then with mintupdate its
Code:
mintupdate-cli upgrade
as the graphical front end is flaky.

the df -h command will have to wait as he is mainly dual booting another os, as that works, indeed that will be the same for the other commands suggested.

I will get back to you withthe results.

All the best from slackbat abd friend.
 
Old 08-15-2023, 10:26 AM   #10
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Quote:
dual booting another os
What is the other os?
 
Old 08-15-2023, 10:33 AM   #11
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,352

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Kernel 4.19 is lmde4, kernel 5.10 is lmde5, Assuming the friend is upgrading from lmde4 to lmde5, was "apt dist-upgrade" ran? dist-upgrade in usually ran on a pure debian distro when updating to a newer version, not sure what it will do on lmde.

Last edited by colorpurple21859; 08-15-2023 at 10:37 AM.
 
  


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
LXer: How to upgrade Linux mint LMDE 4 to LMDE 5 via Upgrade tool LXer Syndicated Linux News 0 04-29-2022 05:35 AM
repopulating HTML variables after history(-1) from $_POST with PHP fred2014 Programming 3 03-10-2015 09:32 AM
Error when doing apt-get upgrade LMDE? david0321 Debian 2 09-27-2013 05:35 AM
[SOLVED] 'sudo apt-get dist-upgrade' on a weekly schedule for LMDE Kenny_Strawn Linux Mint 6 10-07-2010 03:27 PM

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

All times are GMT -5. The time now is 01:53 AM.

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