LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-19-2006, 08:51 PM   #1
Southpaw76
Member
 
Registered: Dec 2005
Distribution: Slackware-13
Posts: 146

Rep: Reputation: 15
Need Help upgrading from "bareacpi.i" to "test26"???


I've done this installation on my desktop with Slakware-11(current) utilizing the stock kernel "bareacpi.i" and I would like to install the 2.6 series kernel on the installation disk "test26.s". I've been told that if you do this you need to also install the corresponding modules from the /extra directory on the installation disk.

Is that accurate? I don't know, I do know however that I can't seem to find a decent How-To describing this process step by step. Unfortunately every tutorial explains how to upgrade the kernel by downloading one from the kernel.org website.

This is all fine and good for those of you who have a broadband connection, where as I am in a catch-22 dilemma and it would be far quicker to use the kernel from the installation media....

So this is what I do know, someone please correct me if I'm wrong, on a running system I load the disk into my drive, su into root and issue this command...
Code:
# mount -t iso9660 -ro /dev/hdd /mnt
# cd /mnt
...from there I believe I copy my kernel image of choice, in this case "test26.s" over to /root, next step is where I get a little lost. Where exactly are these modules that I'm supposed to copy over and where is it that I'm supposed to copy them to???

Any help would be much appreciated, thanx...
 
Old 08-19-2006, 10:00 PM   #2
jimX86
Member
 
Registered: Mar 2006
Distribution: Slackware64 -current
Posts: 268
Blog Entries: 1

Rep: Reputation: 79
You don't have to move anything manually. Use the package tools. The RELEASE_NOTES file in the main directory and the README.initrd file in the /extra directory document this procedure. (The docs are actually from 10.2, the last release, so the kernel version numbers will differ. Current is intended for testing and development... so the docs aren't updated until the official release.) The whole process goes something like this...

Change directories to /extra/linux-2.6.16.27.
Install the packages for alsa-driver, kernel-generic, and kernel-modules. You can install the kernel source if you want it. (You probably don't want the kernel-header files.)
You can use pkgtool to install the packages.
Change /etc/lilo.conf (or run liloconfig) and then run /sbin/lilo.

I don't think you'll need an initrd, but read the instructions if you need one. And don't forget that if something goes wrong, you can always boot into your system using CD1 and the kernel of your choice.
 
Old 08-19-2006, 10:45 PM   #3
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware
Posts: 7,341

Rep: Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744
Smile

Quote:
Originally Posted by Southpaw76
I've done this installation on my desktop with Slakware-11(current) utilizing the stock kernel "bareacpi.i" and I would like to install the 2.6 series kernel on the installation disk "test26.s". I've been told that if you do this you need to also install the corresponding modules from the /extra directory on the installation disk.

Is that accurate? I don't know, I do know however that I can't seem to find a decent How-To describing this process step by step. Unfortunately every tutorial explains how to upgrade the kernel by downloading one from the kernel.org website.

This is all fine and good for those of you who have a broadband connection, where as I am in a catch-22 dilemma and it would be far quicker to use the kernel from the installation media....

So this is what I do know, someone please correct me if I'm wrong, on a running system I load the disk into my drive, su into root and issue this command...
Code:
# mount -t iso9660 -ro /dev/hdd /mnt
# cd /mnt
...from there I believe I copy my kernel image of choice, in this case "test26.s" over to /root, next step is where I get a little lost. Where exactly are these modules that I'm supposed to copy over and where is it that I'm supposed to copy them to???

Any help would be much appreciated, thanx...
When I upgraded my 2.4xx kernel to 2.6.13 I issued this command to mount my cd rom drive and view the second CD.

#mount /mnt/cdrom

Then I navigated to cdrom and typed ls, saw the files there and used the command installpkg to install the modules, headers, and other stuff.
 
Old 08-19-2006, 11:09 PM   #4
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
Some great instructions here near the bottom of the link on how to install the 2.6 kernel
http://bitbenderforums.com/vb22/show...?postid=311808
 
Old 08-19-2006, 11:45 PM   #5
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware
Posts: 7,341

Rep: Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744Reputation: 3744
The instructions on how to install the 2.6.13 kernel are in the release_notes on the first install CD for Slackware 10.2.
 
Old 08-20-2006, 12:37 AM   #6
Southpaw76
Member
 
Registered: Dec 2005
Distribution: Slackware-13
Posts: 146

Original Poster
Rep: Reputation: 15
Excellent advice jim, except for one problem, iso disc 2 of Slackware current does not contain the kernel source, or at least my copy doesn't. Dammit Man! ! I guess I'll have to either revert to v2.6.13 from the 10.2 release or track changelog for Slack Current to see if they have added the source for v2.6.16, to be continued...
 
Old 08-20-2006, 09:46 AM   #7
jimX86
Member
 
Registered: Mar 2006
Distribution: Slackware64 -current
Posts: 268
Blog Entries: 1

Rep: Reputation: 79
AFAIK, there aren't any "official" -current ISOs. I don't know where you got an iso or what is on it. Is there a directory named /extra/linux-2.6.16.27? If so, and if you need the kernel source, it's in the package named kernel-source-2.6.16.27-noarch-5.tgz. You would just install it like any other package.
 
Old 08-20-2006, 01:22 PM   #8
Southpaw76
Member
 
Registered: Dec 2005
Distribution: Slackware-13
Posts: 146

Original Poster
Rep: Reputation: 15
Well to answer your question, I got the "Current" ISO's from a link on Distrowatch when they posted the announcement. Also of course, it's my luck that ISO disc #2 does not contain the directory...
`/extra/linux-2.6.16.27'
However, desperate times call for desperate measures. So here's what I did, also anyone else can do the same thing if they can't wait for the official release...

I have a dualboot system with WinXP on the other half of the drive, so I rebooted into that, got online, and found one of the mirrors that was hosting the "Current" directory. I searched around and found the directory that you mentioned Jim (/extra/linux-2.6.16.27), I downloaded the following...
Code:
alsa-driver-1.0.11 2.6.16.27-i486-5.tgz
kernel-generic-2.6.16.27-i486-5.tgz
kernel-modules-2.6.16.27-i486-5.tgz
kernel-source-2.6.16.27-noarch-5.tgz
...Then I burned a data disc using nero, rebooted into Slackware, logged in, popped the disc back in and issued these command's (from the terminal of course)...
Code:
# mount -t iso9660 /dev/hdd /mnt
# cd /mnt
# pkgtool
...The first question it asks is "do you wish to install packages from the current directory?" yes
then it showed me what I had burned, so I installed all four files and then proceeded to unmount the disc...
Code:
# cd
# umount /mnt
...After that it was your typical kernel compilation proceedure...
Code:
# cd /usr/src/linux-2.6.16.27
# make mproper
# make menuconfig
# make dep
# make bzImage
# make modules
# make modules_install 
# cp arch/i386/boot/bzImage /boot/vmlinuz-linux-2.6.16.27
And finally under `/etc/lilo.conf', change the image...
Code:
image = /boot/vmlinuz-linux-2.6.16.27
...Reboot and viola, I'm now running the 2.6 series kernel on my Slackware-Current system. Now the only thing that I noticed that is different, besides the considerable speed boost is that my fonts got really big after I rebooted. I adjusted the VGA setting under lilo.conf and that helped but I can't get the same type resolution as I did before I installed the new kernel, any ideas???
 
Old 08-20-2006, 02:27 PM   #9
jimX86
Member
 
Registered: Mar 2006
Distribution: Slackware64 -current
Posts: 268
Blog Entries: 1

Rep: Reputation: 79
I'm glad you got it working, but did you read the RELEASE_NOTES or the README.initrd file? Or visit the link shepper suggested? Or try to follow my instructions? I don't mean to be rude about it... it's just that once you got the correct files, you sort of wandered off on your own.

You didn't need to recompile the kernel. (Or if you really did need to, you could have skipped pretty much everything else.)
 
Old 08-20-2006, 09:54 PM   #10
Southpaw76
Member
 
Registered: Dec 2005
Distribution: Slackware-13
Posts: 146

Original Poster
Rep: Reputation: 15
Believe me, I don't think you're being rude at all. However, being that this was a fresh install and all, I had to configure my kernel anyway. Now going back to what you said about me wandering off, since I've always been a fan of Constructive Criticism . So I ask you, where-in lies my redundancy??? Or better yet, what would have been a more efficient way for me to accomplish my goal??? I would hate to repeat the same mistake twice and I always appreciate a fresh perspective...
 
Old 08-21-2006, 03:16 AM   #11
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,640

Rep: Reputation: 144Reputation: 144
Quote:
Originally Posted by Southpaw76
...After that it was your typical kernel compilation proceedure...
Code:
# cd /usr/src/linux-2.6.16.27
# make mproper
# make menuconfig
# make dep
# make bzImage
# make modules
# make modules_install 
# cp arch/i386/boot/bzImage /boot/vmlinuz-linux-2.6.16.27
No need to do all these steps. Adding a LILO entry first for vmlinuz and then "make && make modules_install && make install" should be enough.
 
Old 08-21-2006, 07:37 AM   #12
jimX86
Member
 
Registered: Mar 2006
Distribution: Slackware64 -current
Posts: 268
Blog Entries: 1

Rep: Reputation: 79
Your original question was how to upgrade from bareacpi to test26.s. But you didn't do that. Instead you built your own. There's certainly nothing wrong with that, but you could have done that at any point, and with any kernel version that you wanted. Installing the kernel-generic and kernel-modules packages was redundant.

But as long as what you did works, I guess it doesn't really matter
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 04:40 AM
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
Any way to get "Alice"; "Call of Duty" series and "Descent 3" to work? JBailey742 Linux - Games 13 06-23-2006 01:34 PM
Assigning "unique name" to "Extraversion" when upgrading Kernal MatthewASmith79 Linux - Newbie 5 08-26-2004 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration