Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Removing old kernels

Removing old kernels

2005-05-31       - By Ed Wilts

 Back
Reply:     1     2     3     4  

On Tue, May 31, 2005 at 02:03:48PM +0100, John O'Loughlin wrote:
> You can use rpm -e to remove, just like any rpm. Just make sure you
> remove the right one! uname -r shows you your current kernel.

To add to this:  NEVER remove your currently running kernel or the evil
spirits will get you.

> Then edit grub.conf (you should do this amyway to make sure the kernel
> the latest kernel is your default) and remove the sections associated
> with the kernels you no longer have..

grub.conf will be updated automatically by rpm.  You should not have to
edit any entries in it.

When you're done, don't forget to up2date -p
to let the RHN know about your current configuration.

       .../Ed

> On Tue 31 May 2005 at 08:58, Shane Presley (shane.presley@(protected)) wrote:
> > Hello,
> >
> > I have a RHEL v3 server that's been around for awhile, and kept
> > up2date with kernel upgrades.
> >
> > But I haven't been removing old kernels.  So /boot is filling up.  
> >
> > How do I clean that up?  I know when the system boots I can remove
> > images.  But I'd like to do this without rebooting.  For any one image
> > there seem to be a ton of files. Do I just remove them?  I think I
> > have to also edit the grub.conf?
> >
> > Maybe there's a command line way to do this in one step?  That would be
nice :)
> >
> > Thanks
> > Shane
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>

--
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts@(protected)
Member #1, Red Hat Community Ambassador Program

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Earn $52 per hosting referral at Lunarpages.