Re: What makes a CD-ROM bootable?



Scottman wrote:
I am wondering what makes a CD bootable, and more specifically, if it
is possible to write some kind of boot sector that will load another
program (also on the CD-ROM) into memory and run it (all without an
OS).

I opened my master boot record in a HEX editor, but the task of
translating the hex into x86 assembly language seems daunting. Is
there a utility that would do this for me? I was thinking then I
could figure out how it loads an OS and alter it to load one of my
programs.

Does this seem feasible?

A CD rom to be bootable needs a boot sector. Googling for "format boot
sector cd-rom" gave a lot of hits, the first one seems rather promissing,
from IBM soem specidication for something they call "El Torito" bootable
CD-ROM format Specification.

A bootable device (floppy, CD-ROM, DVD, Hard Drive, USB drive, etc...) can
load anything arbitrary that you want. As to what you want it to load,
that's up to you. There are a number of utilities out there to write boot
sector (Linux has a few, etc...) if you just search for them, but you're
going to have to figure out what you want to load.

A bootable CD is great, but only if it boots something useful, such as an
operating system. If you have some program you wrote you wish to boot to,
that's fine, but be aware that your program won't have access to any OS
utilities unless you put include them somehow. Writing an OS is a daunting
task but writing something simpler may be more easily accomplished.

--
Jim Langston
tazmaster@xxxxxxxxxxxxxx


.



Relevant Pages

  • Re: What makes a CD-ROM bootable?
    ... is possible to write some kind of boot sector that will load another ... a CD-ROM is made bootable. ... present a menu of floppy images to boot from. ...
    (comp.programming)
  • Re: Moving beyond "Tutorial: Building and Deploying a Run-Time Ima
    ... NTFS boot sector is created from Windows XP/2000 and it know that it should find and load piece of ntldr. ... Same goes for FAT boot sector created from Windows XP/2000 code in boot sector will also try to find and load piece of ntldr. ...
    (microsoft.public.windowsxp.embedded)
  • Re: AIX 5.1L on a 43P Model 150 - cannot install!!!
    ... Same thing, I tried to boot the system, hitting the F5 key to load the ... OS from the CD-ROM and the same error 518. ...
    (comp.unix.aix)
  • Re: Winxp cd wont boot
    ... I created a winxp-sp2 Home cd from a winxp home cd and an sp2 cd ... it will load in a cd-rom, but it won't boot ...
    (microsoft.public.windowsxp.general)
  • Re: Cant install DVD-rom, system wont boot? Help???
    ... so the Primary IDE slots hold my 2 hard drives; ... Master and the second one is the slave to the master. ... want to leave it and change the slave cd-rom to a DVD-rom (not a dvd ... It won't boot into windows.. ...
    (microsoft.public.windowsxp.help_and_support)