Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Fast-Booting OS for Usually-Off Appliance PCs?

Posted by timothy on Thu Jul 17, 2008 09:00 PM
from the zero-to-sixty-in-zilch-dot-two dept.
An anonymous reader writes "I have some older computer equipment at work that I want to re-purpose as application appliances. The machines will sit, unpowered, until needed, then powered up. No way around the 'sitting powered off' — company directive. What is the quickest-booting OS I could use for them? I know about LinuxBIOS, but that would require new hardware, which does not go along which the re-purposing theme. Some of them do not need to be connected to a network, so an old version of Linux or Windows 98 are possible. DOS is too old to consider. So what are my options?"
+ -
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Linux + hibernate (Score:5, Informative)

    by zjbs14 (549864) on Thursday July 17 2008, @09:05PM (#24236673) Homepage
    Linux + hibernate (swsusp, TuxOnIce) functionality.
      • Re:Linux + hibernate (Score:5, Informative)

        by hairyfeet (841228) <bassbeast1968@@@gmail...com> on Thursday July 17 2008, @10:18PM (#24237253)
        And we don't know anything about the job either. This is as bad as when my youngest would say he wanted a video game and when I asked which one he would say "It had a guy in it. Oh,and magic!". If he wants decent advice he needs to give us a little more info. How old,like P2 old or early P4 old? What kind of jobs is it going to do? Give us a little more to work with here please.
        • by apparently (756613) on Friday July 18 2008, @07:12AM (#24240253)
          . This is as bad as when my youngest would say he wanted a video game and when I asked which one he would say "It had a guy in it. Oh,and magic!".

          You've gotta admit though, that game sounds awesome.

      • Re:Linux + hibernate (Score:5, Interesting)

        by AJWM (19027) on Friday July 18 2008, @12:10AM (#24237981) Homepage

        With Linux you won't have to look for drivers, they'll be built in. Linux has phenomenal support for hardware, that tends to get better as the hardware ages -- Linux developers have incentive to keep supporting it, unlike the hardware vendors. (Barring really crippled stuff like winmodems, but even those have some support).

        Depending on the age/capability of the hardware you might need to go with an older version of a distro or just omit a bunch of default crap on the install. I've got some old Pentium boxen that run fine but modern distros gripe about not having enough RAM to run the graphic installer. Boots fast, though, unless it decides that two years since the last fsck is too long and forces it (override with tunefs).

          • Re:Linux + hibernate (Score:5, Interesting)

            by AJWM (19027) on Friday July 18 2008, @01:02AM (#24238335) Homepage

            I have old Dells, old Gateways, old IBM's, old Compaqs and HPs. Never had a problem with built-in video. Only had one problem with built-in sound that was quickly solved by looking at the configuration (non-standard) in Windows 98. Never a problem with built in CD drives or CD or DVD drives I bought from a store. (The only exception was an Acer CD drive somebody gave me -- didn't work worth a damn, I never bothered trying it in Windows.) I've used all kinds of SCSI, Firewire, USB and serial gizmos, and parallel printers, without a problem. Perhaps I was just never stupid enough to buy old parallel non-printer peripherals. There have been a few odd-ball USB gizmos -- a cheapo (giveaway) digital camera, for example -- that didn't work on Linux, but those had a hard time working on Windows, even assuming you could find the driver disk that originally came with it or find somewhere on the net to download a driver.

            Now, the old Dells, HPs, etc have been retired office machines, not consumer boxes. In my experience the manufacturers tend to cut more corners in the consumer stuff (the margins are thin as it is) and so may be more likely to use oddball parts or configurations that are less well supported. If the repurposed machines the OP was talking about were business machines (even desktops), they're more likely to "just work" with a Linux distro. In the OP's particular case, I'd say try both and go with what works best on those particular systems.

  • Well, (Score:5, Interesting)

    There's always BeOS, which prided itself on lightning-fast load times. Otherwise, a rather stripped down UNIX-alike would do you fine.

    • BeOS (Score:5, Informative)

      by Lulu of the Lotus-Ea (3441) <mertz@gnosis.cx> on Thursday July 17 2008, @09:37PM (#24236947) Homepage

      BeOS really was pretty amazing in this respect, and some others. Multithreading was far ahead of anything else at the time, and probably since, as well. On some older machine (P3-ish; much slower HDD than nowadays) I clocked boot time at 15 seconds, OS/2 and Linux distros of the time were more like 1-1.5 minutes on the same hardware.

      The way it booted so fast was largely by deferring a lot of the "initialization" stuff until the system was "booted". This is nothing like the awful way Windows (and to a lesser extent KDE/Gnome desktops) keep loading stuff for a good while, letting you see the desktop for a minute before you can really do anything. Under BeOS, said multithreading was well utilized to give you a responsive GUI right at that 15 seconds, but still do background loads of various background processes that you didn't *really* need immediately.

      Of course, if you immediately launched something that *did* need the services of something loading in a background thread, you'd obviously have to wait a few more seconds. But even all that background loading was very efficient, and practically, by the time you could make a few clicks, it was loaded.
       

    • Re:Well, (Score:5, Interesting)

      by gooman (709147) on Thursday July 17 2008, @09:56PM (#24237101) Journal

      BeOS was as close to "instant on" as I've ever seen in an OS. Everyone who saw it was amazed. My computer took longer to go through the BIOS screens than BeOS took to load. Once the splashscreen appeared it was at the desktop in 5 seconds. I wonder how well Haiku performs in this regard.

  • by Joe The Dragon (967727) on Thursday July 17 2008, @09:05PM (#24236681)

    Dos may work well as well as windows 3.11 or windows 98.

    A CF based disk will boot fast as well as a ssd.

      • That's funny, because the latest version of DOS that I have is dated September 3, 2006 [ibiblio.org].

        Is that too old now?

      • by vtcodger (957785) on Thursday July 17 2008, @10:02PM (#24237133)
        ***As stated in the original paragraph, "DOS is too old to consider"***

        That's silly. If MSDOS/Freedos will do the job, why the hell would it be too old to consider? It's far more stable than later MS OSes and will boot nearly instantaneously. Moreover, it is the only PC OS that is almost simple enough to understand. A fair variety of software is available that will run under MSDOS with a DOS extender to provide access to memory above 1MB.

        Next choice would be Windows 95 with all two dozen service packs. Or OSR2. It will boot faster than Windows 98 (Less crap) and will support a suprising amount of Windows software. I'm not entirely sure why, but enabling MSDOS disk caching will speed up Windows 95 boot by 10% or so.

        It may be necessary to spend time tuning the BIOS, and maybe even reconfiguring IDE hard drives and CDROM drives. Some older BIOSes can take a loooooooong time -- like 30 seconds plus -- dealing with pathological IDE configurations.

        Or Linux. I don't know if Slackware still has SlackZIP, but it's specifically intended to boot from MSDOS/Windows 9 environments -- which means that you can set it up to run as desired while still having a functioning OS, then replace the bootloader to boot directly to Linux.

        One caution. Unless the operation has a generous people budget and no hardware budget or is going to deploy dozens of identical boxes, it is almost always going to be more cost effective to buy a prebuilt appliance than to roll your own.

  • BeOS? (Score:5, Informative)

    by Chonine (840828) on Thursday July 17 2008, @09:07PM (#24236697)
    Back in the day, BeOS booted in 6 seconds to a fully usable desktop (6 seconds after the POST). I don't think that is what you are looking for though, and I don't know how far the Free clone, Haiku, has come.

    More realistically, there is this interesting Linux distribution, Webconverger:

    http://webconverger.com/ [webconverger.com]

    I've used it for a few web-only systems. Boots up fast enough. Use it as a starting point to tweak. Basically, firefox becomes your operating system and UI. Neat idea.

  • re (Score:5, Informative)

    by JohnVanVliet (945577) on Thursday July 17 2008, @09:09PM (#24236713) Homepage
    there is " damn small linux " http://www.damnsmalllinux.org/ [damnsmalllinux.org] you could even install it in the /boot partition of fedora as a backup os
    • Re:re (Score:5, Interesting)

      by TheRealMindChild (743925) on Thursday July 17 2008, @09:37PM (#24236941) Homepage Journal
      Ok. I HAVE to bite this one in the butt. After trying ALL of the recent "light weight" distros on my fathers Pentium II 300 w/256 MB of ram, DSL, Xubuntu, etc ALL FAILED miserably on it. 5 minute boot times, sluggish response, you name it. It wasn't usable. Oddly enough, I threw Slackware 4.0 on it and it ran great, while Slackware 12 did not. Maybe it is the 2.6 kernel... I haven't a clue. But there isn't an up to date distro that will run sufficiently as a desktop on such hardware. Period.
        • Re:re (Score:5, Insightful)

          by kent_eh (543303) on Thursday July 17 2008, @11:37PM (#24237781)

          I mean, really. You can get reasonably modern hardware for $400-$500. My quad-core machine was only $1200, and it's fairly loaded. Expense accounts for this? What is your hourly salary? How many hours do you need to waste for it to be more worth it to the company to simply buy a new machine? Probably less than the amount of time it'll take to read this thread, procure whatever OS(es) you settle on trying, and install one after another until you find one that suits whatever task you have for the machine. So, just buy a $1000 machine, install VirtualBox or VMWare on it, install the special OS there, and you'll be off and running far faster, and far cheaper, than trying to repurpose hardware better sent to the recycler.

          Maybe that's a possibility in your office.

          In the increasingly bureaucratic world that I work in, any purchase has to be vetted by at least 2 levels of management. If it's over $500, then 3 levels.
          And if it says "computer" anywhere on the invoice, it has to go thru IT, and has to "belong" to them, even if it's going to be a non-networked VT100 emulator.
          And it takes longer than 6 weeks (which is how long I've been currently waiting.

          In the meantime, I have frankenstiened a bunch of cast-offs ("here lemme help you schlep that junk to the bin...") into service until my boss manages to push the official request thru the pointy-haired quagmire.

  • OpenBSD? (Score:4, Interesting)

    by condition-label-red (657497) on Thursday July 17 2008, @09:10PM (#24236733) Homepage
    Depending on the intended use, a minimal install of OpenBSD [openbsd.org] might do the trick.
  • Fast boot (Score:4, Informative)

    by Sp4freel (1312013) on Thursday July 17 2008, @09:11PM (#24236743)
    DSL linux is really fast when installed on a Hdd.
  • by dgatwood (11270) on Thursday July 17 2008, @09:14PM (#24236757) Journal

    Boot from a RAMdisk filesystem and make it as small as possible. Rip out all the startup scripts and write your own that just runs the one or two things you actually need running, runs ifconfig, route, etc. manually with hard-coded info (or starts dhclient/pump/dhcpcd). Compile the minimum number of possible drivers into the kernel and don't include any modules at all, nor tools to load modules. Include a bare-bones GUI layer like Nano-X and write your applications using pure Xlib if you can. Otherwise, use the most lightweight WM and GUI toolkit you can find (e.g. straight Tcl/Tk).

    For permanent storage, mount a small (e.g. 300 MB) filesystem on a flash card so that the fsck takes just a couple of seconds even if forced. :-)

  • by rtechie (244489) * on Thursday July 17 2008, @09:15PM (#24236765)

    Just to be clear: You intend to have old machines sitting around unpowered and then someone WALKS UP TO THEM and presses the power button. The user then waits for the OS to boot and does his thing. Correct?v

    So what are these systems being used for? Kiosks? This is critical to determining what you need. For example, QNX boots very quickly but it's an embedded Unix system. But QNX probably won't run whatever app it is you want to run on these systems.

    Basically, you said they are going to be application appliances. WHAT application?

    • by sootman (158191) on Thursday July 17 2008, @10:05PM (#24237149) Journal

      I agree this is too little information, so I will take advantage of the vagueness to walk a decade down memory lane. :-)
       
      Back in 1998 when I was first getting into Linux and other OSs--back when we thought OSs besides Windows had a chance because Windows was so crappy and all these others were so great--there were a couple experiments that were fun.

      • BeOS, as others have already mentioned, booted very quickly. I remember seeing it advertised at around 20 seconds after POST; on my 300 MHz AMD K6-2 it took about 30. On any newer system with a halfway decent disk you'd see boot times in the teens or less. One of the open-source BeOS clones might be worth looking at.
      • Around that same time, QNX released a free demo that fit onto a floppy--one with (limited) NIC support and the other for computers with modems. Full TCP/IP stack, browser, shipped with a browser-based ring-stacking game (Towers of Hanoi) written in JavaScript. You can probably find copies of the image online. Ah, here we go, fifth match. [toastytech.com] I don't remember what floppy boot times were like but if you install it onto a CF card or something I bet it'd be great. (Can't get it to run in VirtualBox at the moment.)
      • A bit later I bought a 1 GHz PIII HP Pavillion. After I replaced the 60 GB WD HDD with a 13 GB unit (big drives are for servers; clients get small drives) and replaced the trialware-laden WinME with Win98 boot times dropped from 35 seconds to 25. That's gotta be 6, 7 years ago by now... how old is your box?
      • Not known for boot times but speaking of relatively fullfeatured alternative OSs, ReactOS might be worth looking into.
      • Oh yeah, and way back in the late 1980s, my parents bought an AT or XT clone which booted from power off to a C: prompt in seven seconds. Great for running WordPerfect 5.1 and Banner Blue Movie Guide.
  • DSL and Puppy (Score:5, Informative)

    by steveha (103154) on Thursday July 17 2008, @09:21PM (#24236821) Homepage

    Take a look at DSL and Puppy Linux. Both are tiny and would boot quickly from a CompactFlash. DSL is probably better for all-around appliance use; Puppy is intended for use as a desktop OS.

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

    http://www.puppylinux.org/ [puppylinux.org]

    steveha

  • HIBERNATE (Score:4, Informative)

    by Idiomatick (976696) on Thursday July 17 2008, @09:24PM (#24236855)

    Any OS with hibernate should be quick enough. I doubt systems vary too much between them. Anything that uses minimal ram and hance has less to load on boot. Just go with whatever OS suits you best.

    • Re:Splashtop (Score:5, Insightful)

      by rtechie (244489) * on Thursday July 17 2008, @09:04PM (#24236661)

      Un, no. Splashtop requires new hardware. He specifically wants to repurpose old hardware.

      • Re:Splashtop (Score:5, Informative)

        by Sandbags (964742) on Friday July 18 2008, @07:43AM (#24240545) Journal

        All well and good he wants to "save money" and re-use existing hardware, but changing an OS is going to mean a LOT of time, testing, and likely new software. The cost of this will FAR out shadow the costs of a new piece of compatible hardware...

        Of course, before you can ask what OS to run, we might want to know what applications it's being used for... and why exactly would an application appliance be powered off? this obviously isn't a database that gets regular attention, or any kind of security device, backup system, or other management system. so...

        I'm assuming we're talking about legacy apps here then. In that case, I'm CERTAIN you have idle space and CPU time on existing servers. Throw a VM in there, and use that. When idle (hibernate, wake on LAN) it should use no more energy that the host would be when idle by itself, and if that host is a machine that DOES have to be on 24/7, then you're effectively using 0 additional power. It will wake on LAN in 15-30 seconds, maybe faster, and can auto hibernate again when idle. Simple, clean, and as a bonus, you can move the old hardware to your DR or testing lab.

    • Re:Splashtop (Score:4, Informative)

      by cavtroop (859432) on Thursday July 17 2008, @09:04PM (#24236663)

      While that looks neat, there is no download for it.

      "Splashtop is bundled with motherboards, desktops and notebooks by their manufacturers.
      Currently, it is available with products from the following manufacturers:
      Notebooks
      ASUS
      Motherboards
      ASUS
      Desktops"

      So, unless you buy an ASUS machine, with this loaded, you look to be SOL.

    • Re:Splashtop (Score:5, Insightful)

      by maeka (518272) on Thursday July 17 2008, @09:05PM (#24236671) Journal

      http://www.splashtop.com/ [splashtop.com]

      There you go.

      What part of the questioner's desire to re-purpose old, existing, hardware did you not understand?

      • Re:Splashtop (Score:5, Informative)

        by Lumpy (12016) on Friday July 18 2008, @07:04AM (#24240213) Homepage

        I disagree.. he wants a complete OS/environment.

        http://www.qnx.com/ [qnx.com]

        you can get it's complete kit free nfor non commercial use. is INSANE FAST at booting if you do it right and is small.

        • Re:Splashtop (Score:5, Insightful)

          by negRo_slim (636783) on Thursday July 17 2008, @10:24PM (#24237293) Homepage

          I don't know, how about the part where it's a stupid idea and he should just invest in a PC that isn't more than 10 years old?

          Don't feed the trolls but...

          There are those of us that like old cars, old planes, old trains, old things, for whatever reason. I myself enjoy having old rigs, there is nothing like launching Win 3.11 again to bring me straight back to middle school and my first computer. And when that software is running on the hardware of it's era it becomes so much sweeter. Or sometimes I like to overclock the old stuff, much trickier then it is now. Or sometimes I need a fan, or a case to mod as a rough draft... Yeah when you see something as irrelevant due to it's age and no other criteria you're really limiting yourself to that everything is disposable Wal-Mart style economy, and I pity you.

            • Re:Splashtop (Score:5, Informative)

              by negRo_slim (636783) on Thursday July 17 2008, @10:33PM (#24237343) Homepage

              Can you afford the extra electricity to power the old PC, and the extra air conditioning to get rid of the massive amounts of heat that old thing is going to put out?

              The old things don't put off heat... Listen to yourself. I can't tell you how many Pentiums/K6/Cryix based systems I've seen with no fan but the one in the PSU. Oh and the PSU's, when's the last time you've opened an old computer and found anything higher then 250-300watts max? Can't say that I have, ever. In fact when I received 6 Pentium D's a few weeks ago from an office upgrading all there kit all they came equipped with mere 250w PSU, and those are somewhat modern systems based on an architecture that was known for reaching up to 115 W in 3.6-3.8 GHz Prescotts. So yeah I think your point is moot and your talking out your ass. But we'll never know :) He didn't specify the hardware.

                • Re:Splashtop (Score:5, Insightful)

                  by bonehead (6382) on Thursday July 17 2008, @11:13PM (#24237641)

                  You do realize that simply having a PSU capable of supporting 250W is not the same thing as actually drawing 250W, right?

                  Or are you still learning?

                • by hailukah (1270532) on Thursday July 17 2008, @11:14PM (#24237649)
                  And a newish VIA mini-ITX board costs how much?

                  Look, it seems most people here would just like to see the guy get a new computer, so why not chip in and send him a crisp twenty.
    • by wb8wsf (106309) on Thursday July 17 2008, @09:26PM (#24236867)

      Older machines are often built better than newer faster stuff. I have several of the white Dell Optiplex machines doing infrastructure stuff for me. Most have uptimes measured in the span between upgrades of my op system (OpenBSD).

            It takes almost no more time to install on a 500MHz Dell than some 2.xGHz box. Yes, the disk may take longer to format--but how often are you going to be doing that?

            Given the various quality problems with new systems, I'll stick with the older slower systems when I can, which is most of the time.