LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-03-2005, 01:04 AM   #1
whatpot
Member
 
Registered: Feb 2005
Distribution: Kubuntu and Debian
Posts: 32

Rep: Reputation: 15
a mdk distro kernel source for SUSE????


Hi this just might be a silly question....

I got Suse9.1 with kernel 2.6.5-7.151.i586

is it possible to compile a source file i found on a mandrake distro under suse9.1. the file name of those source file goes like this

kernel-source-2.6-2.6.8.1-12mdk.i586.rpm

is there a good tutorial on how to compile source kernel ec.

thankyou

really sorry for cross posting this query
 
Old 04-03-2005, 01:58 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
yeah with kernel sources you will be fine. ( note that this does not include binary stuff like drivers etc...).
Some distro's (most) like to patch the kernels before releasing them, but if you have the complete source code and compile your own it doesn't matter since you have the source and anything you compile afterwards ( additional drivers like nvidia, ati, etc...) that need the kernel source will be able to find it as long as you don't delete the source after you compile (if you want to save on disk space, you can do "make clean" in the kernel source directory but not "make mrproper").

there are tons of tutorials out there, but the best teaching method ( in my opinion) is to just dive on in. the generic steps are:

make mrproper
make menuconfig ( or xconfig)
make bzImage
make modules
make modules_install
cp arch/i386/boot/bzImage /root/<your name for the kernel>
then edit your bootloader config ( if it's lilo, then dont forget to run ( as root) /sbin/lilo after you are done editing the config file)

also, if this is your first kernel compile, make sure to leave the default ( or whatever you are running) kernel in your bootloader config file so you have something to go back to in case your compiled kernel doesn't work. you can alway delete it later after you get your new kernel working the way you want it.
 
Old 04-03-2005, 07:40 AM   #3
whatpot
Member
 
Registered: Feb 2005
Distribution: Kubuntu and Debian
Posts: 32

Original Poster
Rep: Reputation: 15
thankyou. Yes I am going to dive in straight since it all sounds very confusing if one just keeps reading tutorials
 
  


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
mdk pwrpk 10.1 - kernel source needed pcandpc Mandriva 9 05-25-2005 07:59 PM
Problems installing kernel-source with Mdk 10.1 Community Rodolfo Medina Mandriva 1 12-05-2004 07:00 PM
MDK 10 communuty kernel source moumouth34 Linux - Newbie 1 04-06-2004 08:53 PM
MDK RPM update: risks upgrading kernel-source from 2.4.22-10mdk to 2.4.22-26mdk? Currux Mandriva 9 03-15-2004 07:45 AM
SuSE 8.1 kernel-source pilotgi Linux - Software 8 07-27-2003 07:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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