Home |
RTTarget-32 Programming Manual Running Win32 Programs without Win32 Running a Program on the Target Booting from the CPU Reset Vector Program UefiDisk Compiling and Linking with On Time RTOS-32 |
Program UefiDiskProgram UefiDisk may be used to maintain the EFI System Partition on an UEFI removable bootable disk from Windows. It supports these command line arguments and options: UefiDisk [Options...] DiskNum [File...] Options/uXUnmount drive X: All drive letters Windows has assigned to partitions on the target drive must be unmounted using this option. /C[n]Create a new GPT partition table on the target drive with an 'n' MB EFI System Partition (default: 64MB). This option will erase all existing partitions on the target drive. /32Copy the 32 bit boot loader (BOOTIA32.EFI) only. This option may be used if the target has a 32 bit UEFI. By default, both the 32 bit and 64 bit boot loaders are copied. /64Copy the 64 bit boot loader (BOOTX64.EFI) only. This option may be used if the target has a 64 bit UEFI. By default, both the 32 bit and 64 bit boot loaders are copied. /waitInstructs the program to wait for keyboard input if an error is encountered. /yYes. Ask no questions. /vVerbose. This options tells the program to display on the screen what it is doing. ParametersDiskNumThe disk number of the target drive. The easiest way to determine the disk number is using the Windows Disk Management Console. In Windows, right click on "Computer", then "Manage", then "Disk Management". The right-lower pain then displays all disks with their respective disk number, starting at 0. File[=Name]A file to copy to the EFI System Partition directory \EFI\BOOT\ on the target drive. The optional [=Name] specifies what name the file shall have on the target disk. Typically, these parameters may be used for boot .ini and bootable .rtb files. Program UefiDisk must be executed with adminstrator privileges. UefiDisk can only be used with removable disks with a GPT partition table with exactly two partitions. The first partition must be a regular Data Partition and the second the EFI System Partition. Option /C[n] may be used to create such a disk layout. Unfortunately, it is not possible to access an EFI System Partition under Windows on non-removable disks or on disks with a different partition layout. RTFiles-32 demo program Partdemo can be used to create arbitrary GPT partition tables with an EFI System Partition, and demo program RTFCmd[MT|USB] can maintain files on the EFI System Partition.
|