|
Bootable CDs Page 2 Back to Bootable CD article page 1 If the CD is set to boot as the C drive, it replaces the normal hard disk drive C, and has no size limit other than that of the CD itself. However, the source drive image must have only one partition. This partition must be both the first entry in the partition table and a standard DOS partition. Creating The Image Most current CDR publishing packages are capable of reading a floppy disk and creating a boot image from it. With the appropriate menu choices made, they will automatically "inject" it into the CD image. With this method it is extremely easy to make a bootable CD. Some of the more advanced packages like Nero can create a bootable CD from any disk image, and allow fine-tuning of parameters such as the emulation type and start-up message. The basic process for making a bootable CD from a floppy disk is as follows:
Larger Images If you wish to create a larger, hard disk type image, there are a few more things to do. You will need to choose and size your source image hard disk carefully. A program such as PowerQuest's Partition Magic is very handy for tasks like this. Create and test your image in the same manner as the floppy image procedure detailed above. When you are happy with it, use a program like Norton's DiskEdit or PowerQuest's Drive Image to read the drive and create an image of it in a single file. At this point, if your CDR publishing software supports disk file images, you can simply select the appropriate file and it will automatically create the correct boot records. If your software does not support hard disk images, it is still possible to create them if you are willing to delve into image files and boot records with a hex editor. This is not as difficult as it sounds, and Phoenix Technologies have an excellent guide on how to do it on their Web site at www. ptltd. com. It should be noted, however, that in most cases the floppy disk image method is sufficient because drivers can be loaded that allow the rest of the CD to be mounted in the DOS session. Tips * A rewriteable CDR drive is an extremely useful tool when experimenting with bootable CDs. Although your test CD-RW may be unusable in some standard CD drives, it can be used on the mastering system if the CD-RW drive is set as the primary CD, and this is enough for general test purposes. If you are planning on making a variety of bootable CDs, or just experimenting, CD-RW has the obvious advantage of media cost. If you don't have a CD-RW, any failed experiments can be used as multi-session backups. * When making hard disk image CDs, an old hard disk drive around 650 MB in size makes a useful addition to your mastering system. As hard disk images have certain partitioning requirements, detailed above, it's much easier to have a whole disk to use for your layout if you are doing this type of work. * Under Windows NT, you will need to have administrative rights if you are creating hard disk images (this requires access to all disk sectors). * It is possible that you will encounter older CDs that start to boot, fail immediately and hang your system. This is because there was no initial standard for the first few sectors of CDs and, although unlikely, some may contain a correct "validation entry" without any of the other required boot files. CDR Software Until fairly recently, bootable CDs had to be made manually with a combination of low level tools. Utility programs such as BOOTISO and DISKIMG were used to read bootable disks and write images to disk files. These disk images were then hex edited and manually added to the CD layout. It has now become much easier, with many current CDR writer software packages able to make bootable CDs from a floppy disk image, a hard disk or an image file. Notable software packages are Easy CD Creator, WinOnCD, CDRWIN, HyCD and Nero. The latter is an extremely powerful tool that offers complete control of the CD writing process, and can create bootable CDs for many platforms. It can also create "oversized" CDs which can be used to gain a small amount of copy protection. Many of these programs can be evaluated before purchase, and this is advisable due to the wide variation in CDR drivers and hardware. Back to Bootable CD article page 1 The Author Matt Jones is a software developer and can be contacted as matt. jones@itp-journals. com. Further Reading El Torito Bootable CDROM Format Specification. BIOS INT 13 Specification, including extensions. Enhanced Disk Drive Specification. ATAPI Specification. ISO 9660 Specification.
Did you like this article? Click here to get hundreds more practical tech support guides just like this one.
Copyright © International Technology Publishing, 2000 |