Re: clean-up of old kernel fragments.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Oct 23, 2024, at 17:56, home user via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> 
> On 10/23/24 3:18 PM, Jonathan Billings wrote:
>>> On Oct 22, 2024, at 20:42, home user via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
>>> 
>>> (f-40; gnome; stand-alone dual-boot workstation; kernel 6.11.3)
>>> 
>>> Selected command output...
>>> 
>>> -bash.2[~]: rpm -qa kernel
>>> kernel-6.10.12-200.fc40.x86_64
>>> kernel-6.11.3-200.fc40.x86_64
>>> -bash.3[~]:
>>> 
>>> -bash.3[~]: rpm -qa kernel-core
>>> kernel-core-6.10.12-200.fc40.x86_64
>>> kernel-core-6.11.3-200.fc40.x86_64
>>> -bash.4[~]:
>>> 
>>> -bash.4[~]: ls -l /boot
>>> total 297300
>>> -rw-r--r--. 1 root root   275360 Sep 29 18:00 config-6.10.12-100.fc39.x86_64
>>> 
>>> -rw-------. 1 root root 77162500 Oct 10 10:12 initramfs-6.10.12-100.fc39.x86_64.img
>>> 
>>> -rw-r--r--. 1 root root   165784 Oct 10 10:12 symvers-6.10.12-100.fc39.x86_64.xz
>>> 
>>> -rw-r--r--. 1 root root  9116365 Sep 29 18:00 System.map-6.10.12-100.fc39.x86_64
>>> 
>>> -rwxr-xr-x. 1 root root 15903080 Sep 29 18:00 vmlinuz-6.10.12-100.fc39.x86_64
>>> 
>>> -bash.5[~]:
>>> 
>>> -bash.11[~]: ls -l /boot/loader/entries
>>> total 8
>>> 
>>> -rw-r--r--. 1 root root 540 Oct 10 10:11 70857e3fb05849139515e66a3fdc6b38-6.10.12-100.fc39.x86_64.conf
>>> 
>>> -bash.12[~]:
>>> 
>>> My grub menu has 3 Fedora entries (two f-40, one f-39).  There should only be 2: the f-40 entries.  What I listed above from the "ls" commands are what appear to be the extra files.  I've deleted from the output entries for the f-40 kernels and the memtest entries.  The "rpm" output is for your information.
>>> 
>>> The questions:
>>> 1. Am I correct in assuming that I get rid of the extra files listed above?
>>> 2. If yes, should I do that by using the "rm" command, or would it be better to do it another way?  If another way, how?  (Would using the "rm" command mess up a database?)
>>> 3. What else (if anything) should I do to complete this clean-up properly?
>> Just to double check, is there a directory in /boot/efi named after your Machine ID (what’s in /etc/machine-id) with kernels and BLSCFG entries?
> 
> -bash.11[~]: ls -l /etc/machine-id
> -r--r--r--. 1 root root 33 Mar 17  2013 /etc/machine-id
> -bash.12[~]: cat /etc/machine-id
> 70857e3fb05849139515e66a3fdc6b38
> -bash.13[~]:
> 
> -bash.13[~]: ls -la /boot/efi/
> total 11
> drwx------. 3 root root 1024 Jan 23  2024 .
> dr-xr-xr-x. 6 root root 5120 Oct 19 10:46 ..
> drwx------. 4 root root 1024 Jan 23  2024 EFI
> -bash.14[~]: ls -la /boot/efi/EFI/
> total 8
> drwx------. 4 root root 1024 Jan 23  2024 .
> drwx------. 3 root root 1024 Jan 23  2024 ..
> drwx------. 2 root root 1024 Jan 23  2024 BOOT
> drwx------. 2 root root 1024 Oct 10 18:50 fedora
> -bash.15[~]:
> 
> Apparently not.
> I'm curious: What's the significance of that?

Just wanted to make sure you didn’t have kernels installed in the systemd-boot locations.

-- 
Jonathan Billings
-- 
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux