On Wed, 26 Dec 2001 00:52, Anita Lewis wrote:
> On Tue, 25 Dec 2001 17:21:19 +1100, James McDonald wrote:
> > Hello All,
> >
> > I don't know if this is a dumb question or not but I have recompiled
> > my RH7.2 Kernel to include support for ntfs and dynamic disk volumes
> > (It's living on the same disk as XP).
> >
> > What I would like to know is there a method of removing the original
> > kernel etc. Or will I break something if I just go in and delete it.
> >
> > Cheers
>
> I usually keep the old kernel in /boot and in lilo.conf until I'm sure the
> new one works.  Then I use 'rm' to remove it from /boot along with its
> matching System.map and I take the stanza for it out of /etc/lilo.conf and
> rewrite LILO to the mbr.  You will be keeping the source and since it is
> the same kernel, the modules in /lib/modules will have the same directory
> as the old one.  I mention this, because if I change kernel versions, I
> remove the old source from /usr/src and the old modules as well.  You will
> just be removing the vmlinuz from /boot since you have not changed kernel
> versions. Just be sure the new one works first.
>

As far as the SOURCE goes, it is complete safe to 

rm -rf  /usr/src/linux-2.4.7-10/

The other directory you can clean out is

/lib/modules/2.4.7-10

as this is quite large. 

Naturally and of course, it is assumed your new kernel is up and running 
before you do any of the above.

-- 
http://linux.nf -- [EMAIL PROTECTED]

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

_______________________________________________
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users

Reply via email to