Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Remove Old Operating Systems from menu.lst

  Date: Dec 13    Category: Unix / Linux / Ubuntu    Views: 499
  

Is it OK to remove some of the older Ubuntu references from the menu.lst
file? I was thinking of deleting the Ubuntu 8.04.1, kernel
2.6.24-19-generic and Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery
mode) from ths list. here's the section of menu.lst that lists the OSs.

title Ubuntu 8.04.1, kernel 2.6.24-23-generic
root (hd0,6)
kernel /boot/vmlinuz-2.6.24-23-generic
root=UUID=ddb47d2e-3fda-486b-84f9-3f05c9025b5a ro quiet splash
initrd /boot/initrd.img-2.6.24-23-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-23-generic (recovery mode)
root (hd0,6)
kernel /boot/vmlinuz-2.6.24-23-generic
root=UUID=ddb47d2e-3fda-486b-84f9-3f05c9025b5a ro single
initrd /boot/initrd.img-2.6.24-23-generic

title Ubuntu 8.04.1, kernel 2.6.24-22-generic
root (hd0,6)
kernel /boot/vmlinuz-2.6.24-22-generic
root=UUID=ddb47d2e-3fda-486b-84f9-3f05c9025b5a ro quiet splash
initrd /boot/initrd.img-2.6.24-22-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-22-generic (recovery mode)
root (hd0,6)
kernel /boot/vmlinuz-2.6.24-22-generic
root=UUID=ddb47d2e-3fda-486b-84f9-3f05c9025b5a ro single
initrd /boot/initrd.img-2.6.24-22-generic

title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd0,6)
kernel /boot/vmlinuz-2.6.24-19-generic
root=UUID=ddb47d2e-3fda-486b-84f9-3f05c9025b5a ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd0,6)
kernel /boot/vmlinuz-2.6.24-19-generic
root=UUID=ddb47d2e-3fda-486b-84f9-3f05c9025b5a ro single
initrd /boot/initrd.img-2.6.24-19-generic

title Ubuntu 8.04.1, memtest86+
root (hd0,6)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the
Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux
OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1

Share: 

 

7 Answers Found

 
Answer #1    Answered On: Dec 13    

better yet use synaptic to remove the old kernels and support files
which will also remove them from the start up.

 
Answer #2    Answered On: Dec 13    

Where are the old kernals listed in synaptic? I found some references
to Linux-image-2.6.24-19-generic and
Linux-ubuntu-modules-2.6.24-19-generic under Base System. Are these the
ones that I should remove?

 
Answer #3    Answered On: Dec 13    

What is meant by "Base System"? I don't see anything like
that in Synaptic (Add/Remove).

 
Answer #4    Answered On: Dec 13    

The short answer is Yes. You need only the most recent provided it is working
well. Removing the lines does not remove the packages. You can do this from the
package manager. There is a utility to do this in the repositories called
System-cleaner.

 
Answer #5    Answered On: Dec 13    

I found package called System-cleaner in Synaptic using Search, but
can't seem to install it. What section is it listed under? I tried
looking under Base System and System Administration but didn't find
System-cleaner.

 
Answer #6    Answered On: Dec 13    

It was listed in Add/Remove, so I installed it (8.10, which had
been updated from 8.04, and from 7.10 before that). This is the
related blurb:

"system-cleaner-gtk finds and removes cruft from a system.
Cruft is (currently) packages that apt marks as automatically
removable, or that Ubuntu no longer supports.

"Homepage: https://wiki.ubuntu.com/CleanupCruft"

-------------

When installation was finished there was a message to
double-click the icon of a program I wish to run.
Having installed programs but not having been able to
find them without going to a Forum and have someone
who happened to know the previous name of the program
suggest I try running that, I double clicked. Nothing.

OK, run "locate system-cleaner-gtk" and bingo. A file
with that name is here:

/usr/share/app-install/desktop/system-cleaner-gtk.desktop

along with nine hundred thousand other files, one
for every existing program my repositories make
available. Then ls -l to learn it is not executable.

1) What are those files in /usr/share/app-install/desktop?

2) Anyone know how to find if this program was actually
installed and if so how to run it? FWIW "locate cleaner"
turns up nothing else with the word "system" -- only
that enigmatic file among enigmatic files.

I'm beginning to think there may be things about Linux
that I won't find out by pressing the F1 key. Are there
some sort of tablets I could take after each meal to
soften the learning curve?

 
Answer #7    Answered On: Dec 13    

It should be under System | Administration. I am in KDE 4 now so can't confirm
it. It is sometimes called Cruft Remover. Maybe someone can confirm this as
well.

 
Didn't find what you were looking for? Find more on Remove Old Operating Systems from menu.lst Or get search suggestion and latest updates.




Tagged: