partclone.ntfsfixboot - deals with braindeadness with moving NTFS filesystems.

partclone.ntfsfixboot [-w] [-h n] [-t n] [-s n] [-b] [-f] [-p] {DEVICE}

partclone.ntfsfixboot is NOT a part of Partclone project but included to fix ntfs boot issue. Partclone provide utilities to backup used blocks and design for higher compatibility of the file system by using existing library, e.g. e2fslibs is used to read the used block of ext2 partition.

Partclone.ntfsfixboot deals with braindeadness with moving NTFS filesystems. writted by Orgad Shaneh (2009) and Daniel J. Grace (2006).

The program follows the usual GNU command line syntax,a summary of options is included below.


Write new start sector to the partition.

-h num

Specify number of heads per track. If omitted, determined via ioctl.

-t num

Specify number of sectors per track. If omitted, determined via ioctl.

-s num

New start sector to write. If omitted, determined via ioctl.


Proceed even if the specified device is not a partition.


Force the operation to occur even if device does not look like a valid NTFS partition or values are equal.


Print debug information (values read, values requested etc.


where device points to an NTFS partition

The following diagnostics may be issued on stderr:

partclone.ntfsfixboot provides some return codes, that can be used in scripts:

Code Diagnostic
0 success (values are correct, or changed successfully)
1 a change is needed, but -w was not specified
2 an error occured

Report bugs to or

Report bugs to upstrem

partclone(8), partclone.chkimg(8), partclone.restore(8), partclone.dd(8),

Yu-Chin Tsai <>

Copyright © 2007 Yu-Chin Tsai

This manual page was written for the Debian system (and may be used by others).

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 or (at your option) any later version published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.

10/04/2023 partclone.ntfsfixboot