Find the answer to your Linux question:
Results 1 to 4 of 4
hello i'm building my own linux distro and i wanted to make it portable (i was inspired by damn small linux) and so how do i shrink the linux kernel? ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    6

    how can i shrink the kernel



    hello i'm building my own linux distro and i wanted to make it portable (i was inspired by damn small linux) and so how do i shrink the linux kernel? the full kernel is around 300mb i was hoping to make it fix in under 100mb...

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    You need to compile the kernel and exclude unncessary modules.
    So that the size of kernel becomes very small. Google tinycore linux which comes with 10MB size and microcore linux comes with 5-7MB.
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  3. #3
    Just Joined!
    Join Date
    Jun 2009
    Posts
    6
    Quote Originally Posted by Lakshmipathi View Post
    You need to compile the kernel and exclude unncessary modules.
    So that the size of kernel becomes very small. Google tinycore linux which comes with 10MB size and microcore linux comes with 5-7MB.

    so then, i would remove the parts i do not need/want before i compile or after? i'm thinking before...
    (btw: thanks for helping)

  4. #4
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,945
    Quote Originally Posted by itachixeyes View Post
    so then, i would remove the parts i do not need/want before i compile or after? i'm thinking before...
    (btw: thanks for helping)

    Yes, before.
    When you get into the kernel configuration menu, by removing stuff that you do not need, you are making the kernel smaller which in turn limits the time needed to compile that kernel.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this. and the Forum FAQS.

Posting Permissions

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