Click here to Skip to main content
15,789,776 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have used the following code to make boot loader.::

[BITS 16]
[ORG 0x7C00]

mov ax,0x0000
mov ds,ax

mov si,string
call print
jmp $

mov ah,0x0E
mov bh,0x00

or al,al
int 0x10
jmp .nextchar
string db 'Assalam-o-Alekum',0
times 512-($-$$) db 0

now i am told to run it in my virtual machine Ubuntu
Please tell me how to do it.
All i know is that i am supposed to burn it into an iso image file and then load it in the virtual machine. i have made an iso image file of this code but i don't know how to load it and run it in my virtual Ubuntu. please help

[edit]code block added[/edit]
Updated 25-Nov-12 1:36am
Richard MacCutchan 25-Nov-12 15:18pm    
I don't see anything there that looks like a bootloader. Are you sure that's what it is supposed to be?
SM_AsimHaroon 26-Nov-12 7:29am    
Actually i am also not sure about this. I need help. there is one more thing.
We all know that we have a booting file in windows xp that is in the C:\ drive and its name is boot.ini
Their must be a booting file in ubuntu can you tell me the name and location of that booting file for ubuntu.
I want to alter that boot file in such a way that it would first display a .jpg image file and some text then run the ubuntu os.
can you help me with this??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900