Page 1 of 1

cd usage and image making

Posted: Wed Feb 06, 2008 4:04 pm
by suthers
i am booting my OS of a cd instead of a floppy.
Firstly I would like to ask if i get the boot drive number of the dl reg when i boot can i use the same way as floppies to load stuff of my cd?
Secondly i would like to ask i do i lash my kernel code onto the end of the image i tried to use partcopy to copy them onto a virtual floppy, but partcopy keeps saying that it cant find the source file whatever i do...
Thanks in advance,
Jules

Re: cd usage and image making

Posted: Wed Feb 06, 2008 4:25 pm
by Brynet-Inc
suthers wrote:Firstly I would like to ask if i get the boot drive number of the dl reg when i boot can i use the same way as floppies to load stuff of my cd?
This has been posted countless times... is searching the forum really that hard? ;)

http://en.wikipedia.org/wiki/El_Torito_ ... tandard%29

According to the specification, if no emulation is used.. drive numbers will be unaffected, so DL is probably undefined.

1) If you're using floppy emulation, Your CD-ROM will become drive 00.... additional drives will be incremented by 1.
2) If you're using hard drive emulation, Your CD-ROM will become drive 80.. additional drives will be incremented by 1.

Posted: Wed Feb 06, 2008 4:33 pm
by suthers
Thanks (sry about not searching the posts i will do so before doing anything in future), still cant make the image though, i cant get the image to contain my boot loader followed by my kernel, what program can i use to do this?
Thanks in advance,

Jules