Jorge Correia
Jorge Correia
Hey guys, I had the same problem, and @caioaletroca is right. I wasn't using a cross-compiler, so my GCC was generating code for x84_64 architecture and elf64 format. So, our...
Try to translate the os-image to el-torito format before use dd: [El-Torito](https://wiki.osdev.org/El-Torito)
Does your PC use EFI or BIOS? Are you using GRUB? Can you describe your hardware?
It can be a alternative, but it isn't a solve to this specific problem. I think we can do a little more research before change the approach.
I think the problem is before that. I have been reading a few things and el-torito should be our solution. It defines three types of boot: hard disk emulation, floppy...
Or we can write our boot_sector directly on a hard drive (if anyone has a spare HD).