Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: [solved] compiling liquorix kernel for (x)ubuntu 12.10

  1. #1
    Join Date
    Nov 2010
    Beans
    38

    Red face [solved] compiling liquorix kernel for (x)ubuntu 12.10

    hi guys,

    i just installed the latest liquorix kernel on my xubuntu 12.10 and i really like it. now, i would like to compile the liquorix kernel myself, but i have absolutely no clue of how to do so. can you provide some help, like guides / tutorials? i found a few but they seem outdated. i really want to get into this stuff and learn about linux. like what packages do i need and what commands do i issue? how do i config the new kernel?

    help much appreciated, best regards and thanks in advance

    related topics:
    http://askubuntu.com/questions/21838...u-12-04-x64bit

    http://www.linuxtopia.org/online_boo...configuration/

    http://askubuntu.com/questions/13327...gaming-machine

    http://how-to.wikia.com/wiki/How_to_...e_Linux_kernel

    http://how-to.wikia.com/wiki/Howto_c...e_Linux_Kernel

    http://wiki.fragaholics.de/index.php...l_Optimization

    http://wiki.fragaholics.de/index.php...ration_General

    http://wiki.fragaholics.de/index.php...mization_Guide

    https://help.ubuntu.com/community/Kernel/Compile

    https://help.ubuntu.com/community/fo...e/CustomKernel

    http://manpages.ubuntu.com/manpages/...ke-kpkg.1.html
    Last edited by rootfairy; April 22nd, 2013 at 03:36 PM.

  2. #2
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,916
    Distro
    Ubuntu Development Release

    Re: need help: compiling liquorix kernel for (x)ubuntu 12.10

    Hi
    Quote Originally Posted by rootfairy View Post
    hi guys, i just installed the latest liquorix kernel on my xubuntu 12.10 and i really like it. now, i would like to compile the liquorix kernel myself, but i have absolutely no clue of how to do so. can you provide some help, like guides / tutorials? i found a few but they seem outdated. i really want to get into this stuff and learn about linux. like what packages do i need and what commands do i issue? how do i config the new kernel? help much appreciated, best regards and thanks in advance
    Install the prerequists.
    Code:
    sudo apt-get install build-essential kernel-package libncurses5-dev
    Download the linux source. Naivkigate to the source directory and configure the kernel..
    Code:
    sudo make menuconfig
    Build the kernel deb
    Code:
    sudo CONCURRENCY_LEVEL=2 make-kpkg --initrd --append-to-version=-my-custom kernel-image kernel-headers
    Install it as you would any deb
    Code:
    sudo dpkg -i
    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

  3. #3
    Join Date
    Apr 2008
    Location
    LOCATION=/dev/random
    Beans
    5,767
    Distro
    Ubuntu Development Release

    Re: compiling liquorix kernel for (x)ubuntu 12.10

    Check out the wiki page...
    https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel

    To build the Liquorix kernel instead of the standard Ubuntu kernel you would just have to apply the correct Liquorix patches to the kernel source once you have downloaded it.
    Cheesemill

  4. #4
    Join Date
    Nov 2010
    Beans
    38

    Re: compiling liquorix kernel for (x)ubuntu 12.10

    so i would download the default ubuntu kernel, then apply the liquorix patch and then build it? i absolutely not understand it. where do i download which kernel source?

  5. #5
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,916
    Distro
    Ubuntu Development Release

    Re: compiling liquorix kernel for (x)ubuntu 12.10

    Hi

    You get the patches and config from here. Select the config for your arch type.

    http://liquorix.net/sources/

    Get the kernel sources from here.

    https://www.kernel.org/

    You can try the Ubuntu sources but i dont know if their own patches will cause problems or not. Try it and see.

    You have inspired me to build it as well.

    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

  6. #6
    Join Date
    Nov 2010
    Beans
    38

    Re: compiling liquorix kernel for (x)ubuntu 12.10

    while you are at it, just post a step by step guide and i can finally understand what to do. i have still 0 clue.

  7. #7
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,916
    Distro
    Ubuntu Development Release

    Re: compiling liquorix kernel for (x)ubuntu 12.10

    Hi

    Take a look at this thread.

    http://forums.debian.net/viewtopic.php?f=5&t=62069

    I wont get time to build it until tomorrow but i will post back.

    Change it for the updated patch.

    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

  8. #8
    Join Date
    Nov 2010
    Beans
    38

    Re: compiling liquorix kernel for (x)ubuntu 12.10

    hm, i understand a bit more now. but, if 3.8.8 is latest stable release and liquorix is only for 3.8.6 then i cant use the patch and the config on the kernel 3.8.8? :Z best regards and many thanks

  9. #9
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,916
    Distro
    Ubuntu Development Release

    Re: compiling liquorix kernel for (x)ubuntu 12.10

    Hi

    Root around their public file system a bit

    https://www.kernel.org/pub/linux/kernel/v3.x/

    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

  10. #10
    Join Date
    Nov 2010
    Beans
    38

    Re: compiling liquorix kernel for (x)ubuntu 12.10

    when i try to patch the 3.8.6 from kernel.org with 3.8.6.1 liquorix i get spammed with this, no matter what i do the patch is permanently interrupted by this notification...


    Reversed (or previously applied) patch detected! Assume -R? [n] Y
    Apply anyway? [n] Y
    what about this?

    biatch@biatchXFCE:~/Downloads/kernel$ sudo apt-get source linux-image-$(uname -r)
    [sudo] password for biatch:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Picking 'linux-liquorix' as source package instead of 'linux-image-3.8-6.dmz.1-liquorix-amd64'
    Need to get 85.5 MB of source archives.
    Get:1 http://liquorix.net/debian/ sid/main linux-liquorix 3.8.0-4 (dsc) [1,585 B]
    Get:2 http://liquorix.net/debian/ sid/main linux-liquorix 3.8.0-4 (tar) [84.6 MB]
    Get:3 http://liquorix.net/debian/ sid/main linux-liquorix 3.8.0-4 (diff) [877 kB]
    Fetched 85.5 MB in 1min 18s (1,091 kB/s)
    dpkg-source: warning: extracting unsigned source package (linux-liquorix_3.8.0-4.dsc)
    dpkg-source: info: extracting linux-liquorix in linux-liquorix-3.8.0
    dpkg-source: info: unpacking linux-liquorix_3.8.0.orig.tar.bz2
    dpkg-source: info: unpacking linux-liquorix_3.8.0-4.debian.tar.bz2
    dpkg-source: info: applying zen/3.8.6-1.patch
    dpkg-source: info: applying debian/version.patch
    dpkg-source: info: applying debian/kernelvariables.patch
    dpkg-source: info: applying debian/doc-build-parallel.patch

    ok i think i understood the basics. but without knowing all the meanings of all the settings in makeconfig its nearly useless to compile your own kernel isnt it?
    Last edited by rootfairy; April 20th, 2013 at 02:44 PM.

Page 1 of 3 123 LastLast

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
  •