Currently I have both Windows XP and Windows 7 installed as dual-boot. I've been wanting to remove my XP installation for a long time (was waiting to buy an external HDD to backup the data) to get some more space in my Windows 7 partition, since I'm running out of it.
Here are the partitions I have in my drive:
/sda1 - Primary - Windows XP - 150GB /sda2 - Extended --/sda5 - Logical - Data - 99GB --/sda6 - Logical - Windows 7 - 50GB
They are shown like they are physically ordered in the HDD (from the left to the right, i.e sda1 comes first, then sda2, etc).
I backed up all of my data, and used GParted (from an Ubuntu LiveUSB) to try and:
- Delete the whole partition that has Windows XP
- Make my Windows 7 partition a primary one, so my system can boot from it
- Extend the Windows 7 partition (that has 50GB) with the 150GB unallocated space left by the deleted Windows XP partition, so my Windows 7 partition ends up with 200GB
However, I tried using GParted and couldn't figure out how to do it. I'm not really sure how to change the
sda6 partition into a Primary one, and put it in such a way so it can be extended with the space left from
sda1 (after deletion).
I'm fine with leaving
sda5 as a logical partition.
As far as I've tried, the only thing I can do after deleting the
sda1 partition is extend
sda2, which is not exactly what I want.
EDIT: I also have the Windows 7 installation disk, so if the MBR table gets modified I can repair it from it.