bin on bootable cd
Posted: Mon Dec 29, 2008 10:58 am
Welcome
Actually I am writting bootloader. It consists of 2 parts. Bootsector and kernel.
After compiling two files to .bin I merge these files to one file ( prog.bin).
When I want to check how this file works I use fdimage to record this file on floppy.
To do it I do
It works fine, after restarting computer my program is running from floppy.
Now I want to record my program on CD. It means, after restarting computer my program should run from CD.
I tried some conversions to .img and then to .img but these doesn't work. It maybe I do something wrong.
Can somebody tell me what should I do to boot CD with my program
I maybe should consider that bootsector in CD is in 17 sector and not in 1 ( like in floppy).
Thanks in advance
Actually I am writting bootloader. It consists of 2 parts. Bootsector and kernel.
After compiling two files to .bin I merge these files to one file ( prog.bin).
When I want to check how this file works I use fdimage to record this file on floppy.
To do it I do
Code: Select all
fdimage -f 1.44M prog.bin a
Now I want to record my program on CD. It means, after restarting computer my program should run from CD.
I tried some conversions to .img and then to .img but these doesn't work. It maybe I do something wrong.
Can somebody tell me what should I do to boot CD with my program
I maybe should consider that bootsector in CD is in 17 sector and not in 1 ( like in floppy).
Thanks in advance