by TheSaint » Fri Dec 14, 2018 5:08 am
You may find clonezilla useful or partimage. So you should clone the old to the new. But one care must take to copy the u-boot.
So for better reference, you should look at the old partition table$this->bbcode_second_pass_code('', '$ sudo fdisk -l')
Then should copy the first sectors (the first gap before the first partition) to the new HDD, by dd. That's the u-boot . Later you may copy the partitions by gparted.
If the new HD is larger you may resize your partitions, but perhaps will be necessary to keep the same UUID. So better you take note before you get started$this->bbcode_second_pass_code('', '$ ls -lF /dev/disk/by-uuid')