how to clean up grub.cfg

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

how to clean up grub.cfg

Postby leon244 » Sep 27th, '19, 04:02

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.
leon244
 
Posts: 108
Joined: Jun 4th, '11, 19:41
Location: Massachusetts, USA

Re: how to clean up grub.cfg

Postby doktor5000 » Sep 28th, '19, 14:10

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.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 17659
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: how to clean up grub.cfg

Postby leon244 » Sep 28th, '19, 15:26

Thank you
leon244
 
Posts: 108
Joined: Jun 4th, '11, 19:41
Location: Massachusetts, USA


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron