Spam

Asked by kjerryn

Spam

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Old_Soldier
Solved:
Last query:
Last reply:
Revision history for this message
Best Old_Soldier (charles.davis) said :
#1

i would remove 17 and 14, it never hurts to have a backup kernel in case of issues.

The best/easiest way to achieve this is to search for linux-image in synaptic and mark them for complete removal. This will also cause grub to be updated and the entries will be romoved from your menu list automagically.

Revision history for this message
Gord Allott (gordallott) said :
#2

nah you don't need all of them, its just that when a new kernel is released and you upgrade to it, the old one is kept just in-case the new one has some problem (its safe to assume the old one worked well enough for you upgrade to the new one at least). you can safely remove the old versions by using the synaptic package manager (just remember to leave the latest installed at least).

saying that it does no harm to keep the old ones around apart from they will each take up 20mb of disk space or so

Revision history for this message
Elfy (elfy) said :
#3

I would seriously keep hold of at the very least current and previous. To get rid I found it easiest to use synaptic - search for linux-image and remove the kernels you want.

It will remove entries from menu.lst.

Alternatively if you want to just remove from the list edit the file, put # in front of the lines you no longer want to see eg.

#title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=ccf8f1c4-97d0-4544-a0ee-04088d5d67a9 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet

#title Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=ccf8f1c4-97d0-4544-a0ee-04088d5d67a9 ro single
initrd /boot/initrd.img-2.6.24-16-generic

title Ubuntu 8.04, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet

To edit and backup file

sudo nano -B /boot/grub/menu.lst

Usae Ctrl+O and enter to save, Ctrl+X to exit

Revision history for this message
kjerryn (kjerryn) said :
#4

Thanks Old_Soldier, that solved my question.