Updating kernal

Steven Elling ellings at kcnet.com
Wed Jul 2 22:47:55 CDT 2003


On Wednesday 02 July 2003 12:44, Ben Coffman wrote:
> I am updating my kernel for the first time and I am having problems
> changing the link.
>
> I have RH 7.3
>
> What I think I want to do is change the link from the old kernel to the
> new one
>
> linux-2.4 -> linux-2.4.20-13.7
> to
> linux-2.4 -> linux-2.4.6
>
> but every time I type "ln -s linux-2.4.6 linux-2.4" or "ln -sf
> linux-2.4.6 linux-2.4" it doesn't change
>
> What is the best way to change it while preserving the other kernel.

I've noticed that ln will not overwrite a symbolic link that points to a 
valid file or directory.  The -f option only seems to work if the symbolic 
link points to a non-existent file or directory.  You'll have to remove the 
symbolic link and then create the new one.




More information about the Kclug mailing list