Hacker GitHub

← All repos

fosslinux/live-bootstrap

View on GitHub ↗ ★ 764 Shell

An attempt to provide a reproducible, automatic, complete end-to-end bootstrap from a minimal number of binary seeds to a supported fully functioning operating system.

41 mentions on Hacker News by 21 people: 4 stories, 37 comments · first 2021-02-01 · latest 2026-04-19

Mentions per year 41 mentions · busiest year 2024 (13)
20082026
  1. …kernel) and build from source instead. https://bootstrappable.org/ https://lwn.net/Articles/983340/ https://github.com/fosslinux/live-bootstrap https://stagex.tools/
  2. …to tinycc ~c99 compiler, from simple shell to scheme interpreter to Fiwix unix-like kernel. https://github.com/fosslinux/live-bootstrap/blob/master/part...
  3. …build time or making it more unattended (by automating the image creation steps, for example). https://github.com/fosslinux/live-bootstrap/ Other efforts around the same problem are trying to make it more architecture independent or…
    comment by alganet · 2025-10-24 · in Reasoning is not model improvement
  4. …https://bootstrappable.org/ Actual project capable of bootstrapping Linux system from scratch: https://github.com/fosslinux/live-bootstrap
  5. …code, they build up to a Linux distro. https://bootstrappable.org/ https://lwn.net/Articles/983340/ https://github.com/fosslinux/live-bootstrap/blob/master/part... https://stagex.tools/
    comment by pabs3 · 2025-05-20 · in Edit is now open source
  6. …C compiler at least once, I doubt their chance against a backdoor hidden in the 100s of steps of https://github.com/fosslinux/live-bootstrap/blob/master/part...
  7. …do this today I am aware of is via hex0 building up to Mes and tinycc on up to a modern c compiler: https://github.com/fosslinux/live-bootstrap/blob/master/part... As far as I know Gentoo, even from their "stage0" still assumes you bring…
  8. It is sort of like that. It's been documented: https://github.com/fosslinux/live-bootstrap/ (This is an alternative to the Guix/Scheme thing).
  9. …parser generators, bash and so on. https://bootstrappable.org/ https://lwn.net/Articles/983340/ https://github.com/fosslinux/live-bootstrap/blob/master/part...
    comment by pabs3 · 2025-02-18 · in Ask HN: Language After Python and C?
  10. Worth checking out https://github.com/fosslinux/live-bootstrap which starts from a handwritten hex bootloader and later a Scheme interpreter that implements a C compiler that compiles tcc Full steps on…
  11. …the same (this is why any useful system bootstrapping project should also be reproducible [1]). [0] https://github.com/fosslinux/live-bootstrap [1] https://bootstrappable.org/best-practices.html
    comment by maxdamantus · 2024-08-27 · in Writing a Rust compiler in C
  12. …may not necessarily compile or be able to compile further programs on these architectures. [1]: https://github.com/fosslinux/live-bootstrap
    comment by ryan77627 · 2024-08-27 · in Bootstrappable Builds
  13. …amounts of items there are just repeatedly rebuilding auto-stuff and their dependencies[1]. [1] https://github.com/fosslinux/live-bootstrap/blob/master/part...
    comment by fuhsnn · 2024-08-26 · in Writing a Rust compiler in C
  14. …a way to build a C compiler without having C compiler binaries yet. https://bootstrappable.org/ https://github.com/fosslinux/live-bootstrap/
    comment by pabs3 · 2024-08-26 · in Writing a Rust compiler in C
  15. ▲ 53
    Bootstrap a Linux system from a 512 byte binary seed with 170 steps
    story by chubot · 2024-08-25 · 9 comments
  16. …I learned a lot about system calls and ELF. [1] https://github.com/FransFaase/Emulator/ [2] https://github.com/fosslinux/live-bootstrap/
  17. …yes, it all feels very orthogonal from that perspective! Thanks for writing this blog entry! [1]: http://github.com/fosslinux/live-bootstrap
    comment by alganet · 2024-07-10 · in Towards Idempotent Rebuilds?
  18. Yes! You can see the full path here: https://github.com/fosslinux/live-bootstrap/blob/master/part...
  19. …the final state of the VM it made. I may still have the image it made lying around somewhere. [1]: https://github.com/fosslinux/live-bootstrap
  20. …the information [2]. For this, I wrote a C program to parse and process the output of strace. [1] https://github.com/fosslinux/live-bootstrap [2] https://fransfaase.github.io/Emulator/
  21. …source when you don't have any binaries for compilers, kernels etc. https://bootstrappable.org/ https://github.com/fosslinux/live-bootstrap/ https://bootstrapping.miraheze.org/wiki/Stage0
  22. ▲ 2
    Automated Bootstrapping from Source
    story by fanf2 · 2024-05-26 · 0 comments
  23. …bootloader and a little bit of source code and building all the way up to a complete linux distro https://github.com/fosslinux/live-bootstrap (checkout the builder-hex0/fiwix work)
    comment by z29LiTp5qUC30n · 2023-08-02 · in Bored? How about trying a Linux speedrun? (2020)
  24. …which uses about a KB of binary to do a full "Linux from scratch" style thing - read https://github.com/fosslinux/live-bootstrap/blob/master/part... for all 143 steps you have to go through to get there.
    comment by fosslinux · 2023-05-25 · in SectorC: A C Compiler in 512 bytes
  25. …Also higher-level languages like Ocaml are getting bootstrapped. https://github.com/oriansj/stage0 https://github.com/fosslinux/live-bootstrap/ https://www.fiwix.org/ https://github.com/Ekdohibs/camlboot I'm not aware of any…
  26. It's possible to bootstrap GCC starting from only a 357-byte binary seed: https://github.com/fosslinux/live-bootstrap
    comment by movq · 2022-08-20 · in Zig is now self–hosted by default
  27. …its way up to modern GCC for C++... It's a fascinating read: https://github.com/oriansj/stage0 https://github.com/fosslinux/live-bootstrap/blob/master/part... Even if no one is "using" this it should still be a primary motivator for…
    comment by ludocode · 2022-05-17 · in Common libraries and data structures for C
  28. …Assembly and C have working code good enough to bootstrap GCC+Guile+Linux for more than a year now. https://github.com/fosslinux/live-bootstrap https://github.com/oriansj/stage0-posix It is time for Lisp and FORTH to either deliver or…
    comment by pabs3 · 2022-05-03 · in A minimal C compiler in x86 assembly
  29. …https://github.com/oriansj/stage0 https://ekaitz.elenq.tech/hex0.html https://bootstrappable.org/ https://github.com/fosslinux/live-bootstrap/blob/master/part... > Which makes me wonder if programs written to be deliberately obfuscated are…
  30. …languages that were written in other languages etc. Some details here: https://bootstrappable.org/ https://github.com/fosslinux/live-bootstrap/blob/master/part... https://github.com/oriansj/talk-notes/blob/master/live-boots... Edit: some…
  31. Comparing to https://github.com/fosslinux/live-bootstrap your pseudo minimalistic arch pacstrap or Debian debootstrap are over fat of binary seeds and still you cannot get rid of Linux env in building the crusial packages.
  32. …the awarness of this serious problem will grow and we will see more support into the projects like https://github.com/fosslinux/live-bootstrap , https://niedzejkob.p4.team/bootstrap/
    comment by smartineng · 2022-02-06 · in Reproducible Builds in January 2022
  33. …one of the repos listing the bootstrapping steps in order, from "stage0" to "gcc 4.7.4" and beyond: https://github.com/fosslinux/live-bootstrap/blob/master/part...
  34. …plus all the source code. I think they have had some success already: https://bootstrappable.org/ https://github.com/fosslinux/live-bootstrap/blob/master/part... https://github.com/oriansj/talk-notes/blob/master/live-boots...
  35. https://github.com/fosslinux/live-bootstrap is another approach, bootstrapping from a tiny binary seed that you could hand-assemble and type in as hex. But it doesn't address the dependency on the underling OS being trustworthy.
  36. …minimal binary seed up to tinycc then gcc 4 and beyond.[1] [0] https://www.bootstrappable.org/ [1] https://github.com/fosslinux/live-bootstrap/blob/master/part...
  37. See this doc for how the full process works: https://github.com/fosslinux/live-bootstrap/blob/master/part... In particular, this the very first step: https://github.com/oriansj/stage0-posix/blob/master/x86/hex0... (or its hand-edited…
    comment by Aissen · 2021-05-04 · in Bootstrapping from Hex to Bison to GCC
  38. ▲ 103
    Bootstrapping from Hex to Bison to GCC
    story by z29LiTp5qUC30n · 2021-05-03 · 19 comments
  39. If you like well-documented bootstrap processes, I can recommend this: https://github.com/fosslinux/live-bootstrap/blob/master/part... The steps go from a binary seed of a few hundred bytes to (almost) gcc. It is still being actively…
  40. …code binary seed), proceeds through a ton of layers and eventually reaches non-interactive bash. https://github.com/fosslinux/live-bootstrap/blob/master/part...
  41. ▲ 3
    Live-bootstrap: Use of a Linux initramfs to automate the bootstrapping process
    story by dane-pgp · 2021-02-01 · 1 comment