acid45
05-27-2007, 10:56 PM
Hey everyone,
This isn't a difficult task, but I feel like posting something.
When you install Slackware 11.0 with the DVD I have, there are two 2.6 kernels available. huge26.s and test26.s. I don't know the difference, but test seems kinda 'bad' for someone who just wants a 2.6 kernel. I needed it for wine 0.97.
Since I had just done a fresh install and installed a few trivial programs and haven't customized anything, not having put any effort into anything, instead of upgrading from 2.4.3.33, I reinstalled. Oh yeah, I also only have a 3GB HD as well. SO this is what I did.
After select the packages I didn't need from the menu option during the install, I finished the installation and noticed that even though 'uname -a' reported 2.6.17.13, /usr/src/linux pointed to /usr/src/linux-2.4.3.33. Also, durring boot the dmesg output reported 2.4.3.33. So, there are a few things extra you have to do, which is very well documented, and mentioned throughout the installation and release files etc.
When you are prompted to enter the kernel for installation, you can hit f2 then f3 to get a list of some kernels you can use. There are two 2.6.x kernels you can use. huge26.s and test26.s. I decided, without knowing the difference, to use huge26.s. It mentions that this kernel requires extra packages in extra from the installation medium.
When you get into your 2.4 kernel installation after picking the 2.6 kernel, you will have to mount the installation disk that has the extra directory. I used a dvd so it was in /mnt/dvd/extra, from what I can tell this is on installation CD 2. test26.s requires modules from testing. I didn't use this kernel so I won't go into that.
Once in the extra directory there is a directory linux-2.6.17.13. Move into this directory and run 'installpkg *.tgz'. This will install the source for 2.6.17.13. Now when you move into /usr/src/ /usr/src/linux points to /usr/src/linux-2.6.17.13 and you have two linux source trees, 2.4 and 2.6.
I moved into the 2.6 source tree ( linux-2.6.17.13 ), and ran make menuconfig. Here I updated a few modules, like getting rid of laptop modules, and adding reiserfs and my network adapter into the kernel. I disabled various modules, like many SCSI modules, like SCSI tape. I left SCSI CD-ROM because from what I can tell, IDE ATAPI CD-ROMs may use this driver, so I just left it alone. I also removed a few other things like armature radio, infra red etc. Things I knew I didn't need. SInce I had 1.256 GB of RAM I checked and noticed 4GB of RAM is the default.
When that was done I exited and save the menu config. Don't confuse the menu option 'save as alternate file' as saving the kernel config. It will ask you if you want to save it when you exit. There I followed the system messages. I can't remember if they say run make dep, then make && make install. You should get the same messages. Then, I ran mkinitrd. Since I compiled everything I needed into the kernel, I didn't have to install and modules into the mkinitrd.
When I rebooted I noticed the dmesg reporting a 2.6.17.13 kernel and when I go into the system, that's that didn't function properly with the 2.4 kernel, like KDE, worked perfectly fine. Once I installed WINE 0.97, which requires a 2.6 kernel, I deleted /usr/src/linux-2.4.33.3.
I may have missed a step so let me know if anything in here is wrong. I'm going from memory and I didn't write down what I did.
From what I can tell, P.V. ( the coordinator of Slackware ) will most likely be making 2.6 kernel installation easier in future releases. It's not hard now, but I did have experience, albeit limited, in everything I have done in this explanation. I have never done anything quite drastic to any Linux installation before.
From what I could tell, I would have needed a larger hard drive to upgrade a 2.4 kernel to a 2.6 kernel without selecting the 2.6 kernel during installation.
This is how _I_ did it, your mileage may vary.
System specs:
Proc:
900MHz Athlon
MoBo
MSI with non functioning CPU FAN prongs ( probably why it was free ) I plugged the CPU fan into the sys fan prongs and disabled CPU FAN detection in the BIOS. Has over-clocking features.
Hard Disk:
3.25GB Quantam Fireball ( came from a Celeron 333 with 32MB RAM system as did the 350w power supply )
Video:
Generic ATI card of some sort
RAM:
1 GB PC 2700
256 PC 2700
Optical:
16X DVD-ROM ( I burned the DVD on my brothers Windows Box )
Audio:
Onboard, but I don't use it. Maybe another project later.
The excessive RAM is good due to limited HD space, thus SWAP space.
It's not hard, but slightly more involved than just an installation. Next time I install, now that I am more intimate with my filesystem, from trying to clean out whatever I didn't need, I think I might break the partitions into each DIR.
/proc is big :(
This isn't a difficult task, but I feel like posting something.
When you install Slackware 11.0 with the DVD I have, there are two 2.6 kernels available. huge26.s and test26.s. I don't know the difference, but test seems kinda 'bad' for someone who just wants a 2.6 kernel. I needed it for wine 0.97.
Since I had just done a fresh install and installed a few trivial programs and haven't customized anything, not having put any effort into anything, instead of upgrading from 2.4.3.33, I reinstalled. Oh yeah, I also only have a 3GB HD as well. SO this is what I did.
After select the packages I didn't need from the menu option during the install, I finished the installation and noticed that even though 'uname -a' reported 2.6.17.13, /usr/src/linux pointed to /usr/src/linux-2.4.3.33. Also, durring boot the dmesg output reported 2.4.3.33. So, there are a few things extra you have to do, which is very well documented, and mentioned throughout the installation and release files etc.
When you are prompted to enter the kernel for installation, you can hit f2 then f3 to get a list of some kernels you can use. There are two 2.6.x kernels you can use. huge26.s and test26.s. I decided, without knowing the difference, to use huge26.s. It mentions that this kernel requires extra packages in extra from the installation medium.
When you get into your 2.4 kernel installation after picking the 2.6 kernel, you will have to mount the installation disk that has the extra directory. I used a dvd so it was in /mnt/dvd/extra, from what I can tell this is on installation CD 2. test26.s requires modules from testing. I didn't use this kernel so I won't go into that.
Once in the extra directory there is a directory linux-2.6.17.13. Move into this directory and run 'installpkg *.tgz'. This will install the source for 2.6.17.13. Now when you move into /usr/src/ /usr/src/linux points to /usr/src/linux-2.6.17.13 and you have two linux source trees, 2.4 and 2.6.
I moved into the 2.6 source tree ( linux-2.6.17.13 ), and ran make menuconfig. Here I updated a few modules, like getting rid of laptop modules, and adding reiserfs and my network adapter into the kernel. I disabled various modules, like many SCSI modules, like SCSI tape. I left SCSI CD-ROM because from what I can tell, IDE ATAPI CD-ROMs may use this driver, so I just left it alone. I also removed a few other things like armature radio, infra red etc. Things I knew I didn't need. SInce I had 1.256 GB of RAM I checked and noticed 4GB of RAM is the default.
When that was done I exited and save the menu config. Don't confuse the menu option 'save as alternate file' as saving the kernel config. It will ask you if you want to save it when you exit. There I followed the system messages. I can't remember if they say run make dep, then make && make install. You should get the same messages. Then, I ran mkinitrd. Since I compiled everything I needed into the kernel, I didn't have to install and modules into the mkinitrd.
When I rebooted I noticed the dmesg reporting a 2.6.17.13 kernel and when I go into the system, that's that didn't function properly with the 2.4 kernel, like KDE, worked perfectly fine. Once I installed WINE 0.97, which requires a 2.6 kernel, I deleted /usr/src/linux-2.4.33.3.
I may have missed a step so let me know if anything in here is wrong. I'm going from memory and I didn't write down what I did.
From what I can tell, P.V. ( the coordinator of Slackware ) will most likely be making 2.6 kernel installation easier in future releases. It's not hard now, but I did have experience, albeit limited, in everything I have done in this explanation. I have never done anything quite drastic to any Linux installation before.
From what I could tell, I would have needed a larger hard drive to upgrade a 2.4 kernel to a 2.6 kernel without selecting the 2.6 kernel during installation.
This is how _I_ did it, your mileage may vary.
System specs:
Proc:
900MHz Athlon
MoBo
MSI with non functioning CPU FAN prongs ( probably why it was free ) I plugged the CPU fan into the sys fan prongs and disabled CPU FAN detection in the BIOS. Has over-clocking features.
Hard Disk:
3.25GB Quantam Fireball ( came from a Celeron 333 with 32MB RAM system as did the 350w power supply )
Video:
Generic ATI card of some sort
RAM:
1 GB PC 2700
256 PC 2700
Optical:
16X DVD-ROM ( I burned the DVD on my brothers Windows Box )
Audio:
Onboard, but I don't use it. Maybe another project later.
The excessive RAM is good due to limited HD space, thus SWAP space.
It's not hard, but slightly more involved than just an installation. Next time I install, now that I am more intimate with my filesystem, from trying to clean out whatever I didn't need, I think I might break the partitions into each DIR.
/proc is big :(