Page 1 of 1

how to clean up grub.cfg

PostPosted: Sep 27th, '19, 04:02
by leon244
After the upgrade to Mageia7 I am still left with all the kernels from Magiea6 and all the updates to 6. they are all in the grub.cfg file also.
What is the best way to clean this all up?
shouldn't the upgrade have done that at the time of the upgrade?
Can I simply uninstall (urpme) all the unused kernels from Magiea6? Do I need to directly edit grup.cfg?
thank you.

Re: how to clean up grub.cfg

PostPosted: Sep 28th, '19, 14:10
by doktor5000
leon244 wrote:shouldn't the upgrade have done that at the time of the upgrade?

No, because task of the update is not to remove arbitrary working packages - even though kernel is a corner case here.

leon244 wrote:Can I simply uninstall (urpme) all the unused kernels from Magiea6? Do I need to directly edit grup.cfg?

Yes and no. You can you uninstall all but I'd say the 2 most recent kernels and all the respective nvidia-kernel or virtualbox-kernel packages, if you have any of those installed.
Then your grub entries will be cleaned up.

Re: how to clean up grub.cfg

PostPosted: Sep 28th, '19, 15:26
by leon244
Thank you