I am able to compile my sourcecode into a kernel.bin file (1.1MB), but am having trouble converting it into an .img file I can run on VMWare.
I have an old .img file created from the same sourcecode in 2004, and am able to boot from that file using VMWare, so I know that my kernel/sourcecode is bootable. But, now I don't remember how I made that .img file. I've tried the following:
Code: Select all
dd if=kernel.bin of=frodos.img
This creates an .img file size 1.1MB, but nothing happens when I boot it in VMWare. I see that my old .img file is exactly 1.44MB.
I see from my notes that I used to use partcopy like this:
Code: Select all
partcopy -f0 0 1680000 disk.img
Any pointers? What am I forgetting?