Git Product home page Git Product logo

Comments (5)

tyler569 avatar tyler569 commented on June 14, 2024

It's a good question! I believe it should be possible, after stripping all binaries the complete distribution I ship today fits in less than 1MB. The kernel is ~120k stripped, and the init filesystem is ~800k with all binaries stripped.

I imagine the biggest challenge will be the boot protocol, I currently only support multiboot2. I don't currently have plans to support anything else, but I'd be happy to take a look at what would be needed if you can point me to the relevant documentation.

from nightingale.

informer2016 avatar informer2016 commented on June 14, 2024

@tyler569 Is this "multiboot2" boot protocol compatible with the floppy images? If you could create a floppy that will be bootable in QEMU (which also uses a coreboot+SeaBIOS internally) or VirtualBox, no extra adjustments needed to try to launch it on the real hardware from this BIOS. I'll be happy to test ;)

from nightingale.

tyler569 avatar tyler569 commented on June 14, 2024

Multiboot 2 is how the OS learns about things like memory maps, ACPI information, the display, etc. I don't boot directly off BIOS, I use grub2 to collect that information for me because it's a lot more convenient than doing all of the BIOS initialization manually. I don't believe grub2 can fit on a floppy, it has a lot of functionality and is probably much larger than my OS, but if you know of another multiboot2-compatible bootloader that you would recommend I can give it a try.

from nightingale.

informer2016 avatar informer2016 commented on June 14, 2024

@tyler569 Interesting to know if there's a good reason for using GRUB2 and not GRUB 0.97 like https://github.com/mikaku/Fiwix/

from nightingale.

tyler569 avatar tyler569 commented on June 14, 2024

I rely on features of GRUB2 that are not present in legacy GRUB 0.97, including multiboot 2 support.

from nightingale.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.