I have already made images of hard disk partitions.
How can I find out from which areas it is left to make images so that a complete disk image can be assembled from all the resulting files?
Use fdisk to get disk information:
mint@mint ~ $ sudo fdisk -l /dev/sdb Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xf3d7eaf1 Device Boot Start End Blocks Id System /dev/sdb1 * 2048 524290047 262144000 7 HPFS/NTFS/exFAT /dev/sdb2 524290048 1953521663 714615808 7 HPFS/NTFS/exFAT Only the initial area is not copied - these are 2048 sectors with the size of 512 bytes. Multiply, we get the size of 1 MB.
We copy:
ddrescue -d -s 1048576 -v /dev/sdb sdb-1M.img sdb-1M.log If you wish, you can make sure that further information is already copied:
ddrescue -d -s 1048576 -v -i 1048576 -o 0 /dev/sdb sdb-M2.img sdb-M2.log ddrescue -d -s 1048576 -v /dev/sdb1 sdb1-1M.img sdb1-1M.log Source: https://ru.stackoverflow.com/questions/506488/
All Articles
sudo cp /dev/sda /путь/к/файлу). - aleksandr barakin