Re: removal of original kernel in RH 7.2

2001-12-27 Thread Mike Andrew

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



Re: removal of original kernel in RH 7.2

2001-12-25 Thread Declan Moriarty

Recently, somebody somewhere said:


 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 would remove the rpm (rpm -ev ?), after, I repeat after getting your new 
one singing. Then allow for the fact that lilo.conf is screwed, edit it and 
run lilo again.

-- 
Regards,


Declan Moriarty




Applied Researches - Ireland's Foremost Electronic Hardware Genius

A Slightly Serious(TM) Company

Success covers a multitude of blunders - G.B. Shaw.
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users



Re: removal of original kernel in RH 7.2

2001-12-25 Thread Net Llama

--- Declan Moriarty [EMAIL PROTECTED] wrote:
 Recently, somebody somewhere said:
 
 
  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 would remove the rpm (rpm -ev ?), after, I repeat after getting your
 new 
 one singing. Then allow for the fact that lilo.conf is screwed, edit
 it and 
 run lilo again.

Unless you are very pressed for space, i'd leave the original kernel
where it is.  It never hurts to have a known good kernel sitting around
in case of an emergency.  

=

Lonni J. Friedman  [EMAIL PROTECTED]

Linux Step-by-step help:   http://netllama.ipfox.com

 .

__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
___
Linux-users mailing list
Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users