Configuring a Hard Disk Drive with the BIOS Boot Loader (Windows CE 5.0)
Use the two formatted floppy disks, the Setupdisk.144 disk image, and the Bootdisk.144 disk image to configure the hard disk drive with an active partition so you can boot a run-time image on a hard disk drive with the BIOS boot loader.
To configure a hard disk drive with the BIOS boot loader
In %SystemRoot%\Program Files\Windows CE Platform Builder\5.00\CEPB\Utilities, run Websetup.exe from Windows Explorer or the command line.
With this utility, you can create boot disk images. You only need to install this utility once on your development workstation.
On your development workstation, insert a floppy disk, and then in %_WINCEROOT%\Public\Common\Oak\Csp\x86\BIOSLoader\DiskImages, run Setupdisk.144 from Windows Explorer or the command line.
This creates a BIOS boot loader setup disk that prepares the hard disk with the BIOS boot loader.
On the CEPC, insert the 3.5-inch floppy disk that contains the Setupdisk.144 disk image, and restart the CEPC.
After the CEPC starts, at the MS-DOS prompt, use the Fdisk utility to delete all existing partition information from the hard disk, and then create and activate a new partition.
When prompted to specify a volume label, press ENTER to specify none for the label.
The volume label must not contain any characters. The volume label must be none.
The BIOS boot loader recognizes FAT12 and FAT16 partitions. The Format utility provided with the Setupdisk.144 disk formats a partition as FAT16.
Restart the CEPC.
At the MS-DOS prompt, use the Format utility to format the hard disk.
When prompted to specify a volume label, press ENTER to specify none for the label.
The volume label must not contain any characters. The volume label must be none.
On the CEPC, run Mkdisk.bat from the Setupdisk.144 boot disk.
Pass Mkdisk.bat the drive letter of the hard disk you formatted in the previous procedure. For example, if the letter of your hard disk letter is C, type mkdisk c:.
Boot the run-time image from the hard disk by copying all of the files from the Bootdisk.144 boot floppy disk to the hard disk, copying the run-time image to the root directory on the hard disk, and then updating the target of the BinFile tag in the Boot.ini file to specify the location of the run-time image.
The Boot.ini file contains the name of the binary image to load. If the binary image is not compressed, use the .bin file extension. If the binary image is compressed, use the .bix file extension. By default, the BinFile tag in the Boot.ini file specifies Eboot.bix as the default binary image, and the BakBinFile tag specifies Eboot.bin as the secondary binary image.
If Microsoft Windows CE 5.0 Networked Media Device Feature Pack is installed, the BinFile tag specifies NK.bin as the default binary image and Eboot.bix as the secondary binary image.
Note There is more than one way to copy a run-time image to a hard disk. For information about a way to copy a run-time image to a hard disk, see Building and Transferring a Run-Time Image to a Hard Disk Drive.
See Also
How-to Topics | Specialized Boot Loaders
Send Feedback on this topic to the authors