Results 1 to 6 of 6
Hi all.
I have kernel 2.4.22-xfs and i want to update it kernel 2.6.version.
Which 2.6 kernel will work best/most securest for knopix and where can i download it. Also ...
- 02-05-2005 #1Just Joined!
- Join Date
- Sep 2004
- Location
- Birmingham
- Posts
- 70
changing kernel help
Hi all.
I have kernel 2.4.22-xfs and i want to update it kernel 2.6.version.
Which 2.6 kernel will work best/most securest for knopix and where can i download it. Also when i download it what will i need to do to compile it? Thanks a bunch
- 02-05-2005 #2
http://kernel.org will get you the source as well as info on the Linux kernel. Alternatively if you are running Knoppix =/>3.6 you should already have a 2.6 kernel. (knoppix26/linux26)
Me & Myself just ganged up on I....... Now We all have problems..and none of Us are speaking!
bash-3.00$ uname -a
SunOS sparky 5.11 OpenSolaris-swa sun4u sparc SUNW,Ultra-Enterprise
- 02-06-2005 #3Just Joined!
- Join Date
- Sep 2004
- Location
- Birmingham
- Posts
- 70
Ok i have downloaded then new 2.6.10 kernel from kernel.org, i've done a bit of background reading into this but id appreciate it if you'd just confirm im doing things correctly.
First of all i will extract the new kernel in the /usr/src directory
i will then cd into the new linux-2.6.10 directory
i will then do the following
make xconfig (or maybe make oldconfig depending if i can find my old .config file)
make dep
make bzImage
make modules
make modules_install
then i'll copy the new image file from /arch/i386/boot/bzImage to /boot
and also copy the System.map file to /boot
Once i've done that i'll then edit my grub.conf file to boot the new kernel image instead of the old image.
1. Does this look correct up to here?
2. How do i remove my old kernel?
3. will grub require a new /boot/initrd.gz file to boot or can i use my old one?
Thanks for any help
- 02-24-2005 #4Just Joined!
- Join Date
- Dec 2004
- Location
- Worcester EN UK
- Posts
- 31
Dated!
The new 2.6 kernel series doesn't use make dep, and there are easier ways of doing it. Briefly
Check out the README file in the tarball.Code:# cd /usr/src # tar xvfj linux-2.6.10.tar.bz2 # cd linux-2.6.10 # make mrproper # make menuconfig # make # make modules modules_install install
- 02-24-2005 #5Linux Engineer
- Join Date
- Nov 2004
- Location
- Ft. Polk, LA
- Posts
- 796
Actually utisoft most of your last step is unneeded. You can use just 'make modules_install'. The modules are built in the 'make' step. The 'make install' is only used with Lilo, and if you do that you should edit the makefile to ensure it suits your lilo install, but it's better to just install by it hand. Also, updating from 2.4 to 2.6 you will need the new module tools, which you can find from here.
- 02-25-2005 #6Just Joined!
- Join Date
- Feb 2005
- Posts
- 40
I would just run 3.6 or 3.7. I rather like cluster 3.6 but there is not an openmossix kernel for 2.6 yet so well at boot of 3.6 type linux26 and there you go. As for security well... if you are running off of a cd or even better str8 out of ram. What is going to happen? Knoppix is built in security in that the worst thing that you would have to do is hit the reset button.
--Jeff--


Reply With Quote
