A2oz

How to Create a Partition in Ubuntu for Windows 10 Installation?

Published in Computer Operating Systems 2 mins read

To install Windows 10 alongside your existing Ubuntu operating system, you'll need to create a separate partition on your hard drive. Here's how to do it using the GParted tool:

1. Open GParted

  • Open a terminal window by pressing Ctrl+Alt+T.
  • Type sudo apt update and press Enter.
  • Type sudo apt install gparted and press Enter.
  • Search for "GParted" in your applications menu and open it.

2. Shrink Your Existing Partition

  • Select the Ubuntu partition in the GParted window.
  • Right-click on the partition and choose "Resize/Move".
  • Drag the resize handle to the left to shrink the partition, leaving enough space for your desired Windows 10 partition size.
  • Click "Resize/Move" to apply the changes.

3. Create a New Partition

  • Right-click on the unallocated space and choose "New".
  • Set the "File system" to "NTFS" for Windows 10 compatibility.
  • Set the "Mount point" to "/mnt/windows" (or any other desired location).
  • Click "Add".

4. Apply Changes

  • Click the green "Apply" button in the top-left corner of the GParted window.
  • Confirm the changes by clicking "Apply" in the pop-up window.

5. Install Windows 10

  • Now, you can boot from your Windows 10 installation media and follow the on-screen instructions to install Windows 10 on the newly created partition.

6. Restart Your Computer

  • After installing Windows 10, restart your computer and you should now have a dual-boot system with both Ubuntu and Windows 10 installed.

Note: Always back up your important data before making any changes to your hard drive partitions.

Example: If you have a 100GB hard drive and want to create a 50GB partition for Windows 10, you would shrink your Ubuntu partition to 50GB and create a new 50GB NTFS partition for Windows 10.

Related Articles