I tried to remove kernels on a new aptosid-install (i did du twice since the new install).

The scripts starts, shows me old kernels (even an 2.6.32 - and I rellay don't know, where this is coming from... mayby old traces in the mbr of the former install???), and if I click okay, the indows just vanishes.

grub2 shows all the kernels on your system. (other partitions, too.)
If you have ubuntu installed on other partition, for example, grub2 should offer to
boot it too.

kernel-remover should not show the kernels from other partitions.

browe

Post subject:Posted: 20.09.2010, 00:27

Joined: 2010-09-12
Posts: 157
Location: Canada
Status: Offline

A few requests for the kernel-remover script:

1. Consider changing it to only do update-grub once all kernels that are checked are removed.
2. Display of the current running kernel and the current latest kernel.
3. An option to install curent latest kernel. This option might sound redundant, but I like to install the kernels manually rather than bundled with a dist-upgrade.

cleary

Post subject:Posted: 20.09.2010, 00:58

Joined: 2010-08-27
Posts: 34

Status: Offline

browe wrote:

A few requests for the kernel-remover script:

1. Consider changing it to only do update-grub once all kernels that are checked are removed.
2. Display of the current running kernel and the current latest kernel.
3. An option to install curent latest kernel. This option might sound redundant, but I like to install the kernels manually rather than bundled with a dist-upgrade.

1. is a no-go - it uses apt-get for removal, and circumventing this is not on the cards
2/3. good ideas, patches welcome (note, we would need to change the name of the script though)

ibgb

Post subject:Posted: 20.09.2010, 03:43

Joined: 2010-09-11
Posts: 42

Status: Offline

browe

You might take a look at this script and see if it's of any use to you:

Facts:
- I have kerneloptions in grub from kernes taht i never installed under aptosid!
- I cannot remove thoose entries with kernelremover because
- I dont have theese kernels on my system (no entries in grub!)

1. Consider changing it to only do update-grub once all kernels that are checked are removed.
2. Display of the current running kernel and the current latest kernel.
3. An option to install curent latest kernel. This option might sound redundant, but I like to install the kernels manually rather than bundled with a dist-upgrade.

1. cleary answered already

2. the running kernel i already/always displayed/shown

the last is never deleted as the man page says and needed for those installing automatically new kernels through the metapackages, it could be shown if it's not the running one not sure if want to do it...

3. is a non-go it's kernel-remover not installer. apt-get does already that.