Fast-Booting Text-Editor Operating System?
cgenman writes "What is the fastest booting operating system out there that is still sufficient for editing text? Quite frequently, I'll need to boot my laptop and edit a few lines of text, or jot down an idea or two. XP loads in roughly 4 minutes to usable, and Ubuntu loads in about 60 seconds. Both feel like an eternity if there isn't a pen and paper around. What is the best operating system that people have found which would load to useable in under 20 seconds, can edit text files in something a little more friendly than VI or EMACS, yet can still access fat32 formatted USB drives? GUIs aren't required, but commands which require arcane foreknowledge or a cheat sheet are out."
You could go with a straight BusyBox, or add a slightly more robust text editor to the enviornment.
Then compile that into your initramfs, and just don't bother to do a switch_root to a real file system. As long as you've got the hardware and filesystem drivers compiled into the kernel, life is good.
See http://www.linuxfromscratch.org/ for more details.
This use-case is one where I would not recommend emacs.
Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
My laptop never shuts down, I always just put it to sleep. Flip open, hack away. Less than 5 seconds. Oh, that's under Ubuntu, by the way.
Most modern O/S support suspend to disk which can give you a usable desktop in under 20s. Per your example both XP and Ubuntu can do it in that time. And that's ignoring the even faster suspend to ram which almost all laptops feature these days (granted that for that there is a power requirement).
It's not in the 'spirit' of your question, but perhaps it's a better solution to your problem?
Windows in 6 Bytes (IA-32) : 90 90 90 90 CD 19
How about DOS?
Windows Vista Ultimate. Just get a sharpie and write on the screen.
Aren't you more likely to have your cellphone in your pocket than be lugging around a laptop? I just jot notes on my iPhone.
We don't have a state-run media we have a media-run state.
I think you're asking the wrong question here. Any decent laptop with Linux or XP or OSX should be able to go into suspend mode and resume in about 2-8 seconds. I think my laptop hasn't been 'rebooted' in about two months, I just leave it constantly in suspend mode and activate it for 5-30 minutes at a time.
Even if you get a near instant booting OS just the Power on Self Test is going to take longer than resuming from a suspend.
I think the people saying to use hibernation/sleep features are probably closest to right for most practical purposes now. I thought I'd add a historical side-note...
In the 1980's, MIT Lisp Machines were often used in demos for visitors from funding agencies. Probably mostly people from (D)ARPA. And things would often go wrong. Things had to reboot.
Now instruction times were a lot slower then, but you'd be surprised how little boot times have changed over the years. Seems like every time someone speeds up the hardware, they also slow down the speed of booting of both at least the operating system and maybe also the programs. So normal booting was a process of 30 seconds or a minute, as I recall. And that was inconvenient for these demos.
So someone worked out a way that you could do something called instaboot. You'd load up everything you needed and would save the image, kind of like going into standby mode on your computer. But it was intended to be restarted multiple times. When you started, it would just pull in the pages that you needed first to let you run, pulling in other things you needed on demand.
You could save it in whatever state you wanted, for example with the editor already loaded and started. Even with files loaded ito editor buffers if you wanted, though that obviously ran the risk that if you later edited them on two subsequent occasions, you might get a conflict. But that was up to you. Nothing kept you from trying.
The effect was startling. You could reboot the machine and be up and running in about a second, maybe two. The only evidence was that the screen would change and would kind of bounce (some sort of sync pulse or degaussing thing or something, I never quite knew what that was).
So demos were always loaded and saved, then booted into. When the demo went bad, you just hit reboot. It was so fast, people would notice something had happened but often wouldn't know what. "Just garbage collecting," we would say. Well, it was sort of true. Rebooting is a particularly efficient way to garbage collect.
For some reason, that feature was not carried forward into later models of the Lisp Machine. It was only there on the CADR at MIT (and perhaps the LM-2 and the TI Explorer and LMI Lambda, I'm not sure, since I never used those, though they were repackaged variants of the same thing). It didn't go into the Symbolics 3600 nor later series machines.
Kent M Pitman
Philosopher, Technologist, Writer
Whenever I run Vista my computer gets a fast boot to the main screen.
In fact, one time I kicked my monitor clear across the room, and I am generally a very calm person.
Slashdotter, ID #101. UIDs are in binary, right?
Are you saying that you were able to alter the boot time by putting the machine in motion?
That's quite a kick you got there.
"We are Microsoft. You shall be assimilated. Competition is futile."