EvilZone
General Tech => Operating System => : a323109 August 07, 2014, 01:42:45 PM
-
What's wrong with "dd" ?
I usually use dd to create system back-up pasting one partition from a disk to another partition in another disk. This work well, no need for complicated programs ecc. To make the cloned system bootable i install grub by terminal grub-install /dev/sdd, update grub-2...well...not exactly this way...cloning disks is tricky matter.
One day i decided to copy an entire disk to another not partitioned, the result was a disk seen by gparted as totally unallocated but the system worked well, without even format it in etx4.
Coping a file.iso i get a functioning live
Coping an installed system i get a perfect clone
What is dd not copying?
-
dd is fully capable of cloning files, partitions and whole disks. Not sure why it would show that in gparted. Anyway, this is a helpful page: https://wiki.archlinux.org/index.php/Disk_cloning
-
dd is fully capable of cloning files, partitions and whole disks. Not sure why it would show that in gparted. Anyway, this is a helpful page: https://wiki.archlinux.org/index.php/Disk_cloning
Not even the partition table!
(http://i.imgur.com/PeeYk1Jl.png)
Well /dev/sde is a usb with a live system created copying a file.iso using dd,, maybe the partition table is not present in a live system, im not sure. But this is not the only weird thing about it, gparted sees unallocated space. That is the live i've used to install Utopic Unicorn in another usb. I noticed this behaviour when i experimentally tryed to install systems with 'Kali way of install'. It doesnt really matter, it is almost irrelevant...everything works well so, why bother?
I have another usb not live, it has a installed system inside, copied directly from HD using dd, it's the same: it works fine exept gparted sees unallocated space.
#############################
Edit
#############################
Thought to this: the problem must be bs=
I think appropiate block-size must be in the command line, it should be dd if=/dev/sda of=/dev/sdd bs=512 (or 512x2=1024...or 512x4=2048) until the phisical blocks match the copied block.