Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
|
 |
10-05-2003, 01:33 PM
|
#1
|
Member
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550
Rep:
|
Does anyone have a good step by step on compiling a Kernel?
Im going to try to compile the 2.6 kernel, get rid of what I dont need and see if I can add in the ACPI support and get it working. Anyone have a good how-to?
|
|
|
10-05-2003, 01:48 PM
|
#2
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
|
|
|
10-05-2003, 10:46 PM
|
#3
|
Member
Registered: Aug 2003
Location: Somewhere south of sanity...
Distribution: Mandrake 9.1
Posts: 550
Original Poster
Rep:
|
Is it pretty much the same procedure for Mandrake?
|
|
|
10-06-2003, 03:12 PM
|
#4
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
Kernel compiling is kernel compiling no matter which distro for linux.
Hope this helps
Brian1
|
|
|
10-06-2003, 05:02 PM
|
#5
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Well - I did this with 2.6.0-test4 with no probs under Mandrake 9.1 with LILO.
Get hold of the kernel source.
Download either to /usr/src or home directory – you can always extract to a directory in /home then use the mv command to move the newly extracted directory to /usr/src – change into that directory with cd - once youve cd'd into the extracted directory (or symlink to extracted directory) then do
make xconfig
make clean
make bzImage
make modules
make modules_install
cp System.map /boot/System.map-2.6.0-test4
cp arch/i386/boot/bzImage /boot/bzImage-2.6.0-test4
kedit /etc/lilo.conf
Copy the whole normal entry for your distro then change 2 things – the image path and the label name – save it
/sbin/lilo
Dr Ozz's guide is worth checking out for more info.
(remember with 2.6........... you dont need to make dep anymore)
Last edited by Skyline; 10-06-2003 at 05:05 PM.
|
|
|
10-06-2003, 05:51 PM
|
#6
|
Member
Registered: Oct 2003
Distribution: Debian Woody (2.4.22)
Posts: 182
Rep:
|
If you use bzlilo instead of bzimage it will make entries in lilo for you. But you still have to move the files to /boot.
|
|
|
All times are GMT -5. The time now is 03:15 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
|
|