I am migrating my Ubuntu EFI boot system to a larger hdd. I used the command
dd if=/dev/sdb of=/dev/sda
I did not dismount the input file before copying and the output file was fresh unpartitioned space. I have successfully booted from the new larger hdd.
fdisk -lreports:GPT PMBR size mismatch
gdiskreports the old drive size (200GB) andPMBR is reporting the new hard drive size (2TB).
The error states gdisk w (write) command will work, however gdisk help recommends command xe (relocate backup to end of disk).
My goal is to remove the old drive and use the new drive as a primary boot disk with my old grub install intact.
Shall I just go ahead an expand the partitions or should I use one of these commands?