GenBootSector.exe
- Process Hard Drive Boot Sector
GenBootSector.exe [-v | -q | -d] [-m] -i <InputFile> -o <OutputFile>GenBootSector.exe -lGenBootSector.exe -hGenBootSector.exe --version
GenBootSector reads boot sector data of a drive into a file or write boot sector data to a drive from a file, depending on where the drive appear in the options. A drive letter must be specified at -i or -o option because boot sector is related with drives.
If no options are specified, tool prints usage.
-h, --help Show this help message and exit--version Show program's version number and exit-d [DEBUG], --debug [DEBUG]Output DEBUG statements, where DEBUG_LEVEL is 0 (min)- 9 (max)-v, --verbose Print informational statements-q, --quiet Returns the exit code, error messages will bedisplayed-s, --silent Returns only the exit code; informational and errormessages are not displayed-l, --list List disk drives-i INPUT_FILENAME, --input INPUT_FILENAMEInput file name-o OUTPUT_FILENAME, --output OUTPUT_FILENAMEOutput file name-m, --mbr Also process the MBR--sfo Reserved for future use
Return Value | Description |
0 | The action was completed as requested. |
1 | The action failed. |
List information of all local drives.
c:/Tools/GenBootSector.exe -l
Get boot sector data of drive a: and write them to data.com.
c:/Tools/GenBootSector.exe -i a: -o data.com
Update boot sector of drive a: with data from data.com.
c:/Tools/GenBootSector.exe -i data.com -o a:
No known issues.
Report bugs to [email protected]
None.
None.
Copyright (c) 1999 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at:
http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.