LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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-13-2004, 01:13 PM   #16
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53

My only recommendation is to avoid "make install" and copy the kernel, system.map, config file yourself, also edit lilo config and run it.
 
Old 08-13-2004, 01:13 PM   #17
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
the 2.6 kernel compile procedure is basically on 5 step

1. configure with make config, menuconfig,gconfig or xconfig
2. compile kernel + modules just by type : make
3. install module in proper directory : make modules_install (do no forget the underscore)
4. install kernel file and system.map by copy /usr/src/linux-2.6.7/arch/i386/boot/bzImage in /boot and /usr/src/linux-2.6.7/System.map also in boot, rename your kernal as you want
5. configure your lilo accordingly to the new kernel name
 
Old 08-13-2004, 01:35 PM   #18
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
here is my compilation procedure:

download source tarball
cp linux-<version>.tar.bz2 /usr/src
cd /usr/src
tar -xjvf linux-<version>.tar.bz2
rm -f /usr/src/linux
ln -s linux-<version> linux
cd linux

vi Makefile
edit EXTRAVERSION (eg "-1" or "-withAGP" etc...) and save
make xconfig
enable 'Show All Options' and 'Show Debug Info'
go through the entire configuration settings
go through the entire configuration settings
go through the entire configuration settings
make clean
make bzImage
make modules
su
make modules_install
cp arch/i386/boot/bzImage /boot/bzImage-<version><extraversion>
cp System.map /boot/Sytem.map-<version><extraversion>
rm -f /boot/System.map
ln -s /boot/System.map-<version><extraversion> /boot/System.map
vi /etc/lilo.conf
image = bzImage-<version><extraversion>
password = ""
restricted
root = /dev/hda1 (or wherever)
label = <version><extraversion>
read-only
/sbin/lilo -p
reboot

re-install packages as needed (like ALSA)

Last edited by kodon; 08-13-2004 at 01:38 PM.
 
Old 08-13-2004, 01:58 PM   #19
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
it is old-school compilation procedure

no..I am kidding, you see Reefcrazed, every one has his way to do kernel compilation but the needed step are configure, compile and copy good files in good location
 
Old 08-13-2004, 03:48 PM   #20
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
Quote:
it is old-school compilation procedure
thank you?
lol...
 
Old 08-13-2004, 03:48 PM   #21
Reefcrazed
Member
 
Registered: May 2004
Distribution: Debian Stretch
Posts: 144

Original Poster
Rep: Reputation: 15
You know maybe in a year all of you guys will make more since. Now you just confuse the *(@*# out of me. This is why i have went from Redhat 9, to FC2, now to Slackware. I figure if i am going to learn this i might as well learn Slackware since it is supposed to be more barebones if you want to really learn Linux. I will tell you though i like the terminal window resolution way better during bootup on my old laptop. I also like the "message of the day" or whatever it is called after you login. Slackware seems to have a more "old school" feel to it that i like alot.
 
Old 08-13-2004, 04:11 PM   #22
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
Quote:
Originally posted by Reefcrazed
You know maybe in a year all of you guys will make more sense.
nahh...two months tops



(and you can change your console resolution in lilo)
 
Old 08-13-2004, 08:59 PM   #23
Reefcrazed
Member
 
Registered: May 2004
Distribution: Debian Stretch
Posts: 144

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by kodon
nahh...two months tops



(and you can change your console resolution in lilo)
Is this in any distro ?
 
  


Reply



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
Compile Error Renegade498 Linux - General 3 03-24-2005 07:50 PM
compile error... apenguinlinux Programming 0 02-07-2005 05:06 AM
compile error usa1234 Linux - Software 1 10-20-2004 01:53 AM
compile error: #error unknown processor family kmack2001 Linux - Newbie 0 02-14-2004 11:52 AM
Alsa compile error, and a WINE error scheidel21 Linux - Software 1 12-08-2003 08:16 PM

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

All times are GMT -5. The time now is 08:42 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