Results 1 to 3 of 3
I'm trying to compile linux 2.6.18.1 kernel with minimum set of features required to get an x86 system up and running. So far I've tried to follow this document:
http://www.digitalhermit.com/linux/K...ild-HOWTO.html
...
- 11-07-2008 #1Just Joined!
- Join Date
- Nov 2008
- Posts
- 2
Compiling the minimum kernel
I'm trying to compile linux 2.6.18.1 kernel with minimum set of features required to get an x86 system up and running. So far I've tried to follow this document:
http://www.digitalhermit.com/linux/K...ild-HOWTO.html
1. the paper doesn't mention much about how to configure the kernel. What options are required to for the basic kernel?
2. Grub configuration entry given in the paper looks as follows.
title Test Kernel (2.6.0)
root (hd0,1)
kernel /boot/bzImage-2.6.0 ro root=LABEL=/
initrd /boot/initrd-2.6.0.img
should I replace LABEL with something else here?
Thanks a bunch in advance.
- 11-07-2008 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,089
Welcome to the forums!
That's the best guide I've found and it has always worked perfectly for my own kernel builds.
The options you need to enable/disable would depend on your hardware. You need to know quite a bit about your hardware if you want to eliminate all options other than those needed for your particular hardware.
For the GRUB entry, you can replace LABEL with the name of your own device. It might look something like this if you use the uuid naming scheme:
You can find more on device naming here:Code:kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/e160435f-6a31-4662-870f-eee1722f241d ro vga=838
ArchWiki :: Persistent block device naming - ArchWiki
That wiki entry is for Arch, but it should work pretty well for other distros, too.
Have fun with your kernel build.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 11-07-2008 #3Just Joined!
- Join Date
- Nov 2008
- Posts
- 2
Thanks a lot Oz. Which options do you normally use? My hardware is quite common. It's an IBM thinkpad T42/Intel Centrino Mobile Processor 1.8/1 GB Memory/40 GB Hard disk.
Thanks once again.


Reply With Quote
