# Command: bootfix

      BOOTFIX is a boot sector testing and fixing tool.

## Syntax:

      BOOTFIX [/d] [drive]
      BOOTFIX [/?]

#### [Main menu] [top] (Syntax) [Options] [Comments] [Examples] [See also] [File]

## Options:

      drive  The drive letter you wish to check and possibly fix, e.g. C:
      /d     Displays information on screen about the boot sector,
             including a hexidecimal readout.
      /?     Shows the help

#### [Main menu] [top] [Syntax] (Options) [Comments] [Examples] [See also] [File]

## Comments:

      The boot sector and the master boot record (MBR) are very important
      parts of the FAT filesystem. They are created by fdisk and sys.
      If something is wrong with the boot sector, the whole partition
      cannot be read. If something is wrong with the master boot record
      the OS (FreeDOS) cannot boot at all.

#### [Main menu] [top] [Syntax] [Options] (Comments) [Examples] [See also] [File]

## Examples:

      bootfix c:
      bootfix /d c: >dump.txt  Will dump the information to a file called
                               dump.txt

#### [Main menu] [top] [Syntax] [Options] [Comments] (Examples) [See also] [File]

## See also:

      chkdsk
      dosfsck
      fdisk
      sys

#### [Main menu] [top] [Syntax] [Options] [Comments] [Examples] (See also) [File]

## File:

      Please read this command's lsm file also.
      You will find the updated version (internet) here and
      the version described in this manual page here.
      The lsm file contains information about the name of the programmer,
      the download site, and some other command related information.

#### [Main menu] [top] [Syntax] [Options] [Comments] [Examples] [See also] (File)

      Copyright © 2004 Robert Platt, updated 2008 by W. Spiegl.

      This file is derived from the FreeDOS Spec Command HOWTO.
      See the file H2Cpying for copying conditions.