Show HN: A toy bootloader written in C++

Yes, this includes the MBR and partition boot sector. The partition table is modeled as a class hierarchy. Second stage loads a kernel from a FAT32 file. I’m normally a C programmer, but for a work project, I recently revisited C++, a language that I had an on-again-off-again relationship over the years. I did this as a fun training exercise on the side to get familiar with the language again, but obsessed a bit and kind of overshot the target. I thought the result might be of interest to someone.
Story Published at: April 7, 2023 at 11:03PM