Results 1 to 6 of 6

Thread: Reliable guide on how to build a kernel

  1. #1
    Join Date
    Aug 2013
    Beans
    14

    Reliable guide on how to build a kernel

    Hi,

    I just spent several hours trying to build a custom kernel and then when I tried to boot into it through grub I just got a purple screen. Couldn't boot into it.

    Has anyone managed to find a guide to custom build a kernel which just works?

    I guess the build was fine because no errors were reported.

  2. #2
    Join Date
    Jun 2011
    Location
    United Kingdom
    Beans
    130
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Reliable guide on how to build a kernel

    For "simple" configuration changes, the Community Help Wiki has a page that can guide you through the process.

    There is also a page which has more detail but links to the other page on the grounds that it requires updating.

  3. #3
    Join Date
    Dec 2013
    Location
    Michigan, US
    Beans
    50
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Reliable guide on how to build a kernel

    It's a rite of passage. I don't know which is worse building a kernel or X windows. Either way take your time and make sure you have a working kernel to fall back on in your grub menu. Look for instructions on building a minimal kernel.

  4. #4
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Reliable guide on how to build a kernel

    Purple screen is usually a modeset problem. So set nomodeset as a kernel switch in grub. In fact check your working grub entries and see what switches are being used.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  5. #5
    Join Date
    Aug 2013
    Beans
    14

    Re: Reliable guide on how to build a kernel

    I actually managed to build a kernel using the following page:

    http://www.tecmint.com/kernel-compil...-debian-linux/

    I wanted to build a custom module and insmod it. Which I was able to do after building the kernel. The argument that I was supplying in the make -C part of the command was wrong .. it had to point to /lib/modules/kernel-name/build and I was pointing it to any random place where the kernel source was downloaded. Thankfully, I got it to run and the kernel works as well.

    Thanks a lot, guys. Cheers. On to the next problem ..

  6. #6
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Reliable guide on how to build a kernel

    Thanks for sharing. Please mark thread as solved to help others by following the instructions in my signature. Thanks.

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
  •