MBRtool version 1.10, user
manual, HTML version. Manual revison 4
|
The contents of this
document:
General information
|
General
information.
|
This documentation accompanies MBRtool
version 1.10.
People who are already familiar with MBRtool can skip to the "Changes" part of the manual, if you like. However, please check the function descriptions for an explanation of the new functions.
|
Files currently in the
distribution :
MBRtool.exe - the program, version
1.10
|
This document assumes the reader to have
some knowledge concerning harddisks and the like. You should know what
the Master Boot Record is and what Partition Tables are. We also assume you know how to make
a bootdisk and have at least working knowledge of Win9x and real mode
environments.
For info on harddisks and recovery check the DIY DataRecovery (http://www.diydatarecovery.nl) pages. This site contains information on harddisk recovery and assorted info.
|
Copyright, disclaimer,
permission and distribution notices.
This program is conceived and coded by Tom Kuurstra. All the Information and/or Programs supplied by us (DIYDataRecovery) are AS IS. Use of this Information and/or Programs is at your own risk. We can not and will not be held responsible for any damage that is inflicted by the person and/or persons using the Information and/or Programs we supply. You may not include (parts of) this program in your own code and/or programs. Please check below for redistribution notices. You, as the user, are not permitted to:
This program is distributed as Freeware. You are free to use and distribute this program, as long as you comply with the above mentioned rules. We also ask that you supply us with feedback on what has gone right and/or wrong. Also, any suggestions for changes or improvements are welcome. Contact information can be found at the end of this document.
|
Program description.
MBRtool allows you to do the following things:
MBRtool supports the first 4 harddisks it finds on the controller (any type). Backups can be made from the MBR to sector or to file. MBR Backups to sector: MBRtool can be left to
auto-select a target sector for the backup or MBRtool can be forced to
use a sector, no matter what it contains. Use /S
to let the program auto-select a target-sector from the range 2 - 10 or
enter /S:x (where x is the
sector) to force the program to write the backup to the selected sector. MBR Backups to file: MBRtool places the file containing the
MBR backup in the current folder. If the file already exists it will be
overwritten. Use /F without a filename to use the default filename
(MBR_BACK) or use /F:filename to enter a filename to be used for the
backup. The maximum length for the filename is 8 characters. Do not enter the extension.
The extension is added by MBRtool and will consist of the physical disk
number that contains the original MBR, 128 through 131. If you wish to make MBR backups to file and retain a history of backups, use the following batch-file as an example to achieve this. The example will retain the last 3 backups, but can easily be expanded: if exist mbrback3.128 deltree /y
mbrback3.128 The Backups: The backups are changed so that the program
recognises them as MBR backups. This means that the backups themselves
are not usable, they must be restored using MBRtool. The method: MBRtool uses int13H calls to access the harddisk
through BIOS. This means that the program will NOT run from
Windows NT or Windows 2000 (NT and 2000 prohibit access to hardware). If
you wish to use MBRtool on a system running Windows NT or Windows 2000,
you must use a real-mode DOS boot-disk. If you run into problems running
the tool from Command prompts in Windows 9x or ME, use a real-mode
bootdisk. It is preferred to run MBRtool from a real-mode bootdisk.
|
How to use.
MBRtool is command-line operated. The program runs in real-mode DOS or a Command prompt in Windows 9x or ME. The options that are not related to manipulation of sectors or MBR's (like editing a backup-file) can be performed from Windows NT/2000. - The command line MBRtool without any arguments will display the help-screen and the
copyright notice. /X:y - select the operation to be performed,
where y is the selected
operation
/F - select a file
as target or source for a backup, the program will use the default
filename Note : Please note that MBRtool assumes the first disk to be disk 0, the second disk 1 etc. - The options for /X The possible operations (and arguments for /X) are : B - perform a MBR
backup. R - restore a MBR
from a previously made backup. V - verify a backup
against the original MBR, or validate a backup. H - check target
sectors. L - list the sectors
that contain a backup. Z - remove the
backups from the backup sectors. X - backup up the
entire track 0. Y - restore the
entire track 0. O - wipe entire track
0. A - write a blank
MBR-backup file. D - display the MBR,
either original or backup. E - edit the MBR
Partition Tables, either for the original or a backup. W - wipe the MBR,
either the original MBR or a backup. P - blank the
Partition Tables, either in the original MBR or a backup. C - blank the
bootcode, either in the original MBR or a backup. M - write/refresh the
bootcode, either in the original MBR or a backup. S - write the
signature bytes for the MBR. P - change attribute
for partitions that are listed in the MBR, either in the original MBR or a backup. - The Partition Table editor When the /X:E option
is selected the Partition Table editor is displayed. Each Table consists of 4 entries, making up the Partition Tables. The entries contain, from left to right (as is also displayed in the blue top-bar) the 10 following values :
The following options are valid when in the editor (as displayed in
the menu-bar): When you choose to edit one of the entries, you will be asked to
enter the values for that entry. The program will ask you to enter a
value for each of the 10 values that make up 1 entry. Press 'Enter'
without typing any value to leave that value unchanged. When you have entered the C/H/S values for start and end entries, the
program will calulate the LBA values for the last two fields that make
up the partition table entry. You will still be allowed to edit these
last two values, in case the calculations might be incorrect. This could happen
due to the information that the BIOS returns to MBRtool for disk
geometry. This information can be different for some BIOS's and might
change the outcome for LBA calculations. When performing edit functions
you should check the LBA calculations if you think your BIOS might
return illogical values for your disk geometry. The edit screen displays
the values that are used for LBA calculations at the 3rd line from the
top. If these values are incorrect, calculate the LBA yourself and enter
the values in the appropriate fields. The formula for calculating LBA
addresses is : LBAsector = ((Cyl * DiskHeads) + Head) * DiskSectors +
Sec - 1. The values you enter are checked for consistency. You are allowed to enter more than 1023 cylinders, to correctly calculate the LBA address. However, you are not allowed to enter values higher than your disk geometry for cylinders, heads or sectors.
|
Run
errors or program notifications In
a normal MBRtool run all the messages displayed are notifications. The
program informs you of the operation that has been requested and what
the result is. If the displayed message starts with a '-'
(as in '- Backup NOT written to sector')
it means that something has gone wrong and that the operation was not
completed (or aborted). This usually means that MBRtool could not get to
the necessary resources (the backup-sector, the backup-file or the MBR)
to complete the action. Check to see if the backup-sector or backup-file
are not corrupted (by displaying them) and check to see if you have
selected an existing disk for the operation. If a situation occurs that MBRtool can not handle, the program will abort with an error message. Please send the message with the error codes to us (see contact information) and we'll get back to you as soon as we can. Please observe our "E-mail notification" notice, this can be found on the web-pages. Check the information at the end of this document.
|
Tools used in
creating MBRtool and other copyrights that need mentioning.
MBRtool was created using Powerbasic for DOS, version 3.5. I would like to thank Mel Bishop for pointing me in the right direction when i was looking for Int13H info on the Powerbasic forums. All mentioning in the text of "win9x/DOS " refers to MS-Windows, (c) Microsoft Coorporation.
|
Known issues
for this version.
Nothing yet...
|
Changes
since the previous version, and what to do with backups from previous
versions.
Changes since version 1.01:
Changes since version 1.00:
What to do with old backups: Backups made to sector can always be restored,
regardless of the MBRtool version. These do not contain MBRtool specific
info (except for the signature byte changes, see Program Description).
|
Contact information.
DIYDataRecovery : website : DIY
DataRecovery , (http://www.diydatarecovery.nl) Currently, the distribution point for MBRtool can be found here. (http://www.diydatarecovery.nl/~tkuurstra/DIY_Tools.htm). Check our webpages for current info on MBRtool.
|
The
E-mail support notification.
We receive a lot of E-mail requesting support in one form or another. To make things a little easier on us we ask you to give us as much information as possible, so that we can help you quicker and do not have to guess at things. Datarecovery is an exact science. When you have a question concerning datarecovery please include the following things:
If these things are not included in the support request you will not receive an answer. Also, problems that are not related to serious datarecovery (like messed up boot files for instance) will not be addressed. Check your local bookstore for a dummies-guide on that. How to make a Partinfo log file: Partinfo is a tool that
is part of the Powerquest PartitionMagic suite. The Partinfo tool can
be downloaded from the Powerquest FTP site from here. Thanx for complying.
|
Enjoy. |