LinuxQuestions.org
Review your favorite Linux distribution.
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 11-22-2006, 05:03 PM   #16
tronica
Member
 
Registered: Nov 2005
Location: KCMO
Posts: 82

Original Poster
Rep: Reputation: 15

Spinlock, i did what you posted and it worked perfectly. Now just a few questions.

Can i just use installpkg "kernel-2.6.18" from the disc
How do i setup swaret
 
Old 11-22-2006, 05:05 PM   #17
tronica
Member
 
Registered: Nov 2005
Location: KCMO
Posts: 82

Original Poster
Rep: Reputation: 15
oh yeah, and how do i setup my scroll wheel on my mouse.
 
Old 11-22-2006, 06:08 PM   #18
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 150

Rep: Reputation: 24
Hmm... Let's see if my luck runs with me here...

Patrick made some... interesting... choices in where he put files in the Slackware install... stuff. He put the files for the default kernel in /slackware, the files for the 2.6.17.3 kernel in /extras, and the files for the 2.6.18 kernel in /testing. So, to install the 2.6.18 kernel, your best bet is to do the following:
installpkg /mnt/cdrom/testing/packages/linux-2.6.18/kernel-*-2.6.18*.tgz

I think I could have put more *s and less typing in there, but we'll stick with what we know works... well, ought to work.

Those "*"s are what we call a wildcard... it can be any number of characters from 0 to five brazilian, which is a lot.

As far as making Slackware use it? I'm not rightly sure. Maybe somebody else could help out here...

I haven't used swaret either... and I believe there's a recent thread in this forum about enabling scroll mouse. Although... once you have the kernel modules, and everything's detected, it may work just fine. If not, running xconf usually fixes that.
 
Old 11-22-2006, 09:20 PM   #19
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,299

Rep: Reputation: 89
Quote:
Originally Posted by tronica
Spinlock, i did what you posted and it worked perfectly. Now just a few questions.

Can i just use installpkg "kernel-2.6.18" from the disc
How do i setup swaret
I'm not Spinlock, but a word of caution, there may be a problem with the one on the disk. When I installed it it wouldn't work properly. Download the 2.6.18 from a Slackware mirror and install that instead. Make sure to get the modules package as well. You can use installpkg to install them.

As for your mouse wheel, you'll need to edit your /etc/X11/xorg.conf file.

Find the section for the mouse. Change the protocol from PS/2 to IMPS/2

Add a line below it in the same section "Option" "ZAxisMapping" "4 5"

That will enable the mouse wheel.

Oh, while many use swaret, I prefer to use slackpkg which is in /extra on the Slack mirrors.
 
Old 11-22-2006, 10:22 PM   #20
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 150

Rep: Reputation: 24
The DVD version had a few files that gave me errors... I got those from a Slackware mirror as well. The kernel seems to be just fine here... but you can't go wrong downloading one (networking is more forgiving, I guess.)
 
Old 11-23-2006, 10:24 AM   #21
tronica
Member
 
Registered: Nov 2005
Location: KCMO
Posts: 82

Original Poster
Rep: Reputation: 15
i got splackpkg installed and setup, but when i do "splackpkg search kernel". it only has the same kernel i'm running. Maybe just try a different mirror?
 
Old 11-23-2006, 10:28 AM   #22
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,299

Rep: Reputation: 89
Quote:
Originally Posted by tronica
i got splackpkg installed and setup, but when i do "splackpkg search kernel". it only has the same kernel i'm running. Maybe just try a different mirror?
The 2.6.18 kernel is under /testing. Slackpkg won't look there. 2.6.17.33 is under /extra.

Which kernel do you have now?

If you want the 2.6.18, you'll have to browse the mirror and download the packages, then install them using installpkg or pkgtool. If you want the 2.6.17.33, try slackpkg search slackware/extra/kernel and see what that gives you.

For stuff like that is usually far easier to just download them directly from the mirror.
 
Old 11-23-2006, 10:31 AM   #23
tronica
Member
 
Registered: Nov 2005
Location: KCMO
Posts: 82

Original Poster
Rep: Reputation: 15
Ok thanks for the help guys.
 
Old 11-23-2006, 10:33 AM   #24
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,299

Rep: Reputation: 89
Quote:
Originally Posted by tronica
Ok thanks for the help guys.
You're welcome. make sure to let us know how it goes.
 
Old 11-23-2006, 12:33 PM   #25
tronica
Member
 
Registered: Nov 2005
Location: KCMO
Posts: 82

Original Poster
Rep: Reputation: 15
ok i found and installed the 2.6.18 kernel and the modules, and when i reboot, i cant get past lilo. if hit enter it says something like loading and then just sits there. any ideas.
 
Old 11-23-2006, 01:07 PM   #26
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,299

Rep: Reputation: 89
Quote:
Originally Posted by tronica
ok i found and installed the 2.6.18 kernel and the modules, and when i reboot, i cant get past lilo. if hit enter it says something like loading and then just sits there. any ideas.
Did you create an initrd ? /boot? The way that generic kernel is compiled it has pretty limited file system support.

If you're using the 2.6.18 kernel and the reiser file system you should do "mkinitrd -c -k 2.6.18 -m reiserfs" to create an initrd to be used during boot.

Make sure to add the initrd line to lilo.conf and rerun lilo.

It should look something like this:
image = /boot/vmlinuz-2.6.18
initrd = /boot/initrd.gz
root = /dev/hda5
label = Slack-2.6.18
read-only
 
Old 11-23-2006, 01:12 PM   #27
tronica
Member
 
Registered: Nov 2005
Location: KCMO
Posts: 82

Original Poster
Rep: Reputation: 15
i may have to reinstall becuase i can't even boot into slack. Oh well live and learn.
 
Old 11-23-2006, 01:27 PM   #28
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,299

Rep: Reputation: 89
Quote:
Originally Posted by tronica
i may have to reinstall becuase i can't even boot into slack. Oh well live and learn.
No problem, you can still fix it without a reinstall.

Boot up with the install disk

create a directory like /mnt/slack and mount the partition where your system is installed in that directory

cd to the newly mounted directory

chroot to that partition "chroot /mnt/slack /bin/bash"

now you can work with your system, create your initrd, edit /etc/lilo.conf, and rerun lilo just like you had booted into the system.
 
  


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
Sound issues with slack 10.2 and onboard sound chip ricardo_ok Slackware 10 08-21-2006 01:38 PM
help, network (2 PC with Slack) miloc Linux - Networking 2 10-06-2004 08:37 PM
Slack 10, network help abrahamfroman Linux - Newbie 6 08-05-2004 09:01 PM
Sound in Slack 9.1 linuxbeginner99 Slackware 4 10-29-2003 02:25 AM
Slack 8.1 to 9 no sound cratos Slackware 14 05-27-2003 01:37 PM

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

All times are GMT -5. The time now is 11:02 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration