I just finished a massive ordeal of setting up my OS to use GrUB Legacy on a flat HDD image instead of a CD iso. The solution is not ideal, but it's satisfactory for now.
My OS now boots successfully on Bochs and on real hardware. Unfortunately, on VirtualBox, where it used to work, I'm getting an error: VirtualBox failed to open session:
I don't know what this could be, and the references online only reference professional OSes.
The kernel still has everything linked into it, but for testing purposes I changed it to only write a single line of text in text mode and then hang. The VMDK is created with this shell script from the flat disk image:
Code: Select all
#http://stackoverflow.com/questions/454899/how-to-convert-flat-raw-disk-image-to-vmdk-for-virtualbox-or-vmplayer
qemu-img convert -O vmdk build/moss-disk.bin ../VM/MOSS-disk-flat.vmdk
Thanks,