Slashdot Mirror


LinuxBIOS Gets GUI

LWATCDR writes "Has a great write up on combining LinuxBios a Linux kernel, busybox, X, a window manager, and rxvt into a two meg flash chip. So what does get you? A six second boot time for one. All sorts of uses come to mind. Terminals to use with the Linux Terminal server. A very fast booting embedded system like a Car computer. With every one pushing for multi-core cpus, mega gigabyte drives and many gigabytes of ram it is interesting to see how small you can go."

24 of 171 comments (clear)

  1. Re:Two megs? by stoolpigeon · · Score: 5, Informative

    tfa is like 10 sentences - including this one The setup: LinuxBIOS + a Linux kernel + BusyBox + a tiny X11 server (Kdrive) + the Matchbox window manager + rxvt.(emphasis mine)

    --
    It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
  2. Slashdotted by $RANDOMLUSER · · Score: 3, Funny

    I hope they weren't running their webserver with it.

    --
    No folly is more costly than the folly of intolerant idealism. - Winston Churchill
  3. Re:Two megs? by Sparr0 · · Score: 5, Informative

    Your misconception illustrates precisely why projects like this are awesome. No, the summary was not incorrect. They really did this in TWO MEBIBYTES. Two gigs would be completely non-impressive, you can fit any desktop linux distro in that. Doing it all without X in 1.44MB, with dozens of diagnostic tools, is common on rescue floppy distros. Adding an X server (*NOT* XFree or XOrg, mind you) in under 2MiB is impressive but not impossible.

  4. Re:Two megs? by vidarh · · Score: 4, Interesting
    You do realize there's more than one X server out there, don't you?

    For example, Xvnc only takes about 800KB compressed. Yes, it doesn't display, but bolting a framebuffer driver onto it would only take a few KB - in fact you could fit both Xvnc and a full featured vnc client into less than 1MB. There are at least a few small "proper" X servers (that drives a display instead of keeping it's own frame buffer) out there that would fit in 2MB too - I only mentions Xvnc since that's the only one I happen to have installed.

  5. How small you _can_ you go? by bubbl07 · · Score: 3, Funny

    [...] it is interesting to see how small you can go."
    Apparently, it's normal and happens to lots of computers. It's not the size of the hard drive, it's how fast you can boot up.
  6. Re:Two megs? by Sobrique · · Score: 3, Insightful
    In IT, size matters - small is good.

    Explains a lot really :)

  7. Re:Two megs? by Rob+the+Bold · · Score: 4, Funny

    Uh, shouldn't that be a two gig flash chip, not two meg? X is a bit bigger than two megs, last time I checked.

    Two gigs? What do you need? Pre-downloaded pr0n?

    --
    I am not a crackpot.
  8. Better video by oneandoneis2 · · Score: 4, Informative

    There's a better quality video (i.e. a non-YouTube one) available at http://downloads.sourceforge.net/fornix/linuxbios. ogg

    --
    So.. it has come to this
  9. FBUI by Anonymous Coward · · Score: 4, Interesting

    Ahh...but then there's also FBUI, which is a full blown GUI system that runs as an in kernel module (~50k). Has some light weight libraries for interfacing with it. Would save tons more room than kdrive with all this other stuff. No networkable hooks though

  10. Re:Two megs? by KiloByte · · Score: 3, Insightful

    MEBIBYTES
    Please, stop this. The efforts by Academie Englaise to redefine the value of pi^H^Hmegabyte has failed miserably, and there is no reason to have this idea in a place other than MS Bob, UnifiedRoot or DOPA -- in the bit bucket where all asinine failed proposals go.
    --
    The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
  11. Yeah, but... by guy-in-corner · · Score: 3, Funny

    ...does it run Windows?

    Sorry.

  12. Re:Two megs? by pipatron · · Score: 4, Funny

    Indeed, it's well known and accepted that Mebioctets is the only correct word for this.

    See for example http://zapatopi.net/labs/kibioctets.html

    --
    c++; /* this makes c bigger but returns the old value */
  13. Re:Good to see by ThogScully · · Score: 4, Interesting

    The initial OpenMokos have just shipped to developers. They'll hopefully be more generally available toward the end of this year. I'm excited to get one as soon as I can, and no I'm not affiliated with them - I just think they are doing some awesome work.
    -N

    http://www.openmoko.com/

    --
    I've nothing to say here...
  14. Re:Impressive, but unnecessary by Dielectric · · Score: 4, Insightful

    I think you missed the point. It's running a fully graphical Linux in 2MB of solid-state memory. It just happens to be residing in the BIOS chip, which means no other hardware is necessary to get a functioning system. I think it's awfully cool.

  15. Re:Two megs? by udippel · · Score: 4, Funny
    In IT, size matters - small is good.
    Explains a lot really :)


    Micro-soft ?

  16. Re:Impressive, but .... usefull! by chrwei · · Score: 3, Informative

    Given that is for a BIOS project, the primary goal is to load another OS off larger storage medium. So why an GUI? Easy, what do you do when your main OS fails? You reach for a bootable recovery CD or USB drive. Oh, but you aren't at home and didn't bring it with you! Gah! Oh wait, you can boot the BIOS in GUI mode and get on the internet and use a web browser and all sorts of stuff!

    Even better, what happens when your grandmothers primary OS fails? Think she can use CLI tools and fsck the disk and other such things? What about a GUI where she can point and click through a diagnostic wizard? Maybe even click something to let you ssh in and fix it remotely?

    Realistically, I don't think the setup will stay at 2Meg, but I don't think it will need to be more than 32Meg since you can have a fully useful PDA in 32Meg. And if more storage is needed, it can always be extended by using the "recovery partition" concept.

    I'll admit that it's arguable that all this is necessary, but I'd argue that enabling the public to know if the issue is RAM or HDD or some other easily swapable part is necessary in taking the frustration out of owning a computer, as well as in reducing waste. There are too many people that don't know that memory can go bad and be replaced easily and that the computer itself is still quite useful. A diag wizard in the bios can fix this problem.

    --
    - Disclaimer: Information in this post deemed reliable but not guaranteed.
  17. Re:Two megs? by cyclop · · Score: 4, Funny

    Whoa, a Linux BIOS with pre-downloaded pr0n! It would have an instant market! "From cold iron to pr0n in 6 seconds!"

    --
    -- Patent no.123456: A way to personalize /. comments with a sig attached to the end.
  18. Re:Two megs? by Sparr0 · · Score: 3, Insightful

    I think the hard drive industry might disagree with you. Everyone says it's just a recent marketting gimmick to cheat people out of space, but every HD I have ever bought, since 20MB was "huge", was rated in decimal multiples.

    Oh yeah, DVDs are measured in decimal multiples too. 4.7GB == 4700000000B.

    You're just on the losing side of a very long argument. It probably won't be over until English is history, but it will end in our favor eventually.

  19. Re:Who are the idiots working on this project? by drinkypoo · · Score: 4, Insightful

    You could be the idiot working on this project. You want additional hardware support? Join up and help produce it. People aren't idiots simply because they're not providing what you want. Alternatively you could also hire a developer for the period of time it takes to support your chosen hardware...

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  20. Re:Two megs? by slackmaster2000 · · Score: 4, Funny

    It's asinine because of the douchebag factor.

    So you're talking to your uncle who's asking you, the family "computer genius", some questions about which memory module he should consider buying to upgrade his computer. You say something like, "well, I think that you should get at least two gibibytes total." Your uncle replies, "What's a gibibyte?" You proudly declare, "A gibibyte is 1,024 mebibytes, or two to the power of 30 bytes. Computers are binary machines, and memory is manufactured in sizes accordingly, not using base-10, which would yield 'megabytes' and 'gigabytes', which are 1 million and 1 billion bytes, respectively. Thus, when we talk about computer memory, we use mebibytes and gibibytes, even though manufacturers incorrectly use megabytes and gigabytes on their packaging."

    Your uncle thanks you and after you depart he turns to your father and says, "what a douchebag."

    Another reason to not use mebibyte and gibibyte or any of the baby-talk bytes, unless it's absolutely necessary, is that they're not recognized by Firefox's spell checker.

  21. Re:Two megs? by bflong · · Score: 4, Informative

    Just an FYI, KDrive *is* xorg. it's built from the official sources and is part of the source code tree and build system of xorg.
    http://en.wikipedia.org/wiki/Kdrive

    --
    Why is it so hot? Where am I going? What am I doing in this handbasket?
  22. Re:Two megs? by ehrichweiss · · Score: 3, Insightful

    This has less to do with SI and more to do with a way to approximate the values in semi-easy-to-understand binary/hexadecimal representations. Since 1,024 was close to 1,000, the idea of 1024 bytes being a binary equivalent to a "kilo" was not a large leap and it's easier to remember 0x400 bytes equals a kilobyte than 0x3E8 bytes, or that 0x100000 bytes instead of 0xF4240 equals a meg. As programmers(or at least us low level language programmers) we live and breath in the binary world and rarely have to think in decimal terms comparatively.

    What kills me is that I'm betting that a large majority of people who argue for the 1,000 byte kilobyte will gladly accept "ginormous", "omgwtfbbq" "aiiiggghttt"and "teh" and all the other language abuses and will see absolutely nothing wrong with their use. I'm sure that whoever dreamed up the "mebi" thing thinks they are making things easier but until us older programmers and hardware engineers die, that's not gonna take hold very well. Of course it speaks volumes that the term "mebi" is almost 10 years old now and still hasn't taken hold.

    One might also note that memory is the reason we use these terms in the first place since hard drives and the like didn't come about for a long while so trying to make the language even more confusing, and garbled, because hard drive manufacturers want to skimp on drive size seems asinine, and they DO want to skimp on drive since formatting 160Gb, whether it's 160,000,000,000 bytes or 160x1024x1024x1024 bytes, only yields about 140,000,000,000 bytes.

    --
    0x09F911029D74E35BD84156C5635688C0
  23. Re:Fast boot times? by Ostrich25 · · Score: 3, Funny

    My car stereo (www.empeg.com) has been able to fast boot linux from flash for over 7 years.
    I don't have that much time to wait for my car stereo to boot! Even my iPod can boot in less than 7 years.
  24. Re:Two megs? by slackmaster2000 · · Score: 3, Insightful

    The whole world has moved on now that we've all figured out that our hard drives are going to be a tad bit smaller than we thought. Then again, the memory companies have helped to even things out. The last time I bought 1 gigabyte of RAM, I was pleasantly suprised to have received 73,741,824 extra bytes!

    How about we all just pretend that we know what we're talking about when we say that our internet connection is "8 megs" or that our hard drive is "200 gigs" or that we have a "3 gig" processor. None of these statements are accurate, but we know what they mean and they're close enough for the sake of discussion.

    There's nothing wrong with saying "mebibyte" or "gibibyte", aside from the potential for them to sound like a three year old trying to pronounce "megabyte" and "gigabyte." ... well, and the fact that every single time you try to throw them into a general discussion somebody is going to call you on it. Every time. Every single time. It's patently obvious nerdiness, and somebody will always jump on it, and people like us will jump into the fray.