Can anyone explain how I can make a partition to install Windows 10, with gParted? The main partitions are locked, as shown in the screenshot.
I am a beginner and I am struggling with several issues, so I need Windows 10 along with Linux.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Ubuntu won't let you touch the partition while you are using it.
In order to shrink it, you just have to use the USB stick you used to install Ubuntu, or create a new one from Startup Disk Creator (preinstalled). You can download the Ubuntu image here.
Once you got your stick, just boot a live version of Ubuntu and as you said you are struggling with Ubuntu, just install Gparted and shrink your main partition from there.
Please note you DON'T have to create a new partition once you have shrinked it.
When you finish, you will just have to install Windows on that partition giving it format from the Windows installer. If you create another partition, Windows won't be able to recognise it, as it's another file system.