I am using Ubuntu as a virtual machine in VMWare.
I have used this code to write a boot loader which would write Hello world on the screen.
MOV SI, HelloString
MOV AH, 0x0E
MOV BH, 0x00
MOV BL, 0x07
MOV AL, [SI]
OR AL, AL
HelloString db 'Hello World', 0
TIMES 510 - ($ - $$) db 0
I wrote this code in the text editor in Ubuntu and saved the file as Boot.asm
Then i complied the Boot.asm to boot.bin file by using this command
nasm -f bin -o boot.bin Boot.asm
and it didn't gave me any errors. After that i copied the boot.bin file to my usb and took it to my Windows OS. After this i burned the boot.bin file to boot.img and boot.iso files.
Then i created a new virtual machhine and named it booter, when it asked for the .iso file of the OS i want to run i gave it the boot.iso file, about which i told above, then i powered on that virtual machine but it gave me this error
PXE-M0F: No boot filename received
PXE-M0F: Exiting Intel PXE ROM
Operating System not found
Please tell me what is the main problem and how can i over come that problem