Cloning NTFS filesystem to new partition using ntfsclone

Here you'll find a place for solutions and hints.

Please use one of the support subforums below for questions or if you have any issues and need support.

Cloning NTFS filesystem to new partition using ntfsclone

Postby andre999 » Dec 12th, '15, 09:59

Suggestions for cloning an NTFS filesystem to a new partition using ntfsclone.
Since ntfsclone syntax doesn't distinguish between an output file or output partition,
the output partition must be created before cloning. Otherwise ntfsclone will create a file instead of a new partition.

So statements like
Code: Select all
# ntfsclone -output /dev/sdc1 /dev/sda1

or
Code: Select all
# ntfsclone -restore-image -output /dev/sdc1 /pathto/imagefile

will attempt to create a file in /dev/ called sdc1.
(Note that the last item in the line is the source filesystem.)

Instead
1) Create the output partition. (/dev/sdc1 in above example.)
It must be large enough to hold the filesystem.
2) according to source, use
Code: Select all
# ntfsclone -overwrite /dev/sdc1 /dev/sda1

or
Code: Select all
# ntfsclone -restore-image -overwrite /dev/sdc1 /pathto/imagefile


The need to explicitly create the target partition was omitted from the ntfsclone man page, which contains other useful info.

Hope this helps others that were blocked by this issue.
andre999
 
Posts: 17
Joined: Jun 7th, '11, 08:11

Return to The magician suggests...

Who is online

Users browsing this forum: No registered users and 1 guest

cron