partitioning - Unclear about partition tables and copying full disk with dd - Ask Ubuntu
i don't understand how dd treats partition tables when copying full disk.
i backed whole disk (which had multiple partitions) using sudo dd if=/dev/sdb conv=sync,noerror bs=64k | gzip -c > /media/notsdb/backfile.img.gz
now have brand new disk without partition table want put these partitions onto. reverse command should gunzip -c /media/notsdb/backfile.img.gz | sudo dd of=/dev/sdb conv=sync,noerror bs=64k
. make sense , have put partition table onto disk first? (the operation takes 10 hours i'd know before it)
thanks, craig
copy over, use gparted
(or similar) resize / move partitions - dd
recreate old partition scheme, bitwise copy & applies no 'intelligence' operation.
this works if new disk same size or larger!
Comments
Post a Comment