Shrinking the C: drive
I want to install Ubuntu in C drive (which also has Windows 10) which has around 75GB free space out of 150GB.
I am only getting 4440 MB available to shrink but I have 75 GB free!
How can I increase the available shrink space of C drive?
Your disk usage seems to be fragmented. You can try two methods to solve it:
Defragment it in Windows, then shrink in Ubuntu installer
Boot Windows and run defragmentation tool (“Disk Defragmenter” or “Defragment and Optimize Drives”) on the partition where you want to reuse the space (C: in your case).
If this does not help, you can give SDelete (download it from Microsoft) a try to fill the unused space with zeros, so it gets actually free to reclaim.
sdelete.exe c: -z
More information: https://www.howtogeek.com/312883/how-to-shrink-a-virtualbox-virtual-machine-and-free-up-disk-space/
Shrink in Windows
You can also use the Disk Management app in Windows to shrink the disk. You might get better results when processing a Windows drive with a Windows tool.
Size of the Ubuntu partition
I want to have at least 20-25 GB for Ubuntu.
25 GB is the required minimum for Ubuntu Desktop. The installer may disable the “Install Ubuntu alongside Windows” option because the available space which it’s able to get is less than recommended.
Reusing the F: drive
Also, can I install Ubuntu in F drive which is of 180GB size. I can move the files from F drive to any other drive for that matter.
If the data can be fit into another partition, I would choose this option and get more space for Ubuntu while keeping some free space on the C: drive. In the installer choose “Something else”, then select the F: drive. Since Ubuntu does not use the Windows drive names like F:, it’s up to you to choose it correctly. (You can check your partitions order in Windows Disk Management before installation.) Make the partition your root partition (mount point /
). Format it as ext4 which is default in Ubuntu. You don’t need to create any additional partitions for Ubuntu 18.04.
More information: How to use manual partitioning during installation?
Will I still get the option to load either Windows 10 or Ubuntu in the boot menu?
Yes, you should get the option in either way of dual-boot Ubuntu alongside Windows installation. However, there are cases when something goes wrong (like in Unable to boot into Windows after installing Ubuntu, how to fix? or if you select a wrong partition to overwrite), so you won’t lose anything if you make a backup of the complete drive before Ubuntu installation.