# Need something like basic linux

**URL:** <https://boards.straightdope.com/t/need-something-like-basic-linux/576422>\
**Category:** Factual Questions\
**Created:** [March 29, 2011, 7:45pm UTC](https://boards.straightdope.com/t/need-something-like-basic-linux/576422 "2011-03-29T19:45:36Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![engineer\_comp\_geek](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/engineer_comp_geek/32/504_2.png) [@engineer\_comp\_geek](https://boards.straightdope.com/u/engineer_comp_geek)\
**Post date:** [March 29, 2011, 7:45pm UTC](https://boards.straightdope.com/t/need-something-like-basic-linux/576422/1 "2011-03-29T19:45:36Z")

</div>

I need something like basic linux. No, not a basic version of linux, but basic linux, as in this:

> **[Volný.cz](https://volny.centrum.cz)**
>
> Volný.cz je český internetový portál nabízející e-mail, aktuální zpravodajství, počasí a další zajímavé služby.

What this basically (heh) is, is a small version of linux that boots a compressed image from a dos prompt. I’ve been playing around with this on my target machine (basically a PC architecture with a 16 MB flash drive) and it works perfectly. My only problem is that basic linux is VERY OLD. I need something a bit more modern, specifically something with the real time patches that went into the linux kernel somewhere around 2.16.

Basic linux is very easy to customize. Since it is based off of slackware, you just need a slackware machine to pull files off of and shove them into the compressed image that basic linux uses as its file system.

Anyone know of a more modern version of embedded linux that is pretty close to this? I would love to poke through linux from scratch and build my own but that would take far too much time.

---

<div class="post-metadata">

**Author:** ![zwede](https://avatars.discourse-cdn.com/v4/letter/z/ac91a4/32.png) [@zwede](https://boards.straightdope.com/u/zwede)\
**Post date:** [March 29, 2011, 7:54pm UTC](https://boards.straightdope.com/t/need-something-like-basic-linux/576422/2 "2011-03-29T19:54:54Z")

</div>

Maybe something like this?

[http://www.damnsmalllinux.org/](http://www.damnsmalllinux.org/)

---

<div class="post-metadata">

**Author:** ![psychonaut](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/psychonaut/32/4655_2.png) [@psychonaut](https://boards.straightdope.com/u/psychonaut)\
**Post date:** [March 29, 2011, 7:58pm UTC](https://boards.straightdope.com/t/need-something-like-basic-linux/576422/3 "2011-03-29T19:58:14Z")

</div>

The program that lets Linux boot from an MS-DOS prompt is called [loadlin](http://en.wikipedia.org/wiki/Loadlin). Earlier editions of [Linux in a Nutshell](http://docstore.mik.ua/orelly/linux/lnut/ch04_03.htm) have some instructions on running it. If you’re looking for a relatively compact distribution you can load with loadlin, [this linuxquestions.org thread](http://www.linuxquestions.org/questions/linux-distributions-5/looking-for-text-only-linux-distribution-that-i-can-start-with-loadlin-865672/) has some useful ideas.

---

<div class="post-metadata">

**Author:** ![Apex\_Rogers](https://avatars.discourse-cdn.com/v4/letter/a/e480ec/32.png) [@Apex\_Rogers](https://boards.straightdope.com/u/Apex_Rogers)\
**Post date:** [March 29, 2011, 8:10pm UTC](https://boards.straightdope.com/t/need-something-like-basic-linux/576422/4 "2011-03-29T20:10:49Z")

</div>

There’s also [http://tinycorelinux.com/](http://tinycorelinux.com/) I don’t know much about it other than it is a modern, lightweight linux install. It may have the features you’re interested in, but I’m not sure offhand.

---

<div class="post-metadata">

**Author:** ![engineer\_comp\_geek](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/engineer_comp_geek/32/504_2.png) [@engineer\_comp\_geek](https://boards.straightdope.com/u/engineer_comp_geek)\
**Post date:** [March 29, 2011, 8:22pm UTC](https://boards.straightdope.com/t/need-something-like-basic-linux/576422/5 "2011-03-29T20:22:36Z")

</div>

> [@zwede](#):
>
> Maybe something like this?
> 
> [http://www.damnsmalllinux.org/](http://www.damnsmalllinux.org/)

That’s 50 MB, which may be damn small by modern standards, but I have 16 to work with.

> [@psychonaut](#):
>
> The program that lets Linux boot from an MS-DOS prompt is called [loadlin](http://en.wikipedia.org/wiki/Loadlin).

Yep. I got the bright idea to try and replicate what basic linux did using a more modern distribution. I started with fedora and created a compressed image, but I could never get loadlin to even boot the kernel.

Then again, I’m not a linux weenie by any stretch of the imagination, so that may have all been pilot error. I was hoping for something right out of the box though.

I’ll read through your links and see if I can find anything useful. Thanks!

> [@Apex\_Rogers](#):
>
> There’s also [http://tinycorelinux.com/](http://tinycorelinux.com/) I don’t know much about it other than it is a modern, lightweight linux install. It may have the features you’re interested in, but I’m not sure offhand.

That looks promising. I’ll have to dig further. I didn’t see anything about disk space requirements yet.

I can boot a CD to install it, but the running version doesn’t have a CD drive, only the flash disk.

---

<div class="post-metadata">

**Author:** ![Simplicio](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@Simplicio](https://boards.straightdope.com/u/Simplicio)\
**Post date:** [March 29, 2011, 8:46pm UTC](https://boards.straightdope.com/t/need-something-like-basic-linux/576422/6 "2011-03-29T20:46:02Z")

</div>

Whats the advantage to booting from the DOS prompt? Just o save space on the hard-drive? (since you can have windows decompress the file). Do no boot loaders allow you to boot from a compressed file?

---

<div class="post-metadata">

**Author:** ![engineer\_comp\_geek](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/engineer_comp_geek/32/504_2.png) [@engineer\_comp\_geek](https://boards.straightdope.com/u/engineer_comp_geek)\
**Post date:** [March 29, 2011, 8:50pm UTC](https://boards.straightdope.com/t/need-something-like-basic-linux/576422/7 "2011-03-29T20:50:03Z")

</div>

The system currently boots to free dos, which is then used to boot a proprietary operating system (which then kills off free dos). By booting linux from free dos, I can add a switch to fall back to the old proprietary OS if needed, or I can download a new compressed linux image to essentially do a firmware update.

If I install linux directly on the flash drive, then it will be more difficult to do a firmware update to the machine.

ETA: There is no windows on this machine. It’s an embedded system designed to run in a harsh environment. It has a small disk on chip 16 MB flash drive built onto the motherboard, and no other disks (note - that’s MB, not GB).

---

<div class="post-metadata">

**Author:** ![Derleth](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Derleth](https://boards.straightdope.com/u/Derleth)\
**Post date:** [March 30, 2011, 4:31am UTC](https://boards.straightdope.com/t/need-something-like-basic-linux/576422/8 "2011-03-30T04:31:00Z")

</div>

> [@engineer\_comp\_geek](#):
>
> somewhere around 2.16

To be absolutely sure: Do you mean 2.1.something or 2.6? It makes a huge difference.

[Anyway, if you aren’t married to Linux, your options might open up a bit.](http://bengross.com/smallunix/) That links to a large number of Linux- and BSD-based distros focused on being small but useful (for some definition of the terms).

[Tiny SliTaz](http://en.wikipedia.org/wiki/Tiny_SliTaz) might be acceptable: It runs in 8MB of RAM, requires at least a 386SX, and fits on a 1.44 MB floppy. It comes with a 2.6-series kernel and you can pick whatever else you want by filling out forms [on the website.](http://mirror.slitaz.org/pizza/tiny/) (Pick which kernel you want and click ‘Continue’ to begin with, assuming you don’t have any configuration files of your own to upload to them. Should be easy from there.)

[ttylinux is more of a pre-baked solution that fits in 8 MB of disk and needs 32 MB of RAM to install but runs in 28 MB.](http://www.minimalinux.org/ttylinux/) Comes with a 2.6-series kernel.

---

<div class="post-metadata">

**Author:** ![engineer\_comp\_geek](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/engineer_comp_geek/32/504_2.png) [@engineer\_comp\_geek](https://boards.straightdope.com/u/engineer_comp_geek)\
**Post date:** [March 30, 2011, 4:37am UTC](https://boards.straightdope.com/t/need-something-like-basic-linux/576422/9 "2011-03-30T04:37:56Z")

</div>

> [@Derleth](#):
>
> To be absolutely sure: Do you mean 2.1.something or 2.6? It makes a huge difference.

Sorry. 2.6.16. or somewhere around there - not sure off the top of my head - there are some real time scheduling patches that went in sometime around there.

ttylinux looks promising. I’ll take a closer look at it tomorrow.
