DEV Community

Discussion on: Writing My Own Boot Loader

Collapse
 
frosnerd profile image
Frank Rosner

Have you tried dev.to/seanld/comment/1fi4k? It's a shame that noone submitted a pull request to fix it, yet.

Collapse
 
retrocomputers profile image
RetroComputers

Yeah i have fixed that but i get this message
"nasm mbr.asm -f bin -o mbr.bin
make: nasm: Command not found
make: *** [Makefile:18: mbr.bin] Error 127"
and i haven't found how to fix it.

Thread Thread
 
retrocomputers profile image
RetroComputers • Edited

I fixed that by putting nasm to path variable but i got another error message that say " cannot perform PE operations on non PE output file 'kernel.bin'." Somehow the make file did run without errors but the screen flickers and start over.

Thread Thread
 
frosnerd profile image
Frank Rosner

Yeah welcome to OS development :D Dealing with stuff that doesn't work as expected was my daily routine when I wrote this series :)

Thread Thread
 
retrocomputers profile image
RetroComputers

Yeah, i will try to troubleshoot it but thanks for responses.