
I want to extract half of the space used by the sda1 that is being used by my Ubuntu 17 OS to Dual boot with windows.
Is there any safe way of doing this without losing any data?

I want to extract half of the space used by the sda1 that is being used by my Ubuntu 17 OS to Dual boot with windows.
Is there any safe way of doing this without losing any data?
To resize a partition it must not be mounted. As you have only one partition you cannot resize it because your OS is on it. You can create a live CD/USB with GParted, boot from it and resize the partition -> https://gparted.org/livecd.php Backup all data on different disk before that!