2 ms·
Except you can write bootloader only if you have something to boot. Bootloaders as we know them came after OSes, because the need of a bootloader is to boot so
by HarlequinHair 20d ago
Except you can write bootloader only if you have something to boot.
Bootloaders as we know them came after OSes, because the need of a bootloader is to boot something.
Following your logic of building a piece only if needed, a bootloader should come after.
I like the recipe analogy and I actually think adding things only if needed will help cutting unuseful features and possibly to have different implementations for solutions you need.
No point in reinvent the whole thing, tho.
Following your analogy, if all cakes need egg, there must be a reason even if we don't know it.
- convolvatron 20d agoin the bad olden times you definitely started to write your operating system for your new computer from the first instruction executed upwards. it wasn't at all common to have a comprehensive virtualization/simulation environment.
- HarlequinHair 20d agoI can't understand what is the point you are trying to make
- convolvatron 20d agountil very recently you couldn't even do OS development without a boot loader, so asserting that that would be the last thing you would write is just nonsensical
- HarlequinHair 20d agoLet me rephrase. We already have a bootloader. "Linux from scratch" involves Linux, not Libreboot, not Grub (just to mention instances of BIOS/UEFI and bootloader). We already have means to test the new OS. What I meant with my previous post is "newer" bootloader (which are actually pretty old, like grub), came after OSes passed a certain complexity. Previously we technically had bootloaders, but they were interactive, mostly. Am I misremembering?
- convolvatron 20d agooh. I'm talking about authoring OS and boot loaders from an absolute blank slate. like starting from the world where you toggled them in from switches, and later by burning proms
- robotresearcher 20d agoYou probably want to use a working bootloader to see if your ‘hello world’ OS-fragment works at all. No one is writing much OS without running it, surely.
- HarlequinHair 20d ago"Linux from scratch" involves Linux, not Libreboot, not Grub (just to mention instances of BIOS/UEFI and bootloader). We already have means to test the new OS. There is real point in writing a new one until the OS is complete, is there?
- robotresearcher 20d agoIf you’re satisfied using a third party bootloader, and one exists, there’s no point writing one ever.