Currently, the only supported stage2 is for EXT2 filesystems. So when testing on real hardware, I write stage2 to the first 2 sectors of the partition (reserved area for VBRs) and then put stage3 on the filesystem. I added an entry to my GRUB2 configuration file to chainload this partition, but when I attempt to do so, I get an "Invalid signature. Press any key to continue..." error from GRUB2. My configuration entry for my OS is posted below. I'm completely lost with this error, and would be grateful for any help. All of my bootloader stages work in Bochs, but I'd like them to run on real hardware too.
Code: Select all
menuentry "DarkSide OS" {
insmod ext2
insmod chain
set root='(hd0,msdos3)'
chainloader +1
}