Score:0

Noob trying to install Windows 10 (dual boot) on his preinstalled Ubuntu 20.04 laptop, cannot partition as Ubuntu is mounted

ve flag

Gparted screenshot

The entirety of the Ubuntu 20.04 OS is mounted and I need to unmount it, apparently, to have an NTFS partition for Windows.

I'm totally new to Ubuntu and all this tech stuff, I just need some steps to follow, my only problem is the partitioning on Gparted. I'm too scared to press unmount as the OS is running from it and the whole 1TB is there and I need some of it for Windows.

C.S.Cameron avatar
cn flag
Create a Live USB, see mkusb. Boot from the USB and then you can unmount your HDD partitions and alter them.
C.S.Cameron avatar
cn flag
If you do not have a USB drive look at posts 2 and 7 on this link. https://ubuntuforums.org/showthread.php?t=2466401&highlight=usb This page shows how to make a Windows install disk using **mkusb** https://askubuntu.com/a/1359829/43926
oldfred avatar
cn flag
You show an ESP - efi system partition for UEFI boot. Hopefully drive is gpt partitioned as Ubuntu does not require gpt for UEFI boot. But Windows does require gpt for UEFI and wants multiple partitions. How you boot install media UEFI or BIOS/CSM is then how it installs for both Ubuntu & Windows. https://msdn.microsoft.com/en-us/library/windows/hardware/dn898510%28v=vs.85%29.aspx#RecommendedPartitionConfigurations
C.S.Cameron avatar
cn flag
Also it is easier to install Windows first, With Windows second you will need to reinstall GRUB.
Score:2
in flag

You're right. You can't unmount and resize a partition that is currently in use.

You can easily use Gparted Live. It's a small bootable Linux that you can boot from USB or CD. Then you can easily do whatever you want with your disk and be sure that disk is not in use.

Score:0
us flag

EDIT: Thanks for the the mistake pointed by C.S. Cameron. I am trying to correct my answer accordingly.

I had not installed windows for a long time through live usb. But there should be an option of partitioning the SSD through the partition manager present in the installer. That way, main OS partition can be resized. If that option is not present in Windows live USB, try to do that through Ubuntu live USB.

In GParted, Right Click on your ext4 partition and select 'Resize/Move' option. Then in the 'Free space following' option of the newly opened box, type the size of partition you want to create for Windows in Megabytes. Then click 'Resize'. Select 'Green Tick' icon in GParted and complete the resize task before exiting it. Now boot from Windows Live USB and continue the installation as normal

C.S.Cameron avatar
cn flag
You can not resize a mounted root partition, You can not unmount a root partition that is in use.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.