Find the answer to your Linux question:
Results 1 to 5 of 5
Hi All, I'm having a bit of trouble compiling the latest kernel 2.6.25.7 from kernel.org, whilst using Suse 11. When I think I have done the job and reboot, I ...
  1. #1
    Just Joined! bonzocs's Avatar
    Join Date
    Jun 2006
    Location
    Cardiff Wales/UK
    Posts
    51

    Compile Kernel Suse 11

    Hi All,

    I'm having a bit of trouble compiling the latest kernel 2.6.25.7 from kernel.org, whilst using Suse 11.

    When I think I have done the job and reboot, I get loads of dependency warnings?

    Can anyone point out what I am missing in the compile procedure below:

    go into /usr/src/linux-2.6.25.7-default...

    make dev
    make modules
    make install
    make bzImage

    Then reboot?

    When I reboot I choose the kernel version I just compiled, but then get the errors on boot.

    When I check /lib/modules/2.6.25.7 all thats in there is:
    build
    kernel
    modules.older
    source

    Thanks in advance

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    I believe you forgot a step.
    make dev
    make modules
    make modules_install
    make install
    make bzimage
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

  3. #3
    Just Joined! bonzocs's Avatar
    Join Date
    Jun 2006
    Location
    Cardiff Wales/UK
    Posts
    51
    Thanks MikeTbob, Much appreciated!

  4. #4
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,621
    A nice way to install/build a kernel for Suse is to use the method I learned online. Configure your kernel and then run:
    Code:
    make rpm
    This will build an rpm for you that you can install elsewhere if you want to upgrade other installs.

    After you install that rpm, run mkinitrd and edit your menu.lst as needed.

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  5. #5
    Just Joined! bonzocs's Avatar
    Join Date
    Jun 2006
    Location
    Cardiff Wales/UK
    Posts
    51
    Thanks Bryan,

    That seems like a good idea, I might give that a go now. I tried the other way and am still having module problems.

    Cheers

Posting Permissions

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