I am trying to move elementary OS from primary HDD to external HDD. So, I can boot elementary OS from external HDD and install Windows 10 on primary HDD.
Hewbot on super user stackexchange suggested me to use this command:
$ dd if=/dev/sdX of=/dev/sdY bs=64K conv=noerror,sync
However, after a quite long time of copying the command fails. Saying no space left. I guess its like cloning the disk to another disk even the free space.
My Primary HDD is larger and external HDD is smaller but the data is very less on Primary HDD.
dd
does an exact copy, it doesn't extract the data. So your problem is not surprising, it's obvious behavior. – Julie Pelletier May 06 '16 at 17:59/home
as well? The second disk is smaller than the first so you can't just copy the whole thing. – Gilles 'SO- stop being evil' May 07 '16 at 18:33