Hi.. I have a distro with older kerrnel version. I have download kernel source from kernel.org (~45megs). I study the HOWTO, but it makes me confused. How to instal the new kernel or how to just use patch file (*.patch) to patching the existing kernel to a new one?
thanks a lot. regards.
____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
Can you be more specific? Which kernel do you have on the old distro? If your kernel is old enough it's probably easier to download a new kernel, rather than all the patches.
To install a new kernel: 1) download the kernel you want and save it in /usr/src 2) extract the kernel there 3) go into the newly created kernel directory 4) follow the instruction in the README file to compile and install the new kernel. a)These steps are roughly: i) make xconfig, ii) make iii) make modules iv) make modules_install v) make install vi) copy new kernel to /boot directory vii) add line in your bootloader to load the new kernel
I recommend doing the makes up to and including make modules as a regular user. The installs need to be done as root.
Let me know if you need me to be more detailed. ;')
Brian JD
--- cluzterix cluzterix wrote:
Hi.. I have a distro with older kerrnel version. I have download kernel source from kernel.org (~45megs). I study the HOWTO, but it makes me confused. How to instal the new kernel or how to just use patch file (*.patch) to patching the existing kernel to a new one?
____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
On Saturday 20 August 2005 18:56, Jack wrote:
v) make install vi) copy new kernel to /boot directory
Those should be an OR... 'make install' is a distro-specific/obsolete(?) way to copy the kernel to /boot.
--- Luke-Jr wrote:
On Saturday 20 August 2005 18:56, Jack wrote:
v) make install vi) copy new kernel to /boot directory
Those should be an OR... 'make install' is a distro-specific/obsolete(?) way to copy the kernel to /boot.
Absolutely correct, thanks for catching that. It's been so long since I've compiled a kernel, that I
got sloppy in my directions.
____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
--- Jack [email protected] wrote:
Can you be more specific? Which kernel do you have on the old distro? If your kernel is old enough it's probably easier to download a new kernel, rather than all the patches.
To install a new kernel:
- download the kernel you want and save it in
/usr/src 2) extract the kernel there 3) go into the newly created kernel directory 4) follow the instruction in the README file to compile and install the new kernel. a)These steps are roughly: i) make xconfig, ii) make iii) make modules iv) make modules_install v) make install vi) copy new kernel to /boot directory vii) add line in your bootloader to load the new kernel
I recommend doing the makes up to and including make modules as a regular user. The installs need to be done as root.
Let me know if you need me to be more detailed. ;')
Brian JD
_____________________________________
Hi Brian, I have knoppix 3.9 (kernel 2.6.11). I want to change it to the newer one (2.6.12-5). I have download kernel 2.6.12.5 file. Do I have to remove older kernel first and then do install as you tell me above? Thanks.. Regards.
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
On Sat, 20 Aug 2005, cluzterix cluzterix wrote:
Hi Brian, I have knoppix 3.9 (kernel 2.6.11). I want to change it to the newer one (2.6.12-5). I have download kernel 2.6.12.5 file. Do I have to remove older kernel first and then do install as you tell me above?
Don't remove the older kernel, you can choose which kernel to load at boot time.
The 2.6 kernel drill is a bit simplified from the 2.4
make (config||menuconfig||xconfig||oldconfig) make install make modules_install
If you're using lilo, the above should be sufficient. If grub, then the command "update-grub" at this point should make your new kernel the default.
the README file in the kernel source tree is your friend.
Regards,
-Don
Don't remove the older kernel, you can choose which kernel to load at boot time.
The 2.6 kernel drill is a bit simplified from the 2.4
make (config||menuconfig||xconfig||oldconfig) make install make modules_install
If you're using lilo, the above should be sufficient. If grub, then the command "update-grub" at this point should make your new kernel the default.
the README file in the kernel source tree is your friend.
Regards,
-Don
===================================
Thanks Don, I'll try to install tonight. Thanks :)
____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs