Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
I chose the fat12 filesystem for my os to run on becaouse it was easy. So I wrote a bootloader which would boot to a file called init.bin, I found out that in fat12 it would be INIT BIN so in the filename string I wrote
now there was no root dir error, only the file not found error, so I mounted /dev/sda6 and copied the init.bin file and run qemu again and it still said file not found, I said huh and changed the filename to what the bootloader is searching for: INIT BIN. I run qemu again and it still could not find the file. How do I make the bootloader load to init.bin???
huh wrote:I chose the fat12 filesystem for my os to run on becaouse it was easy.
Apparently not.
So I wrote a bootloader which would boot to a file called init.bin, I found out that in fat12 it would be INIT BIN...
How did you come to this conclusion?
...so...
...some ad-hoc trial-and-error following which I couldn't quite follow...
How do I make the bootloader load to init.bin???
FAT would be a good starting point. There are several links to further information included. GRUB would be another option, and Bare Bones could give you a jump start. However, I'd also check if you really, really meet the Required Knowledge.
Every good solution is obvious once you've found it.
any chance of actually seeing more source than just one db instruction?
That would help a lot in diagnosing the issue. I've got working FAT32 in C so i could probably help you out with FAT12.