Partitioning 500 GB internal drive (5 partitions) to dual Windows and Ubuntu

multi-bootpartitioningUbuntuwindows 7

I have 500 GB internal drive in my laptop and want to make clean install of Windows 7 and Ubuntu (12.04, when it releases on 23rd April 2012), I've planned following layout.

  • Windows Partition (50 GB)
  • Ubuntu Partition (20 GB)
  • Rest of available space divided in 3 equal partitions, which will be available in both OS.

During Windows installation, it doesn't allow me to create these 5 partitions partitions, and after installation completes, I need to "extend" the rest of Unallocated Space to create additional partitions.

How can I perform such partition scheme (5 partitions, of which 2 for OS installs) before I install any of the OS (like using Gparted instead)? such that I can dual boot and have 3 drives common for both operating systems.

Best Answer

For general help on using GParted, see their help page.

To accomplish the partition scheme you describe, you'll probably want to create two primary partitions - one for Windows and one for Ubuntu, formatted for NTFS and ext4 respectively. Then create an extended partition and inside it four logical partitions, one (1-2 GB) for Ubuntu's swap area, and the three shared partitions (probably formatted as FAT, or NTFS if you need to share large files). Then proceed to install Windows and Ubuntu on their respective partitions. During Ubuntu's installation process, make sure to choose the manual/advanced option when it comes to partitioning the disk, and specify mount points for the existing partitions.

An alternative method (as also described by @Craztech) would be to install Windows on a blank drive and create only a 50 GB partition, leaving the rest of the drive unused. Then, when installing Ubuntu, create the remaining partitions during the installation process. This might be a bit quicker. The only difference will be that Windows will create two partitions, one ~100 MB for boot files, and then the 50 GB partition you specify. If you install Windows on an existing partition (that you created with GParted), the 100 MB partition won't be created, and you'll be able to create a third primary partition later, should you so desire (MBR disks are limited to 4 primary, or 3 primary + 1 extended partitions).

Related Question