I have a working dual-boot setup (Ubuntu 12.10 and Win7) on my laptop.
I got a 320GB HDD with partitions for
winsys and a big
windata partition. There's more than 250GB space occupied overall.
Now I bought a 250GB SSD which I will put in my Ultrabay, and I want to migrate all the partitions except the big data partition onto the SSD, enlarge them in a controlled manner according to SSD space, leave
windata on the HDD, and expand it to the whole size. I want to avoid a fresh installation of both Ubuntu and Windows.
I read quite much already, but I'm unsure what the best way to accomplish this is?
- Clonezilla disk-to-disk clone is out, because the target disk is smaller.
- Clonezilla partitions-to-partitions (omitting the data partition) seems to be a way, but I can only enlarge the partitions proportionally (even if I can), and I don't know if this will create proper SSD partition alignment. Also, what about the boot sector/boot loader, especially w.r.t. dualboot?
- The sanest way seems to be to use GParted from a live cd, create the partitions on the SSD as desired, then copy the HDD partitions into the new ones, and expand the data partition on the HDD. This seems to me the most uncomplicated way - GParted can do proper alignment, but I don't know if the boot loader can be copied, too? Also, if this works, why does everybody seem to recommend Clonezilla?
- my boot partition is the first partition (sda1), where the windows system resides on.
Will doing this purely in GParted work? Can I safely drop the extended partitions setup (which I don't need anymore because now I only got 4 partitions per disk)? Or should I keep that around anyway if I want to further subdivide in the future (for a scratch disk etc)
Bonus question: my /home is still ext2 - can I make the new /home ext4, and copy the ext2 partition over, and it won't break?
I'm aware that I'll have to rewrite the /etc/fstab to adjust the UUIDs, and that I'll probably need a Windows rescue disk to "repair" the confused windows boot system. Any further pitfalls?
fdisk -l output:
Disk /dev/sda: 320.1 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x80d2f3ee Device Boot Start End Blocks Id System /dev/sda1 * 63 104856254 52428096 7 HPFS/NTFS/exFAT /dev/sda2 184538655 625137344 220299345 7 HPFS/NTFS/exFAT /dev/sda3 104856255 136311524 15727635 83 Linux /dev/sda4 136311649 184538654 24113503 5 Extended /dev/sda5 148890420 184538654 17824117+ 83 Linux /dev/sda6 136311651 148874354 6281352 82 Linux swap / Solaris Partition table entries are not in disk order