Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
04-10-2006, 06:24 PM
|
#16
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Sounds hosed to me.
If you do reinstall, which I'm thinking is where you're at now, be sure to install the kernel sources. Then you can run the menuconfig to enable SMP and SATA support and be set.
Peace...
|
|
|
04-10-2006, 06:27 PM
|
#17
|
LQ Newbie
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23
Original Poster
Rep:
|
I'm getting pretty good at installing lol
Install kernel sources? I just do recommended install, sata.i kernel. Is that enough or is there a command I need to type in?
|
|
|
04-10-2006, 06:56 PM
|
#18
|
Member
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595
Rep:
|
Quote:
Originally Posted by YARDofSTUF
I'm getting pretty good at installing lol
Install kernel sources? I just do recommended install, sata.i kernel. Is that enough or is there a command I need to type in?
|
I would do an install like you normally do. Then install the kernel sources package and you should have kernel source you can then use to customize your kernel.
Use whatever package manager comes with Slack 10.2 and look for a "kernel sources" package. Once installed, it should be in /usr/src (maybe in linux-x.yy.xx with a symlink to it called "linux") somewhere.
Peace...
|
|
|
04-11-2006, 02:12 PM
|
#19
|
LQ Newbie
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23
Original Poster
Rep:
|
Ok I found Kpackage, and it says I have kernel source installed, but its 2.4, i want to use the newest that I downloaded off of kernel.org
|
|
|
04-11-2006, 03:27 PM
|
#20
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
So download kernel source, move it to usr and then compile kernel. Where is the problem?
|
|
|
04-11-2006, 04:10 PM
|
#21
|
LQ Newbie
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23
Original Poster
Rep:
|
Quote:
Originally Posted by Alien_Hominid
So download kernel source, move it to usr and then compile kernel. Where is the problem?
|
Problem is that I didnt know if that was cool to do lol
Now in doing this, can i give the kernel some random name, so that the linux option on boot is left alone, then I just add in another, say call it test for now and make the kernel called slack so that way I wont mess up my current working setup?
If so, when do I rename it, after i build it?
|
|
|
04-11-2006, 04:41 PM
|
#22
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
This option is added in lilo. Look at your /etc/lilo.conf to see the old kernel name.
|
|
|
04-11-2006, 05:09 PM
|
#23
|
LQ Newbie
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23
Original Poster
Rep:
|
Quote:
Originally Posted by Alien_Hominid
This option is added in lilo. Look at your /etc/lilo.conf to see the old kernel name.
|
Ya but if I wanna leave that alone can I just give the new one a new name, and if I can, do I do that before or after I start the "make..." stuff?
|
|
|
04-12-2006, 12:17 AM
|
#24
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
After make stuff:
Code:
# Linux bootable partition config begins
default = Muvo
image = /boot/vmlinuz-2.6.16-rc5
root = /dev/sda3
label = Muvo
read-only
image = /boot/vmlinuz
root = /dev/hda3
label = Linux-Original
read-only
# Linux bootable partition config ends
As you can see, there are two kernels: original Linux-Original kernel and my new kernel (vmlinuz-2.6.16-rc5), which I called Muvo (added support for my Muvo flash player).
Last edited by Alien_Hominid; 04-12-2006 at 12:23 AM.
|
|
|
04-12-2006, 04:21 AM
|
#25
|
LQ Newbie
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23
Original Poster
Rep:
|
I'm not really getting an answer to my question here, don't know how else to explain it.
I downloaded and unzipped the 2.6 kernel, so now in /usr/src I have both the 2.4 and the 2.6.
I want to leave the "Linux" lilo option alone, and then create a "slackware" option, i know how to write that in lilo, but how do I use make menuconfig to make with the 2.6 kernel, and when whould I name this kernel "slackware" so that the boot option would work?
|
|
|
04-12-2006, 05:24 AM
|
#26
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
After make bzImage, you will get bzImage in /arch/i386/boot/bzImage, which you could rename like you want. Copy bzImage to /boot and rename bzImage to Slackware. Then add it to your lilo path:
Code:
image = /boot/Slackware #(that's the path to your Slackware kernel aka previous bzImage)
|
|
|
04-12-2006, 05:46 AM
|
#27
|
LQ Newbie
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23
Original Poster
Rep:
|
Quote:
Originally Posted by Alien_Hominid
After make bzImage, you will get bzImage in /arch/i386/boot/bzImage, which you could rename like you want. Copy bzImage to /boot and rename bzImage to Slackware. Then add it to your lilo path:
Code:
image = /boot/Slackware #(that's the path to your Slackware kernel aka previous bzImage)
|
Thanks. See how far I get this time lol
|
|
|
04-12-2006, 06:06 AM
|
#28
|
LQ Newbie
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23
Original Poster
Rep:
|
Problem already, when I do make menuconfig its showing the 2.4 kernel, how do I tell it to use the 2.6 one?
EDIT: NM, gotta think a bit more, went into the /usr/src/2.6 directory and did make menuconfig, now I'm in the 2.6 kernel.
EDIT2: Whats the difference between adding stuff with *- built in, or M- module?
Last edited by YARDofSTUF; 04-12-2006 at 06:11 AM.
|
|
|
04-12-2006, 06:18 AM
|
#29
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
When you compile some stuff into the kernel, it is being loaded at boot time. Because kernel is bigger it takes more time to load everything. When you compile as module, this module is being loaded when it is requested by some program. Be aware, that you need to compile your file system support into the kernel and not as module, if you don't want to use initrd.
|
|
|
04-12-2006, 06:37 AM
|
#30
|
LQ Newbie
Registered: Oct 2004
Location: USA
Distribution: Constantly installing...
Posts: 23
Original Poster
Rep:
|
ok, got what I think I needed don. After saving from the make menuconfig in the 2.6 directory i have a lot of "warning: trying to assign nonexistent symbol..." messages, did I mess up?
Also it tells me make dep is unnecessary.
Last edited by YARDofSTUF; 04-12-2006 at 06:43 AM.
|
|
|
All times are GMT -5. The time now is 09:27 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|