LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 08-25-2004, 11:55 PM   #1
gsibble
Member
 
Registered: Jul 2003
Distribution: Arch .5 and Solaris 9/10
Posts: 162

Rep: Reputation: 30
Smallest Linux Kernel


Hey everyone!

I'm trying to fit a linux kernel onto an extremely small amount of memory (under 512K).

Anyone know what the current record for the smallest linux kernel is? I don't need it to do ANYTHING. Just sit there and be linux.

-GPS
 
Old 08-26-2004, 12:22 AM   #2
J.W.
Guru
 
Registered: Mar 2003
Location: Milwaukee, WI
Distribution: Mint
Posts: 6,642

Rep: Reputation: 67
Re: Smallest Linux Kernel

Quote:
Originally posted by gsibble
I don't need it to do ANYTHING.
Not to be a smart-aleck, but surely it would need to do something, right? Perhaps if you went to Kernel.org and retrieved the earliest available kernel, it would be the smallest, and would meet your "smallest" criteria. -- J.W.
 
Old 08-26-2004, 12:24 AM   #3
gsibble
Member
 
Registered: Jul 2003
Distribution: Arch .5 and Solaris 9/10
Posts: 162

Original Poster
Rep: Reputation: 30
Re: Re: Smallest Linux Kernel

Quote:
Originally posted by J.W.
Not to be a smart-aleck, but surely it would need to do something, right? Perhaps if you went to Kernel.org and retrieved the earliest available kernel, it would be the smallest, and would meet your "smallest" criteria. -- J.W.
I really don't though. It's for an engineering class.

-GPS
 
Old 08-26-2004, 12:54 AM   #4
realjustin
Member
 
Registered: Aug 2004
Location: /dev/null
Distribution: Slack 10, Debian
Posts: 99

Rep: Reputation: 15
If you can use a decent sized drive, you could just modularize practically everything you were allowed to, as well as cut out all disks and everything and it could actually be functional.
 
Old 08-26-2004, 01:03 AM   #5
realjustin
Member
 
Registered: Aug 2004
Location: /dev/null
Distribution: Slack 10, Debian
Posts: 99

Rep: Reputation: 15
Jeez, I just tried a 2.6 with almost NOTHING, just ext2, mouse and a thing or two else and it was 700k. I'd definately take the advice to go back to a much older kernel.
 
Old 08-26-2004, 02:58 AM   #6
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
You can get ANY old kernel in the kernel.org archives. The 1.x series were quite small, tho you will find that a stripped down current 2.2 kernel (or 2.0) will probably do for what you want... the 2.x series are still used by a lot of people... I have a machine running 2.2 stll, but it would be a big kernel I think.

And yep, my fairly stripped down useable 2.6.8.1 kernel is about 1.6 meg compressed
 
Old 08-26-2004, 03:04 AM   #7
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
I just checked. My 2.2 kernel machine has a loaded up kernel and it's 579066 (vmlinuz) so a stripped down 2.2 might do you. The current is 2.2.26 - should be able to get that down to nothing I would think...
 
Old 08-26-2004, 08:48 AM   #8
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hi,

A 2.4 kernel should fit your requirements... I currently run a 2.4.27 (with few patches like low-latency) and it's 861Ko and I know it can be smaller: 1 network card, a.out and misc binary support, devfs filesystem, module support for my graphic card driver... can be removed

Oliv'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install the slackware linux on the smallest harddisk space agie72 Slackware - Installation 3 01-01-2005 12:54 AM
Smallest Linux distro that supports Speedtouch 330? mr.flywheel Linux - General 1 12-12-2004 02:11 PM
what is the smallest RH 8 or 9 install markkreuzz Red Hat 4 08-17-2004 07:17 AM
Smallest Installable Linux Distro. bullium Linux - Distributions 5 04-14-2004 02:40 PM
smallest Linux distro for running Opera? jantom Linux - Distributions 4 02-04-2004 06:44 AM


All times are GMT -5. The time now is 08:54 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration