This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Author Message
LanziOffline
Post subject: Kernel remover script  PostPosted: 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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
slamOffline
Post subject: RE: Kernel remover script  PostPosted: 19.09.2010, 15:57
Team Member


Joined: 1970-01-01
Posts: 607
Location: w3
Status: Offline
Did you check mark them, before clicking ok?
Greetings,
Chris

_________________
an operating system must operate
development is life
my Debian repo
 
 View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number 
Reply with quote Back to top
oduffoOffline
Post subject: RE: Kernel remover script  PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
LanziOffline
Post subject: RE: Kernel remover script  PostPosted: 19.09.2010, 19:44



Joined: 2010-09-11
Posts: 126
Location: Hessen
Status: Offline
of course i did Smile

_________________
Urlaub im Harz? http://pension-grueneinsel.de
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
muchan
Post subject: RE: Kernel remover script  PostPosted: 19.09.2010, 21:23
Moderator


Joined: 2010-09-11
Posts: 468

new aptosid install has many kernels to be removed? something is wrong here already.
 
 View user's profile Send private message  
Reply with quote Back to top
piperOffline
Post subject: RE: Kernel remover script  PostPosted: 19.09.2010, 21:26
Moderator


Joined: 2010-09-11
Posts: 480
Location: cheektowaga, ny
Status: Offline
kernel remover works fine here

_________________
debian sid | apt-get into it
 
 View user's profile Send private message  
Reply with quote Back to top
diblOffline
Post subject:   PostPosted: 19.09.2010, 22:25



Joined: 2010-09-12
Posts: 302
Location: Dayton, Ohio, USA
Status: Offline
kernel-remover is working correctly here also.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
LanziOffline
Post subject:   PostPosted: 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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
HeSaidOffline
Post subject:   PostPosted: 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
 
 View user's profile Send private message  
Reply with quote Back to top
muchan
Post subject:   PostPosted: 19.09.2010, 22:48
Moderator


Joined: 2010-09-11
Posts: 468

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.
 
 View user's profile Send private message  
Reply with quote Back to top
broweOffline
Post subject:   PostPosted: 20.09.2010, 00:27



Joined: 2010-09-12
Posts: 155
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.
 
 View user's profile Send private message  
Reply with quote Back to top
clearyOffline
Post subject:   PostPosted: 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 Wink (note, we would need to change the name of the script though)
 
 View user's profile Send private message  
Reply with quote Back to top
ibgbOffline
Post subject:   PostPosted: 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:

Script to show installed and latest available kernel
 
 View user's profile Send private message  
Reply with quote Back to top
LanziOffline
Post subject:   PostPosted: 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
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
x-un-i
Post subject:   PostPosted: 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?
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio