I want to remove my current kernel after upgradtion of new kernel

Anurudh Tiwari anurudhtripathi at gmail.com
Tue Mar 3 07:00:15 EST 2015


@ Denial : I have tried with -y option. it exempt me from console
confirmation but not from pop-up.

@Malte : I am not using ubuntu. Its a Debian based system.

On Tue, Mar 3, 2015 at 5:22 PM, Malte Vesper <
malte.vesper at postgrad.manchester.ac.uk> wrote:

>  Wrong list I guess, try askubuntu.com next
>
> or maybe google, you know second result for "linux uninstall kernel" has
> your answers...
>
> http://www.cyberciti.biz/faq/debian-redhat-linux-delete-kernel-command/
>
> You have a debian/ubuntu like system.
>
> Also you should always keep an old kernel in case you notice something
> broken on your new kernel.
>
>
> On 03/03/15 11:42, Anurudh Tiwari wrote:
>
>      Hi,
>
>     I am upgrading my machine with new version of os which have newer
> version of the kernel.
> I have to remove my current kernel(which is going to be old kernel in next
> reboot) after up-gradation because i don't want to get prompt to choose the
> kernel at booting time.
>
>  I tried few methods:
>     1 . Try to remove using command ( sudo apt-get purge uname -r )
>      -- but after it gives a pop up (dialog box) to select yes or no.(But
> i don't to do that because system is automated, user should not interact
> with system).
>
>  My intention is remove to old kernel at very first time when it reboot(so
> no prompt will show to select the kernel by grub)..
>
>  Please if you have any best solution for this. please share.
>
>  Thanks
>  Anurudh
>
>
> _______________________________________________
> Kernelnewbies mailing listKernelnewbies at kernelnewbies.orghttp://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150303/34cab40f/attachment.html 


More information about the Kernelnewbies mailing list