The hardware compatibility list shows a promising number of machines ( http://www.menuetos.net/hwc.txt ). If you have a spare one, you could try and report. There is a chance that you will achieve a very fast boot time.
--
AROS (Amiga) could reboot in ~7s, ~15yrs ago. And you can do more than you can with MenuetOS. Again, today you will probably break that record.
https://www.youtube.com/watch?v=_yNIuNnBrWg
Edit:
You can see here a recent AROS booting in 3s (it is not clear if it is bare metal though):
1.44 MB floppy read times might prevent sub-5-second boots to a GUI, though. I can’t really remember how fast things like that booted from a floppy, anymore.
The virtualbox window is pretty clear to me :D
Anyway: I thought I have here a laptop I have to initialize, maybe I will install IcarOS on it as soon as I will have the time. So, we will see how it behaves on bare metal.
IcarOS seems like a fun thing to play with. Don't go too deep in the obscure OS rabbithole, it's indefinitely deep.
But it's not a practically usable OS, it's more like a study in how far you can get with pure assembly. Though if a text editor is really all you want, it might be good enough.
Is that the kind of experience you'd look for in a distraction-free OS? If not I'd be interested to hear your ideas - I use i3 for work but manage to distract myself anyway because I always have a web browser open.
(You can add such bars in XMonad, just like you can remove them from i3.)
[1] unless you start it from emacs which is also totally possible
a) Boot with all bells & whistles. Or b) Boot straight into editor & type away.
Hell you could even use a customized kernel for that, to strip out all the boot-time consuming features that editor doesn't need.
[edit]
And 5 seconds for DHCP if you are using dhcp
Replace nethack with your favourite editor, and it might just work. (Well, also replace the floppy disk with something faster.)
Years ago, I found a bootable USB project on Github with a tiny custom Linux kernel that only launched vi. IIRC, my computer's fan was always running full speed with it, though.
I see a lot of text-editing environments geared towards "distraction-free, focused editing" but not a lot of innovation on an OS focused on the same experience. I would like to see such a "writing OS" that boots to a text editor in less than a second. Maybe this OS is a candidate?