Name
BootSectImage.exe Options Filename
Synopsis
BootSectImage.exe [-m] [-d | -v] -p <FileName>
BootSectImage.exe [-m | -f] [-d | -v] –g <DestFile> <InputFile>
BootSectImage.exe –h
BootSectImage.exe --version
Description
The BootSectImage tool prints information or patch destination file by source file for BIOS Parameter Block (BPB) or Master Boot Record (MBR). If the parser option is specified, this tool will parse the content of input file with Filename and print BPB information to screen. If patch option specified, this tool will patch BPB information in dest file using data from input file, or MBR if –m option specified.
Options
If no options are specified, tool prints usage.
-p, --parse
Tool will parse input file with Filename.
-g, --patch destfile					
Tool will patch destfile with data from input file.
-f, --force
	Force patch even if FAT type of SrcImage and DstImage mismatch.
-m, --mbr
	MBR will be processed if specified.
--version
	Print version and copyright of this program and exit-v, --verbose
Turn on verbose output with informational messages printed. This is a count value, so specifying –vv can be used to increase the verbosity level.
-q, --quiet
	Disable all messages except FATAL ERRORS
-d, --debug [#]
	Enable debug messages, at level #
-h, --help
	Print copyright, version and usage of this program and exit
Status codes returned
-1	Options value invalid or options conflict.	
0	The action was completed as requested.	
1	Debug option value invalid.	
Example
1. c:\Tools\BootSectImage.exe –p loader.data
BPB information from loader.data will be displayed on screen.
2. c:\Tools\BootSectImage.exe –g Dest.data loader.data
BPB information in Dest.data will be patched by loader.data BPB.
Bugs
No known issues
Files 
None.
See also
 None.
License
Copyright (c) 1999 - 2011, 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.