shutdown & kernel

Steven Stern sds-email-list at mindspring.com
Sat Jan 17 00:52:08 UTC 2004


On Sat, 17 Jan 2004 11:43:20 +1100, John Gray <johndgray at tpg.com.au> wrote:

>Sorry if this is double post, but I can' t locate my original on any of
>the emails.
>
>How do I get the computer to switch off when I select shutdown?
>
>How do I remove the non existent kernel choices from the boot loader
>list, or at least set the default kernel?
>When I do "rpm -q kernel" I only get the current kernel, but in the boot
>loader list I have two previous kernels.
>
>Thanks
>
>John

You can manually remove the kernet files in /boot and edit the grub.conf file,
or use 

  rpm -qa | grep kernel

to get a list of installed kernels, then

  rpm -e kernel-2.4.22xxxxxxxxxxxx

to remove each one

The rpm method is probably cleaner as it does all of the steps in one command
--
   Steve
   





More information about the fedora-list mailing list