LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   slack kernel version? (8.x iso) (https://www.linuxquestions.org/questions/slackware-14/slack-kernel-version-8-x-iso-19313/)

sancho5 04-24-2002 09:42 AM

slack kernel version? (8.x iso)
 
hey all,

i got a slack 8 iso and after install see that the default kernel it leaves you with is a 2.2.x version, but I see the distro also contains source for 2.4.x.. how does a chap upgrade that in slackware 8? (w/o doing it manually from kernel.org, e.g)

akohlsmith 04-24-2002 10:01 AM

Iinstall the package
 
Mount the slackware CD and enter the slakware/a1 directory.

In there you will see i245.tgz and sc245.tgz -- these are the compiled kernels for IDE and SCSI root disks, respectively. Most people will install i245.tgz (man installpkg). Don't forget to install the kernel modules too (mods245.tgz).

Now you will also need the relevant kernel includes if you installed anything from the 'd' diskset. Unfortunately the 2.4.5 includes are not separated from the rest of the kernel like they are in 2.2.19 (not a kernel problem nobody created the slackware package, that's all) -- you'll have to install the entire 2.4.5 source tree. That's in the k diskset and is called lnx245.tgz.and modules, so head over to k1 diskset and install lnx245.tgz (I personally would recommend removepkg'ing the 2.2.19 stuff first).

I wouldn't worry about any of this though, since 2.4.5 is pretty old. Go grab 2.4.18 from ftp.[countrycode].kernel.org and the latest modutils tarball and create a nice fresh kernel.

trickykid 04-24-2002 10:35 AM

if you did a full install..or installed the source, you should have a /usr/src/linux-2.4.5

what you need to do in that same directory is delete the linux link they have there pointing to the 2.2.19 directory for that kernel.

change the link to point to the 2.4.5 directory like this:

# ln -s linux-2.4.5 linux

Now just cd into /usr/src/linux first making sure its pointing to the 2.4.5 dir of course ( ls -al ) and start your compile of your 2.4.5 kernel... :D

Aussie 04-24-2002 04:57 PM

To install slack 8 with the 2.4.5 kernel you have to type "bare245.i" at the boot prompt.

sancho5 04-25-2002 05:35 PM

thanks for the help, all. PEACE.


All times are GMT -5. The time now is 08:56 AM.