0

This question already has an answer here:

I am using Ubuntu 16.04 and now I need to install Windows 7 along with it.

I only have one sda1 partition on my HDD and it occupies the whole space, so how can I dual boot my system?

screenshot of Gparted showing 461 GiB ext4 root, 3.9 GiB swap inside an extended partition

marked as duplicate by George Udosen, karel, pomsky, Eric Carvalho, Zanna Oct 28 '17 at 18:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

0
  1. Make partition on disk to install windows on it using gparted.
  2. Now install windows on the newly created partition. Once installed, you will not have an option to boot into ubuntu.
  3. To fix this, you have to use a live ubuntu usb and fix grub to show both ubuntu with windows os.
  • 2
    Partition must be primary NTFS partition with boot flag. Usually works with gparted, but some have reported they had to redo with the Windows installer. Use gparted to shrink ext4 partition, and be sure to follow general rule of Linux tools for Linux & Windows tools for Windows. – oldfred Oct 28 '17 at 13:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.