So, here are some basics on partitioning:
But before changing partitions: BACKUP YOUR DATA !!!
No joke: BACKUP YOUR DATA !!!
For MBR disks I would advise "Easeus Partition Master" (freeware; my long time favourite) for Windows – which is far better and flexible than those Windows tools – or GParted for Linux which is (also) approved and robust. But there is a small difference:
Easeus PM does not care about cylinder boundaries, which is generally OK. But there is a little tricky workaround to manage that. The point on that is, that sometimes when resizing/moving partitions a small piece of unallocated space remains between two neighbour partitions.
My experience with GParted is quite small, but as far as I remember, it follows those cylinder boundaries to keep compatibility with some OS's. Nevertheless it accepts partitions that are not placed within these boundaries.
On an MBR disk you can simply add a new partition and decide/select whether it shall be a primary or logical partition. Latter one will automatically be embedded into an expanded extended partition – if possible (read on).
An MBR disk is only capable of carrying 4 primary partitions. The trick is that one of these (only one!) can be an extended partition which itself just serves as a container for logical partitions.
With elder fdisk programs you will have to add an extended partition prior to adding a logical one. But with modern GUI tools like Easeus PM, Windows Volume Manager or GParted you just need to select – while adding – if you want to add a primary (if still available) or logical partition. In latter case the underlying extended partition will ether be added or expanded.
I would advise to use primary partitions just for boot (marked as active), swap and OS volumes. But OS volumes nowadays (since Win2k) don't need to be on primary partitions as long as there is a boot manager (GRUB/BCD) on a primary one which can be quite tiny (~50-100 MB).
On factory-side pre-installed Windows hard disks you most likely already will have such a 100MB partition at the beginning of the disk. Here the Windows boot manager (BCD) and the recovery console resides.
For additional Linux installation the GRUB can be put here too but not necessarily. Be aware, that installing GRUB on this partition will overwrite the MBR (the BCD stays intact and will be called from GRUB). The trouble is in this case you cannot edit the BCD any more unless you repair it (overwrite the MBR again which next time overrides GRUB).
I would recommend to install GRUB to the Linux system partition. But in this case you need to study BCD programming to add Linux to the BCD. This is quite tricky and weird.
I strongly recommend to thoroughly plan changes on partitions before installing new OS's, because it can be quite dangerous changing Windows system partitions – of course unless you REALLY know what you're doing.
Anyway, back to partitioning: you cannot split extended partitions. So if you have e.g. a partitions order P-E-P-U (U=unallocated) you cannot go and add an extended partition in the unallocated disk space. In such a case you can
(complicated way) IF the E partition contains just one L partition, copy that L partition into the U space as a P partition (if it fits), delete the source E/L, move the second P direct next to the first one, transform the copied P into a L (optional: expand E to the left, and move L left, next to the second P) and add a new L into the U space. This will (further) expand E.
(easy way) Transform the last P partition into a L (which again expands E automatically) and add a new L into the U space.
-- Note: copying partitions can take a lot of time, depending on their data size!
-- Note: the system (life) partition(s) (= partitions which are in use by the system) cannot be changed while the system is in use. Changes are being stored as jobs which will be executed during the next boot. Therefore (under Windows) the partitioning program needs to be installed.
-- WARNING: any operation in progress MUST NOT be interrupted or a complete loss of the partition can occur!!!
-- Note: Moving partitions by copying and deleting the source should not be done in a single session. Do this in two session. If something goes wrong while copying you will still have the original partition.
If you want to use new partitions with both Windows and Linux I strongly recommend to format it with NTFS under Windows. Linux is capable of reading and writing NTFS but Windows is not even able to recognize Linux type partitions (reiser, ext2/3/4, etc.) – not even their boundaries. Here you must be careful under Windows: it claims these partitions as (continuously) unallocated space!
Do not believe Windows! Windows is mean! [:smirk:]
If you have a GPT type disk, be careful: you must not change the boot partition (at beginning), the mirror/backup partition (at end) and the Windows partition! On the last point I am not really sure, but I once did that on a system with one big continuous partition and after that the system was damaged and had to be low level partitioned! That was more than just embarrassing …
But I guess if you already have unallocated space it should work without problems as GPT disks don't have this 4 primary partitions limit.
Howsoever, for compatibility reasons I recommend MBR disks as GPT disks are quite difficult to handle. M$ just wants to force users to only use (and buy) their products, so they make things as complicated as can be for that no one will understand how to deal with it. On MBR – of course with a piece of skills and a disk editor – you can edit/adjust the MBR itself if needed. But honestly: DON'T DO THAT AT HOME, KIDS !!! ;-)
Ah, one last thing before you start:
BACKUP YOUR DATA !!!
You will wimp like a sissy if you loose them …