Can kernel V2.4.21 be installed to HD from V2003-07-24?
I see that one major new feature in the Knoppix V2003-07-24 release is the V2.4.21 kernel. Is there a straightforward way of using this release to upgrade the kernel in my HD-installed 06-06 release? Is it worth the effort? I was hoping that it would be easier than recompiling. This is one area of Linux that I know little about, though I'm learning fast...
Thanks!
Re: Can kernel V2.4.21 be installed to HD from V2003-07-24?
Quote:
Originally Posted by Loper
Is there a straightforward way of using this release to upgrade the kernel in my HD-installed 06-06 release?
Here's one *untested* suggestiion, which I believe should work.
I don't have a working hd-installed knoppix myself to confirm, though.
Boot from the new CD, open a shell and become root (su -).
Mount (rw) your hd partition, say to /MYHD. Then rename those two directories:
# mv /MYHD/boot /MYHD/boot.org
# mv /MYHD/lib/modules /MYHD/lib/modules.org
Now replace them with the newer versions from the live CD:
# cp -a /KNOPPIX/boot /MYHD/boot
# cp -a /KNOPPIX/lib/modules /MYHD/lib/modules
# sync
# unmount /MYHD
Now reboot from HD, and you should enjoy the updated kernel.
If it fails, don't panic, you can restart the live CD, and
restore the two original directories that we have merely renamed.
Admittedly this is a tad crude, and won't transfer the newer boot
logic that may have been build into the startup scripts, but the
kernel switch at least should be painless.
Regards, and please let us know !-)