Can't boot .bin
Posted: Sat Nov 25, 2017 2:34 pm
I am attempting to run the file os-image.bin in bochs and im getting the error "FATAL: No bootable device."
my bochsrc.bxrc is this:
floppya: 1_44=os-image.bin, status=inserted
boot: a
and the .bin is in bochs' directory, i think the issue may be to do with the way i created the binary the command i used was: "ar cru ps-image.bin kernel.bin boot_sect.bin"
but i have no idea how else i could create the .bin. "kernel.bin" was created by "ar cru kernel.bin kernel.o kernel_entry.o" and boot_sect.bin was created by "nasm boot_sect.asm -f -bin -o boot_sect.bin"
or is there a way i could convert this non-bootable .bin into a bootable .bin without it affecting the source code?
my bochsrc.bxrc is this:
floppya: 1_44=os-image.bin, status=inserted
boot: a
and the .bin is in bochs' directory, i think the issue may be to do with the way i created the binary the command i used was: "ar cru ps-image.bin kernel.bin boot_sect.bin"
but i have no idea how else i could create the .bin. "kernel.bin" was created by "ar cru kernel.bin kernel.o kernel_entry.o" and boot_sect.bin was created by "nasm boot_sect.asm -f -bin -o boot_sect.bin"
or is there a way i could convert this non-bootable .bin into a bootable .bin without it affecting the source code?