Find the answer to your Linux question:
Results 1 to 10 of 10
After a lot of compiling and recompiling, I have got my core kernel on Crux down to 1.2MB and the modules tree down to 2.2MB. Right now I'm rebuilding my ...
  1. #1
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    951

    Yippee! Kernel down to 1.2MB

    After a lot of compiling and recompiling, I have got my core kernel on Crux down to 1.2MB and the modules tree down to 2.2MB. Right now I'm rebuilding my Debian kernel using the same configuration file. I gave up the precompiled Debian kernel some time ago as it's bloated with stuff I don't need (everything but the kitchen sink and I bet that's there too somewhere if you look for it ).

    I don't need an initrd any more either and, without it, my Debian boot time has gone down by 30%, though it's still nothing like as fast as Crux. I feel pleased with myself.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  2. #2
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    Is this month Ramadan for Linux or something?
    I get the impression everybody has started creating his/her personal version of a slimmed down system the last couple of days. Even I have started working on a minimal system on a USB stick recently.
    Debian GNU/Linux -- You know you want it.

  3. #3
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Smile

    Quote Originally Posted by hazel View Post
    After a lot of compiling and recompiling, I have got my core kernel on Crux down to 1.2MB and the modules tree down to 2.2MB. Right now I'm rebuilding my Debian kernel using the same configuration file. I gave up the precompiled Debian kernel some time ago as it's bloated with stuff I don't need (everything but the kitchen sink and I bet that's there too somewhere if you look for it ).

    I don't need an initrd any more either and, without it, my Debian boot time has gone down by 30%, though it's still nothing like as fast as Crux. I feel pleased with myself.
    Cool,Hazel I found trimming down less than 1.9 MB a difficult task...since it missing some modules which i needed... just 1.2MB amazing

    Then can you post a link of your image and config file? I might use it for minili -
    (Im looking for kernel image with built-in support for network )Does it support networking ?



    Quote Originally Posted by GNU-Fan View Post
    Is this month Ramadan for Linux or something?
    I get the impression everybody has started creating his/her personal version of a slimmed down system the last couple of days. Even I have started working on a minimal system on a USB stick recently.
    Yes,I hear everyone (including myself ) is using creating their own small linux...
    Quote Originally Posted by GNU-Fan View Post
    Even I have started working on a minimal system on a USB stick recently.
    Cool..I made a failed attempt to creat USB image (using mkisofs+mkfat) last month....if you succeed let me know your linux and methods used

    Yippeeee!!! Looks Soon every linux user will run their own custom linux ...
    named after them something like Hazel linux ,laks linux etc etc ....
    - 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
    -------------------

  4. #4
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    Quote Originally Posted by Lakshmipathi View Post
    Cool..I made a failed attempt to creat USB image (using mkisofs+mkfat) last month....if you succeed let me know your linux and methods used
    I don't think it is possible to create a single image that fits all USB sticks, as they differ in size.
    You need to create the MBR an each stick and all necessary files on it. At least that's how I did it, with SYSLINUX as the bootloader.
    Debian GNU/Linux -- You know you want it.

  5. #5
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    Acutally I tried something like creating 2 partition - partition-1 for fat with syslinux and partition-2 for ext3 and root fs....but I missed something somewhere..so while booting it shows an error message like "can't found root fs to mount..tried ext3,iso9600 ..."

    Let me know ,once you have completed it
    - 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
    -------------------

  6. #6
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    Quote Originally Posted by Lakshmipathi View Post
    Acutally I tried something like creating 2 partition - partition-1 for fat with syslinux and partition-2 for ext3 and root fs....but I missed something somewhere..so while booting it shows an error message like "can't found root fs to mount..tried ext3,iso9600 ..."

    Let me know ,once you have completed it
    I didn't succeed at making a standalone FAT partition the root filesystem. I concluded that this was because FAT doesn't have support for device nodes. Therefore, there is no USB device node known to the system and hence the filesystem of the stick cannot be mounted. (This is only my theory, so take it with a grain of salt)

    So I created a initial ramdisk (initrd.gz) in which all necessary applications are. Current state is that kernel boots and hands over control to a shell (sash) from which I can start additional applications. (0.46 seconds to boot, yippie.)
    Debian GNU/Linux -- You know you want it.

  7. #7
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    (0.46 seconds to boot, yippie.)
    that's more like a speed of light ...great post your urls too I'll be glad to check it out...
    - 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
    -------------------

  8. #8
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    951
    Quote Originally Posted by Lakshmipathi View Post
    Cool,Hazel I found trimming down less than 1.9 MB a difficult task...since it missing some modules which i needed... just 1.2MB amazing

    Then can you post a link of your image and config file? I might use it for minili -
    (Im looking for kernel image with built-in support for network )Does it support networking ?
    Read more carefully! This isn't a monolithic kernel like yours; there's 2.2 MB of modules to go with it. Also it isn't general-purpose like a distro kernel would have to be; it only supports my actual hardware. But here's the config file if you want it. And yes, it does have networking. I'm using this kernel right now.
    Attached Files Attached Files
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  9. #9
    Linux Engineer Freston's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    1,047
    My compliments Hazel!

    You may be 'just' an old lady, but you could dazzle us with jargon
    Can't tell an OS by it's GUI

  10. #10
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    Quote Originally Posted by hazel View Post
    But here's the config file if you want it. And yes, it does have networking. I'm using this kernel right now.
    thanks hazel,I'll check this out ...
    - 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
    -------------------

Posting Permissions

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