Page 1 of 1
CD-ROM not booting
Posted: Tue Aug 07, 2007 1:15 pm
by no_one
Ok, I made a disk image containing only one file: Boot.bin. Boot.asm looks like this:
Code: Select all
org 0x7C00
bits 16
_start:
cli
hlt
times 510 - ($-$$) db 0
dw 0xAA55
I burnt the disk image to a CD and made a virtual machine in Qemu. I inserted the CD, ran the VM and it couldn't boot. It says the same thing it says when you try to boot with nothing in the drive. Is it the bootloader that's wrong?
Posted: Tue Aug 07, 2007 1:24 pm
by sancho1980
try calling an interrupt that prints something to the screen!
edit: i dont think your little piece of code is wrong, but try with a floppy image first. i think booting from cd is still a bit different...
Posted: Tue Aug 07, 2007 1:30 pm
by Brynet-Inc
Please read the following....
http://en.wikipedia.org/wiki/El_Torito_ ... tandard%29
(
After reading, be sure to check out the stuff in the "External Links" section 
)
Using a floppy disk/image for initial testing is "highly" recommended..
Posted: Fri Aug 10, 2007 4:37 am
by kataklinger
You can use floppy disk image to boot from CD-ROM. But it is not enough to burn boot.bin, you have to make full floppy disk image, and then you need to tell to your burning software that you want bootable cd with floppy disk emulation. AFAIK Nero doesn't have that option, Magic ISO has it.