4 ms·
Hey folks. The excellent "FreeBSD on Firecraker" post from yesterday (https://news.ycombinator.com/item?id=37253035 https://news.ycombinator.com/item?id=3725303
by jmmv 3y ago
Hey folks. The excellent "FreeBSD on Firecraker" post from yesterday (https://news.ycombinator.com/item?id=37253035 https://news.ycombinator.com/item?id=37253035) made me remember the pain I went through many years ago to make NetBSD Multiboot-compliant (aka bootable natively via GRUB), so I dug this post of mine from the archives. I did not have to play the "hlt" trick that Colin describes--it wouldn't have made sense in my context anyway--but I did play have to play other tricks to debug issues. If I remember correctly, poking directly into video memory to draw a single character on the top-left corner of the screen was one of them. In any case, it was a fun experience!
- deleted 3y ago[deleted]
- rjsw 3y agoDoing the reverse, getting the native NetBSD bootloader to load a multiboot kernel, wasn't particularly hard, it worked first time.