Results 1 to 6 of 6

Thread: Can kernel V2.4.21 be installed to HD from V2003-07-24?

  1. #1
    Senior Member registered user
    Join Date
    Dec 2002
    Location
    Royal Oak, Michigan USA
    Posts
    199

    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!

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    My gut feeling is "no", but maybe some other more knowledgable souls will chime in here.

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555

    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 !-)

  4. #4
    Senior Member registered user
    Join Date
    Apr 2003
    Location
    Muscat.Oman
    Posts
    262
    Hi baldyeti,

    I think your suggestion will not work. If it was this easy to update the kernel then everyone will do it but linux is not this easy

    To use a new kernel one has to COMPILE it into the system.The kernel happens to be THE MAIN LINUX SYSTEM. So you cannot change it by just copying and pasting files.For one who is not using a hard disk installed linux this is not possible because your file system is READ-ONLY.

  5. #5
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    Quote Originally Posted by bongski55
    I think your suggestion will not work.
    Well if you don't try, then we'll never know !-) I just use the so-called poor man's
    installation of knoppix. I have a SuSE installation though, which happily can boot
    either a 2.2 or a 2.4 kernel, and have upgraded those kernels several times and
    tweaked the lilo config accordingly.
    Hence my suggestions. And remember it's all reversible!

    Quote Originally Posted by bongski55
    To use a new kernel one has to COMPILE it into the system.The kernel happens to be THE MAIN LINUX SYSTEM. So you cannot change it by just copying and pasting files.For one who is not using a hard disk installed linux this is not possible because your file system is READ-ONLY.
    No need to shout. You did not compile the kernel which your hd-installation
    currently uses, did you? You mereley copied the stock kernel provided by knoppix.
    I don't see why the newer kernel that comes with the newer CD's couldn't be
    copied as well. You only need to compile a kernel if you want to tune it, statically
    link some drivers or somesuch adjustment.
    And you said you had an hd-install, so you should be able to mount your filesystem
    in read-write mode, and perform the suggested renames and copies.

    But it's your call, naturally.

    Cheers.

  6. #6
    Senior Member registered user
    Join Date
    Apr 2003
    Location
    Muscat.Oman
    Posts
    262
    Hi!

    Have you tried your method in your SuSe installation?

Similar Threads

  1. Where is 2.6.7 Kernel Directory in HD installed 3.4
    By rusty in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 12-18-2004, 02:36 AM
  2. installed 3.4/recompile kernel problems
    By keyvisuals in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 05-17-2004, 04:38 PM
  3. New kernel installed: Cannot Shutdown
    By bongski55 in forum Hdd Install / Debian / Apt
    Replies: 11
    Last Post: 09-02-2003, 07:36 AM
  4. Modified kernel results in Kernel Panic - No init found.
    By tji in forum Customising & Remastering
    Replies: 4
    Last Post: 06-12-2003, 06:40 PM
  5. knoppix installed on hd, need kernel source headers
    By sufi in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 01-24-2003, 10:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem picture

Samsung 128GB (4x 32GB) M86B4G70DM0-CMA3 PC3-14900L 4Rx4 DDR3 ECC Reg Server Mem

$39.99



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand picture

Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand

$60.00



SK Hynix 32gb Ram (16GB x 2) DDR5-4800 Memory Modules picture

SK Hynix 32gb Ram (16GB x 2) DDR5-4800 Memory Modules

$69.00



Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM picture

Samsung 16GB 2Rx4 PC4-2400 RDIMM DDR4-19200 ECC REG Registered Server Memory RAM

$20.99



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 128GB 2x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$143.98