Results 1 to 7 of 7
can i have the full steps to compile my kernel
i mean the steps that i must do it in shell
like
Code:
make dep
make bzImage
etc
i have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-14-2004 #1Just Joined!
- Join Date
- Jun 2004
- Location
- Bahrain
- Posts
- 12
i want the full steps to compile the kernel
can i have the full steps to compile my kernel
i mean the steps that i must do it in shell
like
i have mandrake 9.1 BambooCode:make dep make bzImage etc
i want to compile the new one 2.6.8.1
thanks a lot
- 09-14-2004 #2Just Joined!
- Join Date
- Sep 2004
- Posts
- 26
Ive had nothing but problems trying to update a mandrake kernel but here ya go
- first go and get the source tree and extract it
- in the directory it just created, as root, type "make xconfig"
- search through and make sure all your hardware is checked off as modules
- search through and see if there is anything else you want compiled in or whatever
- save and exit the xconfig
- type "make bzImage && make modules && make modules_install"
- copy the bzImage file that resides in arch/i386/ to /boot and rename it something apropriate, like vmlinuz-2.6.9-rc2 or whichever kernel you got
- edit /etc/lilo.conf to put your new kernel in
- IMPORTANT: be sure and run the /sbin/lilo command on your system may not boot back up
- reboot and choose your new kernel
- enjoy =)
- 09-15-2004 #3Just Joined!
- Join Date
- Sep 2004
- Location
- BeiJing, China
- Posts
- 3
first change the current directory to /usr/src/linux-xxx/include
1. if link 'asm' doesn't exist, use 'ln -s asm-i386 asm'
//generate the kernel config file
2. make menuconfig(config...)
//generate the kernel image file, modules
3. make all
//install modules to /lib/modules/
4. make modules_install
//install the kernel image to /boot
5. make install
- 09-15-2004 #4
rm -f /usr/src/linux && ln -sf /usr/src/linux-2.6.8<version if
any>
cd /usr/src/linux && make menuconfig
<select all needed, pay close attention to processor and filesystems ... know your hardware (lspci can help there)
make install && make modules modules_install
(If /boot is already mounted then this should also copy the image there, otherwise cp it to /boot)Me & Myself just ganged up on I....... Now We all have problems..and none of Us are speaking!
bash-3.00$ uname -a
SunOS sparky 5.11 OpenSolaris-swa sun4u sparc SUNW,Ultra-Enterprise
- 09-23-2004 #5Just Joined!
- Join Date
- Sep 2004
- Posts
- 7
- 10-19-2004 #6Just Joined!
- Join Date
- Oct 2004
- Posts
- 4
I can not find the /usr/src/linux-xxx/include dir
Hi,
I installed RH9.0.
Now I need to compile and install the linux-wlan driver. The compilation requires the kernel to be at least configured.
So I choose add/remove application and install kernel source from the RH9.0 installation CD. In the directory "/usr/src/linux-2.4.20-8/" I found something new, such as a Makefile, a 'Document' dir, and etc. HOWEVER, I can not find include dir, why? Ofcause, I can not config the kernel compilation without 'include' directory.
Thanks,
Hill
Originally Posted by jzh
- 02-06-2008 #7Linux Newbie
- Join Date
- Feb 2008
- Location
- Bangalore, India
- Posts
- 112
I found this link preety simple and east to understand and follow.
Red Hat Kernel Compilationbigunix.blogspot.com
Registered Linux User: #476440



