Adalbert Hanßen wrote:
I want to replace my hard disk by a SSD and therefore I want to clone
the Windows-10 partition of my double boot computer using ntfsclone.
I tried to do so, basically using the command
sudo ntfsclone --save-image --output
W530_sda2_Windows-10-System_2019-09-24.ntfsclone /dev/sda2
I encounter these messages
ntfsclone v2015.3.14AR.1 (libntfs-3g)
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 104857595904 bytes (104858 MB)
Current device size: 104857600000 bytes (104858 MB)
Scanning volume ...
100.00 percent completed
Accounting clusters ...
Space in use : 36123 MB (34,4%)
Saving NTFS to image ...
100.00 percent completed
Syncing ...
ERROR(27): fflush: Die Datei ist zu groß
After it, there is a file
-rw-r--r-- 1 v v 4294967295 2019-09-24 09:58
W530_sda2_Windows-10-System_2019-09-24.ntfsclone
Does this file really contain an image on which I might rely?
Probably not. The output appears to be stuck at 4GB,
you probably used an output file system which is limited
to 4GB, such as vfat.
What is wrong here?
The expected output size is around 36GB, and you need
an output file system which supports such size. This means
virtually anything except vfat.
How to proceed?
If you are storing into a USB key (factory formatted as vfat),
reformat it as ntfs (or ext4, etc.).
You can also reduce the output size by compressing the output,
however as most Windows 10 system files are already
compressed, the compression rate will not get under 50%.
sudo ntfsclone --save-image --output - /dev/sda2 | gzip > sda2.clone.gz
As you target restoring to a SSD, remember to partition
the SSD with the same size as the original (204800000 sectors)
Jean-Pierre
Kind regards
Adalbert Hanßen
_______________________________________________
ntfs-3g-devel mailing list
ntfs-3g-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel