Ahh i see Mario79. That is a very clever way of loading the kernel. Although i would like to attempt to load kernel without using DOS if for anything just to learn how to do it.
I believe the problems that most people are having is that the Sector and Head counts in the partition header (in the data area of bootsector) are not correctly set by the format program. I found a bios call (int 0x13, ah=
which gives correct Cylinder, Head, and Sector counts and seems like it will allow me to create my own bootsector to load the kernel directly from a fat16 formatted USB Flash device.
Please check my updated posts here.... http://menuet.2.forumer.com/index.php?showtopic=1112&st=15&#entry7271
Hopefully i will have time to finalize this project later tonight while most of you will be sleeping. At this point i have implemented the new bios call and it made it possible to navigate to root directory entry. but i did not have enough time to create code to search root directory for file and load file into memory.