Currently I am using a 320gb hard disk on my laptop. I have a newer 500gb one. I decided to migrate the 320gb HDD and its contents into the 500gb one.
Problem is that my 320gb HDD has multiple partitions in it, with bootable OS in each of them.
sda1 primary Windows ntfs
sda3 primary Linux ext4
sda2 extended
L sda5 logical Linux ext4
sda4 primary Linux ext4
I planned to use my desktop mobo with 2 sata connectors and a Lubuntu 14.04 USB drive to boot from and do the clone.
I planned to just use Gparted to create partitions on the new 500gb drive to the size that I want that's larger than the current partitions in 320gb and just do dd to each partition. That would preserve the files and OSes right? But then the boot would be screwed? How to fix the boot from here, can i just restore the grub from the USB boot will do ?
Or
Second option is to dd if=sda of=sdb, do it to the whole drive, not individual partitions, then resize the partitions using Gparted?
Will any of these work ?
p.s. I might not be able to reply in few hours until tomorrow again. Thanks