Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    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 d
    I suppose /usr/include/linux is the kernel source.

    @localhost.localdomain : /root@localhost:/sources/wvstreams-4.0.1# ls /usr/include/linux/
    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
    After "cd /usr/include/linux/" I suppose to run following commands

    -make menuconfig
    -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


  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    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- (or whatever the downloaded kernel is). Make the symlink with
    ln -s /usr/src/linux- /usr/src/linux
    and then cd into /usr/src/linux and then make menuconfig etc...
    Registered Linux User #371543!
    Get force-get May The Source Be With You

  3. #3
    Dylunio is right.
    But in RHEL4 I found sourses in /usr/src/kernels

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts