In the attached image is my dual boot setup with sda2 being Win10 and sda3 being Ubuntu (sda5+sda6).

just use any Ubuntu live CD installer and boot into it and select “Try Ubuntu” option.

It is an useful method for your partition management. To edit your partitions, you are going to need an Ubuntu live CD or a USB drive. Right-click on the partition you wish to shrink. Once you have installed Windows you can load the Ubuntu installer up, resize your Windows partition (if needed) and create the same partitions as outlined above.

Windows 10 knows more about the last used area of the disk partition.

Because I use most of the time Ubuntu OS I free up some space from the Windows partition and obtained sda4 - 95GB. It is possible to add a swap partition later but this may be too complicated for a first start into the Ubuntu universe. Note: When you load the Ubuntu installer and Windows is installed, you will see 2 partitions already on the drive (only 1 if you use Windows XP). To resize a partition, right-click it and select Resize/Move.

If you have a swap partition, the Ubuntu live environment will likely have activated it. For this kind of users, they can resize Ubuntu partition under Windows operating system with a third-party partition manager. From your present partition layout it appears that the root partition for Ubuntu is a bit too small, and the swap partition is in the way of increasing your root partition. Here is a real-world case related to this issue: “ May computer is dual-booting Ubuntu and Windows 10, and all of them work properly without errors.

In order to change the partition, Ubuntu live CDs include GParted partition editors. If a partition is mounted, unmount it by clicking the eject button in the file manager. Select Resize. You can do it with gparted or kparted or partition wizard and probably disks and many other utilities.

Say, it enables you to extend the system partition , create, delete, resize/move, copy, merge, split or … Some users may want to resize either Ubuntu partition or Windows partition in order to make best of disk space. Tab to the 'Free space following' field and enter the size of the swap partition.

This list is focused on applications that support the Ext4 file system, … Select how big you want the partition …

I have done this quite a few times and only once did the partition become corrupted. For example last weekend I wanted to clone 16.04 and do a test run upgrade to 18.04. Windows still provide two disk partition methods to resize partition - Disk Management and Diskpart cmd.