
20 May
2018
20 May
'18
6:55 p.m.
On 21/05/18 00:24, Russell Coker via luv-main wrote:
You have to be careful when using dd on disk images as matching UUIDs cause problems.
Also for RAID configurations using the DOS partition table you can use "dd if=sda of=sdb bs=1024k count=10" to copy the partition table and boot loader configuration to a new disk. But that causes big problems with GPT.
There are methods to change the UUID of volumes, create new UUIDs with the uuid tool (or some other equivalent). tune2fs /dev/{device} -U {uuid} cryptsetup --uuid {uuid} /dev/{device} - be careful, may need to adjust /etc/cryptab file and probably recreate initrd as well. I've not tested either of these though.... Cheers A.