Re:GNU Hurd 0.9, GNU Mach 1.8, GNU MIG 1.8 Released
by gravypod on Sunday December 18, 2016 @07:32PM
(#13208611)
I know this is a bit off topic but is there anything to read about how to implement a microkernel? Like a real booting system for x86.
[ Parent
| on HN ]
Re:GNU Hurd 0.9, GNU Mach 1.8, GNU MIG 1.8 Released
by lobster_johnson on Sunday December 18, 2016 @07:52PM
(#13208697)
Andrew Tannenbaum's Minix [1] was pretty much made for this purpose. The current version is no longer a "teaching OS", but there is a lot of documentation on earlier versions around, including the original 1987 book [2] that Tannenbaum wrote on operating systems (which comes with the Minix source code).
[1] https://en.wikipedia.org/wiki/MINIX
[2] https://en.m.wikipedia.org/wiki/Operating_Systems:_Design_an...
Re:GNU Hurd 0.9, GNU Mach 1.8, GNU MIG 1.8 Released
by hyperpape on Sunday December 18, 2016 @08:56PM
(#13208956)
Minix3 is designed to be usable as a real system, but the core of it is still only supposed to be 6kLOC.
Re:GNU Hurd 0.9, GNU Mach 1.8, GNU MIG 1.8 Released
by gravypod on Sunday December 18, 2016 @09:02PM
(#13208985)
I have the book but I haven't finished it yet. Will I come out having written a full kernel by the time I'm done?
Re:GNU Hurd 0.9, GNU Mach 1.8, GNU MIG 1.8 Released
by lobster_johnson on Sunday December 18, 2016 @09:10PM
(#13209012)
No, it's not a tutorial, which I don't think would make sense. Rather, it's a walk through the design and implementation of Minix. Minix is tiny, so you can actually follow along. In theory, by the time you're done you'll not just know Minix, but you'd be able to write your own kernel if you wanted to.
Re:GNU Hurd 0.9, GNU Mach 1.8, GNU MIG 1.8 Released
by ChickeNES on Monday December 19, 2016 @02:19AM
(#13209996)
This is the best source of OS development info/tutorials: http://wiki.osdev.org/Main_Page
Re:GNU Hurd 0.9, GNU Mach 1.8, GNU MIG 1.8 Released
by witty_username on Monday December 19, 2016 @07:20AM
(#13210934)
Creating a GRUB multiboot image is the easiest way and you can just directly boot from the kernel file stored on your normal filesystem.