Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: ASM Ubuntu
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]
Posted 25-Nov-12 1:34am
Edited 25-Nov-12 1:36am
(no name)69.5K
Richard MacCutchan at 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 at 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)

  Print Answers RSS
0 OriginalGriff 685
1 Maciej Los 290
2 Richard Deeming 185
3 Suvendu Shekhar Giri 184
4 Abhinav S 166
0 Sergey Alexandrovich Kryukov 9,678
1 OriginalGriff 9,135
2 Peter Leow 5,082
3 Kornfeld Eliyahu Peter 3,373
4 Maciej Los 2,606

Advertise | Privacy | Mobile
Web01 | 2.8.150327.1 | Last Updated 25 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100