WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: MicroCore, Anyone?  (Read 12744 times)

Offline philip

  • Full Member
  • ***
  • Posts: 125
MicroCore, Anyone?
« on: March 28, 2009, 12:23:59 PM »
TC is a nice platform for users like me to learn how GNU/Linux systems work. I am not quite ready for Linux From Scratch, but I would love a chance to take a step closer, starting with TC.

Is it accurate to think about the TinyCore Base as a collection of truly minimal system ingredients (kernel, libc, busybox, wget, robertscripts, etc) plus a collection of carefully-selected extensions (tinyx, jwm, etc) that most users will want? If so, what's the smallest setup that can boot and start loading extensions, presumably driven by command-line instructions? Would it be feasible to turn that setup into an explicit packaging option?

In my dreams, I download and boot a microcore.iso that gets me online, and then start adding extensions that could take me up to a standard TCB setup or, perhaps, in some other direction. This way of doing things would always be just an option for experienced users to play with, and most definitely not the first point of contact for newcomers. The current choices in the Base are excellent for most purposes, and the nearly-instant appearance of a friendly GUI is a huge attraction of TC as it now stands.

This idea may be worth the developers' time:
  • If it's close to the way they build TC now anyway, sharing a peek behind the scenes wouldn't take much extra work.
  • It may recruit to the community curious and technically adept people who then contribute to the general advancement of the project.

Please discuss. Thanks.

Offline tobiaus

  • Suspended
  • Hero Member
  • *****
  • Posts: 599
Re: MicroCore, Anyone?
« Reply #1 on: March 28, 2009, 02:36:27 PM »
TC is a nice platform for users like me to learn how GNU/Linux systems work. I am not quite ready for Linux From Scratch, but I would love a chance to take a step closer, starting with TC.

it's not just nice for learning, it really gives you a feeling of having choices again. don't uninstall that application or library, either don't install it, or just delete the file (or move it to optional.) i like your idea, although it's not the most important thing for tc i believe. the most important thing right now is that it become useful for a wider variety of people and have more applications (choices.) i think the idea of making it even more modular is good for 2.0 or later, you could still have the very basic "desktop" in the main iso, instead of bzImage and tinycore.gz, have bzImage, tinycore.gz, and tinycore.tgz (for the basic desktop) all in the iso (and the frugal install.) to make it micro, remove tinycore.tgz. i think including the desktop for most users (less obsessed than we) is better.

Offline oldtimer

  • Newbie
  • *
  • Posts: 9
Re: MicroCore, Anyone?
« Reply #2 on: March 28, 2009, 08:43:56 PM »
My ideal MicroTinyCore would be have no desktop or client apps other than enough for an xserver and ssh client capable of handling x11 forwarding from the fully loaded MonsterTinycore that's serving up all my client apps...  Wahoo!


Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: MicroCore, Anyone?
« Reply #3 on: March 28, 2009, 08:49:49 PM »
This too has been much discussed. But initially I wanted to appeal to a wider audience.
I wanted to offer a somewhat familiar desktop onto which applications could easily be integrated at boot and upon demand.

If I had started from the CLI, no X, I could just hear the reviews, a 1970 version of unix, too difficult for any but the most advanced users. However, I realize there are some, perhaps many that pushing my core concepts to even a lower level would be most appealing.

We will have to see. At the moment, there is still much to accomplish with the current offering.
10+ Years Contributing to Linux Open Source Projects.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: MicroCore, Anyone?
« Reply #4 on: March 28, 2009, 09:46:15 PM »
TC is a nice platform for users like me to learn how GNU/Linux systems work. I am not quite ready for Linux From Scratch, but I would love a chance to take a step closer, starting with TC.

I'm about half way through lfs now, and it's fairly easy.  I resisted bothering with it until now, but if you really want something simple where you are in control of updating the core libs when necessary, I think it's a good idea. I think tc needs to be more sophisticated, as Robert indicated.

Offline philip

  • Full Member
  • ***
  • Posts: 125
Re: MicroCore, Anyone?
« Reply #5 on: March 28, 2009, 11:04:57 PM »
I think tc needs to be more sophisticated, as Robert indicated.
I agree with both of you, and my initial post says the same thing. It's interesting, though, how the term "sophisticated" could spin both ways. The standard public version of TC should clearly have the full functionality it offers now: that makes it sophisticated in its operation. The barebones version I am suggesting as an add-on (not a replacement!) would require sophistication from its users, rather than in the ISO.

Thanks to all who have contributed so far. Let's keep this interesting topic alive.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: MicroCore, Anyone?
« Reply #6 on: March 28, 2009, 11:47:23 PM »
It becomes a silly game, really. TC loads 40 loops almost instant on.  You can remaster TC in about 5 minutes, and strip out everything you don't want. Don't forget, it takes some time to boot your computer up to the grub menu. 

I think a few people get overly hung up on "tiny", to the detriment of what an OS is for. I suppose it's possible to have an 8M core that doesn't work with anything.  It'll boot up .5 seconds faster than TC does now.  Look at all the work that went into keeping DSL small, and check out their latest ratings.  IMHO, the core should have been upgraded a long time ago. TC works with modern software/hardware, and will  rapidly diminish in value to the extent that it only supports "old" applications/hardware....even if it's only 10M.   

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11049
Re: MicroCore, Anyone?
« Reply #7 on: March 29, 2009, 04:16:26 AM »
Sizewise it really doesn't matter whether we are 10mb or 8mb without X, jwm, fltk.. Everybody has at least 16 mb CF cards ;)

Even for burning into a bios chip, for which TC is not quite meant for, wouldn't work, since most bios chips are 1mb.

As for the public iso, I think it would be rather easy to keep both additional tce directory support and to have jwm.tcz et al loaded to ram inside tinycore.gz in order to still stay boot device-agnostic. Just, say, putting them to /tmp, and having some tce-loads in bootlocal.sh. With our current tcz loading speed it wouldn't hurt much at all.

@jpeters: why so negative prediction? updates will come as necessary (and no, flash is not necessary), in fact soon the kernel .29 might be seen around here. More and better HW support, I'd say ;)
The only barriers that can stop you are the ones you create yourself.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: MicroCore, Anyone?
« Reply #8 on: March 29, 2009, 07:57:12 AM »
Just for kicks I removed out of tinycore.gz all that relates to X, the fltk apps, and brought the size of the iso down to 6.3MB.  I put all that I removed into an extension so I could have it back with one command.  I booted in 10 seconds on my modest machine and was sitting on 18.7MB of used RAM.  I added the extension back on and then started X and added my usual apps like nothing was different.

In theory such a setup would boot on a 24MB machine and could use tce's/tcz's for server functions like nfs-utils or other small apps, theory because I don't own a machine that size but I am sure it would work.  A simple script, like restore-desktop or other such name, could fetch and restore what was missing.  Or one could hand pick what they wanted if they knew what they were doing, but if you bring in any of the X related stuff it all kind of goes together.  One would not have to very savvy to boot with a text mode TC, but one would have to be a little bit to make use of a text mode TC outside of restoring the desktop.

While I am not pushing for this to happen officially, a text mode tinycore makes perfect sense to me and is not hard to make for oneself.  I looked to see what in base depends on libstdc++ besides the fltk apps and didn't see anything but I could have overlooked a dependency on it.  That would bring the iso size to a little over 6.5Mb if it was put back in.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: MicroCore, Anyone?
« Reply #9 on: March 29, 2009, 10:41:29 AM »

@jpeters: why so negative prediction? updates will come as necessary (and no, flash is not necessary), in fact soon the kernel .29 might be seen around here. More and better HW support, I'd say ;)

I think it sounded more negative than intended. I began thinking (yes...after becoming aware of the glibc issue..) that it might be nice to have two versions going, one focused on 'small as possible' and another focused more on Robert's brilliant  modular approach, yet maintaining updated core libraries (eg, Glibc, GCC, Binutils) and hardware support.  I'd predict the latter will make it up the charts in DistroWatch (if anyone cares).

  Meanwhile, I'm learning how to make my own.  (BTW....I'd highly recommend recommend Robert Love's book, "Linux Kernel Development", which is actually readable for hobby-ists like myself). 
« Last Edit: March 29, 2009, 11:02:50 AM by jpeters »

Offline netzen

  • Newbie
  • *
  • Posts: 34
Re: MicroCore, Anyone?
« Reply #10 on: March 29, 2009, 11:45:40 PM »
... and brought the size of the iso down to 6.3MB.  I put all that I removed into an extension so I could have it back with one command. 
... I added the extension back on and then started X and added my usual apps like nothing was different.

I just started to play with TinyCore, so I don't have enough knowledge to participate in the current topic,... but...
I like the idea Jason is using...

Maybe, in the future, for developers alike, it is possible to have some kind of "TinyCore Compiler/Builder" that facilitate the user to "choose" versions and components always using the same infrastructure...

Something like this:


[higres]
http://farm4.static.flickr.com/3197/3397710998_48cce93375_o.jpg

It maybe possible to have a "torrent repository on-demand"...

Or, some kind of TinyCore LiveCD Builder, that allows to "build" the kind of TinyCore we want...

Anyway,... just some ideas to consider for the long run...

Offline tobiaus

  • Suspended
  • Hero Member
  • *****
  • Posts: 599
Re: MicroCore, Anyone?
« Reply #11 on: March 30, 2009, 12:19:23 AM »
i don't think tinycore needs to be more sophisticated, i think almost everyone forgets what it's like to be a noob, or, they were a noob when the word meant a lot more than it does now.

these days, a noob may boot ubuntu and simply wonder how to uninstall applications, or why the term is useful. he's not a noob that is going to start compiling x11 or installing drivers, he's not going to think about the command line for tasks that a gui will do just as well as windows. he's not going to try to customize every aspect of the system if he can learn to use the defaults. depending on when you first used linux, being a "noob" means you know much less than you would if you were new to linux in the earlier days- it also means you can do more, easily.

tinycore gives you a pretty friendly environment, some people will think "oh great, it looks like that old windows machine from the 80's" when they see jwm, they've never even used an alternative shell in windows.

tinycore shows people they can have something different, but not totally unfamiliar. i think it's very good to say it's a desktop distro, not a distro that allows you to install a desktop if you want. but the way i suggested, it would let you get to a microcore by deleting one file, (if you did a usb install) or remove one file from the iso, or, it would be very easy to have two isos. but i don't think the first thing *most* people should see, when they live in a world of huge graphical distros- is the command line unless they want to.

tinycore has a nice looking graphical installer for everything, appbrowser. someday it will be able to install nicer looking window managers (although jwm is my favorite.) appbrowser should be the standard experience for the average guy trying tc for the first time. you won't get it from the command line- and really, you shouldn't. but it should be very, very easy to get to microcore from the "average," standard 10mb version, or there should be a microcore iso too.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: MicroCore, Anyone?
« Reply #12 on: March 30, 2009, 04:11:15 AM »


Or, some kind of TinyCore LiveCD Builder, that allows to "build" the kind of TinyCore we want...

That would be Robert......

Offline tobiaus

  • Suspended
  • Hero Member
  • *****
  • Posts: 599
Re: MicroCore, Anyone?
« Reply #13 on: March 30, 2009, 06:08:02 AM »
That would be Robert......

actually the mkmydsl article seems to allude to some online custom dsl builder. i've never seen one though, or read about it anywhere else. in the future it should be easier to create websites that do custom distro builds before you even download the .iso. in tc this would mean it would be easier to have a few extra drivers at boottime.

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: MicroCore, Anyone?
« Reply #14 on: March 30, 2009, 11:56:17 AM »
MydlsMaker?  I never saw it before either. As the article noted however, it's much easier to make the iso locally, just altering your own setup.  How long does it take to do a tc remaster?