Solved

Too many kernel images on boot

Posted on 2006-07-14
4
284 Views
Last Modified: 2013-12-16
I'm using Kubuntu Dapper Drake (a great system) for home use and have updated it regularly. However, I now have several old Kernel images displayed in the Grub boot manager. I'm never going to use them but have no idea how to get rid of them? The simpler and more straight-forward the solution the better.
0
Comment
Question by:mark_667
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 22

Expert Comment

by:pjedmond
ID: 17109492
Edit your /boot/grub/grub.conf

Obviously be careful with what you delete but there will be an entry block associated with each kernel version. You can delte the 'blocks in this file associated with the kernels that you no longer whic to use. Obviously do this with care as you can potentially make your system unbootable doing this.

You can then delete the associated files in the /boot/ directory. Again, do with care.

(   (()
(`-' _\
 ''  ''
0
 
LVL 88

Expert Comment

by:rindi
ID: 17110028
You could just comment out the unwanted entries in grub.conf with the # and then once you are satisfied everything works delete these lines.

As pjedmond advises, also delete the associated files in the /boot folder, and don't forget the the associated /lib/modules/NotWantedKernelVersions, as these can use up a lot of space.
0
 
LVL 24

Accepted Solution

by:
slyong earned 50 total points
ID: 17118147
In Ubuntu/Kubuntu:

Use your favorite editor to edit the /boot/grub/menu.lst file. I use gedit and type the following command.
$ sudo gedit /boot/grub/menu.lst

or better still remove the unused/old Linux kernels:

go into synaptic. and search "linux-image". select all installed ones
but the latest and the press apply.
(Installed packages' checkboxes are gray)
0
 
LVL 1

Author Comment

by:mark_667
ID: 17121408
I couldn't find a grub.conf file and I checked the 'show hidden files' option. I did, however, find the menu.lst sylong mentioned. He gets the points as he gave the easiest way of doing it though all responses are much appreciated.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question