Results 1 to 4 of 4

Thread: Kernel configure slack 8.1

  1. #1

    Kernel configure slack 8.1

    When I try to ./configure the source Kernel on the CD I get the following message:

    bash-2.05a# ./configure
    bash: ./configure: No such file or directory

    :-\

    I checked to see if autoconf package was installed---it is, and I also checked file permissions---looked ok.

    I untar'ed in several places to see if that mattered---it doesnt.

    Anyone have any thoughts on what I am doing wrong?

  2. #2
    Moderator
    Advisor
    redhead's Avatar
    Join Date
    Jun 2001
    Location
    Copenhagen, Denmark
    Posts
    811

    Re:Kernel configure slack 8.1

    # make menuconfig
    or
    # make xconfig

  3. #3

    Re:Kernel configure slack 8.1

    Become root. Rename your current /usr/src/linux to preserve your current sources. Untar your new kernel source in /usr/src. It will be come a new /usr/src/linux. In your new /usr/src/linux, do 'make xconfig' or make 'menuconfig'. Configure your kernel as desired. Immediately after configuring and exiting the kernel config app, open the new /usr/src/linux/Makefile and edit the 'extra version' line to give the new kernel a unique name, and a uniqe directory under /lib/modules. This step will always preserve your old modules and make it easy to switch back to any previous kernel. Save the edited Makefile. Then:

    make dep && make clean && make bzImage && make modules && make modules_install && make install

    This will compile the new kernel and modules, rename your old vmlinuz to vmlinuz.old, edit lilo.conf and run lilo again. For some reason for me in Slack, it doesn't always edit lilo.conf. I don't mind because I then usually rename each kernel descriptively, make the appropriate edits to lilo.conf, rerun lilo, and reboot to test it out.

    Remember things like nvidia driver modules that don't come with the kernel source will have to be reinstalled for the new kernel before you can use them. Good luck.

  4. #4

    Re:Kernel configure slack 8.1



    Thanks redhead! I would have written you back much sooner but I didnt add ppp support into my kernel hehehe. The bz went from 1.1mb to 800kb. Im writing from it now.

    bammbamm---thanks for all the good advice. (Any wish of luck is greatly appreciated)

Similar Threads

  1. namad crash, but not sure :-)
    By GNEEOT in forum Ubuntu / Debian
    Replies: 4
    Last Post: 01-27-2007, 06:31 PM
  2. getgrnam failed for$Enabling swap space
    By infinite_root in forum Linux - General Topics
    Replies: 8
    Last Post: 11-15-2003, 08:07 AM
  3. Redhat 9 reboots by it self
    By in forum Linux - General Topics
    Replies: 22
    Last Post: 10-14-2003, 02:54 PM
  4. Sony Microvault, and Red Hat 9
    By vwgtiturbo in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 08-29-2003, 11:13 PM

Bookmarks

Posting Permissions

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