I have designed my custom bootloader (which showy my name only.) using assembly language and compiled it using NASM. Now I want to install it in USB.But not able to find any way for burning it. I have tested using different utilities like ISOtoUSB, Universal USB,rufus. Error is coming 'image is not bootable.'
But when I run the same on oracle virtual drive, it works perfectly.
I am doing some college project and strucked, I want to load that bootloader to usb and when I boot from usb, my bootloader should work.
Any idea please?
Here is my code:
[BITS 16]
[ORG 0x7C00]
main:
mov ax, 0x0000
mov ds,ax
mov si, string
call print
jmp $
print:
mov ah,0x0E
mov bh,0x00
.nextchar
lodsb
or al,al
jz .return
int 0x10
jmp .nextchar
.return
ret
string db 'Welcome to the Amul Bhatia Operating System Now Installing....',0
times 510-($-$$) db 0
dw 0AA55h


55 AAat the end of your sector.