Author |
Message |
Lanzi
|
|
Post subject: Kernel remover script
Posted: 19.09.2010, 15:52
|
|
Joined: 2010-09-11
Posts: 126
Location: Hessen
Status: Offline
|
|
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.
A new script-start shows me, that nothing has changed. |
_________________ Urlaub im Harz? http://pension-grueneinsel.de
|
|
|
|
|
slam
|
|
Post subject: RE: Kernel remover script
Posted: 19.09.2010, 15:57
|
|
Team Member
Joined: 1970-01-01
Posts: 607
Location: w3
Status: Offline
|
|
|
|
|
oduffo
|
|
Post subject: RE: Kernel remover script
Posted: 19.09.2010, 18:57
|
|
Joined: 2010-09-11
Posts: 15
Location: Berlin
Status: Offline
|
|
Triggered by this post I just run kernel-remover and removed two kernels. All went fine.
Of course you have to check [x] the kernels to be removed and then click ok.
Gruß
oduffo |
|
|
|
|
|
Lanzi
|
|
Post subject: RE: Kernel remover script
Posted: 19.09.2010, 19:44
|
|
Joined: 2010-09-11
Posts: 126
Location: Hessen
Status: Offline
|
|
|
|
|
|
Post subject: RE: Kernel remover script
Posted: 19.09.2010, 21:23
|
|
Moderator
Joined: 2010-09-11
Posts: 469
|
|
new aptosid install has many kernels to be removed? something is wrong here already. |
|
|
|
|
|
piper
|
|
Post subject: RE: Kernel remover script
Posted: 19.09.2010, 21:26
|
|
Moderator
Joined: 2010-09-11
Posts: 481
Location: cheektowaga, ny
Status: Offline
|
|
kernel remover works fine here |
_________________ debian sid | apt-get into it
|
|
|
|
|
dibl
|
|
Post subject:
Posted: 19.09.2010, 22:25
|
|
Joined: 2010-09-12
Posts: 302
Location: Dayton, Ohio, USA
Status: Offline
|
|
kernel-remover is working correctly here also. |
|
|
|
|
|
Lanzi
|
|
Post subject:
Posted: 19.09.2010, 22:41
|
|
Joined: 2010-09-11
Posts: 126
Location: Hessen
Status: Offline
|
|
hmmm, as I said, its strange that there is an old kernel in my grub, so i gues theese are traces from the old mbr.
But how can that be possible, and more important, how do i get rid of them? |
_________________ Urlaub im Harz? http://pension-grueneinsel.de
|
|
|
|
|
HeSaid
|
|
Post subject:
Posted: 19.09.2010, 22:46
|
|
Moderator
Joined: 2010-09-11
Posts: 56
Location: southwest Florida, USA
Status: Offline
|
|
@ Lanzi
Are those kernels still present in your /boot directory?
Code:
ls /boot
Are they still listed in
Code:
apt-cache search sidux |grep linux
--
Neal |
_________________ Registered Linux User # 159445
aptosid 64-bit Lenovo Thinkpad Edge
aptosid 64-bit HP dv6000 laptop
aptosid 32-bit eeePC 900A
|
|
|
|
|
|
Post subject:
Posted: 19.09.2010, 22:48
|
|
Moderator
Joined: 2010-09-11
Posts: 469
|
|
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
|
|
|
|
|
Lanzi
|
|
Post subject:
Posted: 21.09.2010, 17:26
|
|
Joined: 2010-09-11
Posts: 126
Location: Hessen
Status: Offline
|
|
okay, I checked everything, even with h2 script.
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!)
I suppose, that during installation my old mbr was not deleted.
So I only need to get rid of the entries. How could I do that? |
_________________ Urlaub im Harz? http://pension-grueneinsel.de
|
|
|
|
|
|
Post subject:
Posted: 21.09.2010, 20:51
|
|
Team Member
Joined: 2010-08-26
Posts: 170
|
|
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. 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. |
_________________ Why do strong arms fatigue themselves with frivolous dumbbells?
To dig a vineyard is worthier exercise for men.
Marcus Valerius Martialis, römischer Satiriker und Epigrammdichter
Será que o diabo perdeu a virgindade?
|
|
|
|
|
|