Results 1 to 3 of 3
Hi folks,
LFS 6.1
FC3 Host
I'm prepared to recompile kernel on chroot environment to select some modules/options.
@localhost.localdomain : /root@localhost:/sources/wvstreams-4.0.1# find / -name linux -type d
Code:
...
...
...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-23-2005 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Recompile kernel question
Hi folks,
LFS 6.1
FC3 Host
I'm prepared to recompile kernel on chroot environment to select some modules/options.
@localhost.localdomain : /root@localhost:/sources/wvstreams-4.0.1# find / -name linux -type dI suppose /usr/include/linux is the kernel source.Code:... ... /tools/include/linux /usr/include/linux ...
@localhost.localdomain : /root@localhost:/sources/wvstreams-4.0.1# ls /usr/include/linux/After "cd /usr/include/linux/" I suppose to run following commandsCode:8250_pci.h cyclades.h icmp.h keyboard.h parport_pc.h smb_mount.h acct.h cycx_cfm.h icmpv6.h keyctl.h parser.h smbno.h
-make menuconfig
-make
-make modules_install
"make mrproper" can be left out. Is it "make menuconfig" bringing up the small window for selecting modules/options???
Please advise if I'm wrong. TIA
B.R.
satimis
- 08-23-2005 #2
I'm not sure if it's wrong by LFS standards, but usually one downloads and unpacks the kernel to /usr/src/ and then make a symlink from /usr/src/linux to /usr/src/linux-2.6.12.1 (or whatever the downloaded kernel is). Make the symlink with
and then cd into /usr/src/linux and then make menuconfig etc...Code:ln -s /usr/src/linux-2.6.12.1 /usr/src/linux
- 08-23-2005 #3Just Joined!
- Join Date
- Aug 2005
- Posts
- 4
Dylunio is right.
But in RHEL4 I found sourses in /usr/src/kernels


Reply With Quote
