Clonezilla restore MBR disk to 4TB disk (convert to GPT) -- LINUX (not Windows!)

Solution 1:

Lots of experimentation and trial and error. However here is a tested working solution when restoring my Ubuntu 14.04 MBR image to a 4TB disk:

This should also work if you're just trying to convert a bootable Ubuntu OS disk to GPT (just skip step 1), however in that case ensure you have a backup!!!!

  1. Restore the image like normal with clonezilla. Ignore the error about GPT needed.
  2. Boot into the restored system, the disk is currently MBR so it's 2TB max
  3. Run gdisk <disk> example: gdisk /dev/sda
  4. gdisk will give you a warning that it's MBR and will automatically conver to GPT. Type w and press enter. Confirm the write operation
  5. Go back into gdisk (like in step 3 above)
  6. Type p to print your partition table, the first partition should start on sector 2048 (this is default setup, if yours is different the rest of the steps won't be exact for you)
  7. Type n for a new partition.
  8. When prompted for first sector, choose the lowest number you can (which is probably 34) last sector is 2047 in my case. (right before the start of primary partition) -- Essentially start: 34, end: 2047.
  9. When prompted for the type, choose ef02
  10. p to verify the new partition layout
  11. w to write changes
  12. At the shell: sudo partprobe ignore the warning about the new partition created
  13. At the shell: sudo grub-install <disk> example: sudo grub-install /dev/sda
  14. Reboot, you should be good to go.
  15. Use gparted or any other partition utility to expand over the now available free space. I personally booted to Ubuntu Live CD and used gparted for easy partition growth. Now that the partition is resized, use LVM to extend the LV/FS across the partition like normal.