Depending on what you want to use Windows10 for, one could argue that running it in a VM would be the simplest and most effective way to have Windows10 on an Ubuntu installation. That said, I'll assume you want to have Windows10 alongside Ubuntu. For that, you'll need to do this:
0 — Write the Windows10 ISO to a USB Stick as a bootable device
- Use
df
to find your USB stick (it'll be something like /dev/sdc
or some such) and it's mount point (eg: /media/{user}/USB
)
- Unmount the USB stick:
sudo umount /media/{user}/USB
(change this to whatever the actual mount point is)
- Write the .iso file to the USB stick:
sudo dd if=windows10.iso \ of=/dev/sdc bs=1M status=progress
(be sure to change windows10.iso
to the actual file name and /dev/sdc
to whatever your USB stick happens to use)
1 — Prepare an NTFS partition for Windows
To install Windows 10, it is necessary to have a primary NTFS partition created on your machine. You can do this via GParted or Disk Utility. You'll probably want to delete that FAT16 partition that you created, as it's unnecessary.
2 — Install Windows 10
- Start the Windows Installation from bootable DVD/USB stick
- After entering the activation key, choose "Custom Installation"
- Select the NTFS Primary partition that you created in Ubuntu
After a successful installation, Windows will replace the boot loader with its own thing, making it difficult to return to Ubuntu. Now you get to do this:
3 — Install Grub for Ubuntu
To install and fix grub, you'll need a Live DVD or Live USB of Ubuntu.
- Boot into Live Ubuntu with the DVD or USB stick
- Boot-repair will get automatically launched. Select "Recommended Repair"
- Reboot
You will now have a Grub menu on boot, where you can choose from Ubuntu, memtest, and Windows 10.