On Wed, 8 Apr 1998, Derek Balling wrote:

> On Wed, 8 Apr 1998, Pat Hennessy wrote:
> 
> > > >> cd /usr/src
> > > >> rm linux   (this should remove the symbolic link)
> > > >
> > > >I would insert here:
> > > >
> > > >mkdir linux-2.1.93
> > > >ln -s linux-2.1.93 linux
> > > >
> > > 
> > > I'd rather do this:
> > > 
> > > mv linux linux-2.1.93
> > > ln -s linux-2.1.93 linux
> > > 
> > > But, I'm sure that's what you meant. ;)
> > > 
> > > 
> > > Dan
> > 
> > Well actually i do that, but i trying out being quick and to the point.
> > ;)
> 
> Wait a minute.. what YOU'VE got there will rename linux (which in a
> distribution contains 2.0.31) to 2.1.93 and then you'll drop 2.1.93 in
> overtop of 2.0.31, destroying it. This seems fundamentally bad to me to
> destroy the 2.0.31 src until AFTER you've finished installing and testing
> the 2.1.93.
> 
> Or is it just me.
> 

well if you have (in your /usr/src directory) a link to another directory
and you do rm then that will rm the link not the directory.  so doing rm
linux will not remove the directory its pointing to.  BUT if you untar the
kernel source before rmoving the link (ie. you have something in /usr/src
called linux) you will have massive problems.  so i guess the following
would be best (as if no one has got the drift of this yet)...

cd /usr/src
rm linux
mkdir linux-2.1.93
ln -s linux-2.1.93 linux
tar -zxvf /path/to/linux-2.1.93.tar.gz
cd linux
make mrproper
make menuconfig (or config, or xconfig)
make dep clean
make zImage modules modules_install
cp /usr/src/linux/arch/i386/boot/zImage /boot/zImage-2.1.93
cd /boot
ln -s zImage-2.1.93 zImage
cd /etc
pico lilo.conf
lilo
shutdown -r now


now somewhere along the way you need to check the documentation cause
there are a bunch of things that will need to be upgraded.  I think there
are rpms in the contrib directory.  

good luck!

pat


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to