Answer the question
In order to leave comments, you need to log in
How to copy a larger drive to a smaller drive?
There are two drives 128G and 16G. There are two partitions on the disk - boot and data.
How to move one disk to another?
I tried
dd if=/dev/sdBIG of=/dev/sdSMALL bs=64K conv=noerror,sync
But the system, after copying and loading, swears at the corrupted second partition and requires me to fix everything.
# e2fsck -fy /dev/mmcblk0p2
e2fsck 1.43.3 (04-Sep-2016)
The filesystem size (according to the superblock) is 27563520 blocks
The physical size of the device is 845824 blocks
Either the superblock or the partition table is likely to be corrupt!
abortion? yes
if the answer is no then it requires confirmation for each block
Error reading block 1048608 (Invalid argument) while getting next inode from scan. Ignore error? yes
Force rewrite? yes
Error reading block 1048609 (Invalid argument) while getting next inode from scan. Ignore error? yes
Force rewrite? yes
... I
try to resize - it doesn't
work resize2fs -f /dev/mmcblk0p2 845824
resize2fs 1.43.3 (04-Sep-2016)
Resizing the filesystem on /dev/mmcblk0p2 to 845824 (4k) blocks.
resize2fs: Can't read a block bitmap while trying to resize /dev/mmcblk0p2
Please run 'e2fsck -fy /dev/mmcblk0p2' to fix the filesystem
after the aborted resize operation.
What to do?
Answer the question
In order to leave comments, you need to log in
Acronis True Image can do this for sure (if the partition structure allows)
. target disk is smaller
I tried
dd if=/dev/sdBIG of=/dev/sdSMALL bs=64K conv=noerror,sync
But the system, after copying and loading, swears at the corrupted second partition and requires me to fix everything.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question