clr-boot-manager icon indicating copy to clipboard operation
clr-boot-manager copied to clipboard

When removing kernel bundles all configurations are not removed

Open LibertadCruz opened this issue 5 years ago • 4 comments

When you have installed more than one kernel, and you can boot from the different kernels. Once you remove the kernel bundle it apperantly shows the bundle no longer exists. But I can still see the different kernels configuration files in the /EFI/org.clearlinux path. Plus it still shows them as booting options in the initial menu because they still exists as bootloader entries. CL version 29880

LibertadCruz avatar Jun 14 '19 00:06 LibertadCruz

This is normal. Clear-boot-manager will prune them if there are too many, but these files are not like package content - there are very simple reasons why you can't just remove kernel files when a bundle is removed - it might leave you unable to boot your system.

ahkok avatar Jun 14 '19 05:06 ahkok

I wonder if we do not include the initrd stuff in the garbage collection algorithm though

On Thu, Jun 13, 2019 at 10:34 PM ahkok [email protected] wrote:

This is normal. Clear-boot-manager will prune them if there are too many, but these files are not like package content - there are very simple reasons why you can't just remove kernel files when a bundle is removed - it might leave you unable to boot your system.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/clearlinux/distribution/issues/886?email_source=notifications&email_token=AAJ54FOZT4IHYHD5TRKJKB3P2MUWDA5CNFSM4HYCBOMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXVYJUI#issuecomment-501974225, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJ54FNAWQSUXOZCZTB3I5TP2MUWDANCNFSM4HYCBOMA .

fenrus75 avatar Jun 14 '19 14:06 fenrus75

This is normal. Clear-boot-manager will prune them if there are too many, but these files are not like package content - there are very simple reasons why you can't just remove kernel files when a bundle is removed - it might leave you unable to boot your system.

Should we add an option to remove kernel to CBM?

or create a documentation on how to remove the kernel from ESP?

miguelinux avatar Jun 14 '19 16:06 miguelinux

Yes, I didn't close the ticket for a reason - I've been looking into doing some changes to CBM myself since I ran into many unfinished ends already, and we should put this on top of that work.

ahkok avatar Jun 14 '19 17:06 ahkok