# Prologue
You will see numerous articles on this all of which will tell you to
do a ```sudo update-grub``` once you have installed Pop-OS with Windows. But this will not work because Pop-OS doesn't use grub as it's boot manager. So, in this article I will explain the sure-shot way of doing this which is also mentioned in the System76 blog but that includes too much details which is not required for majority of the users.
# Overview
So basically these are the steps that a user has to do to dual boot Pop-OS with windows.
1. Download Pop-OS iso image from https://pop.system76.com/
2. Create a bootable pendrive of this iso image using any bootable media creation tool (E.g Rufus in windows, Disk utilities in Ubuntu etc..)
3. Boot from this pendrive and start installing Pop-OS on your system. You can follow this article: https://www.thewindowsclub.com/how-to-dual-boot-pop-os-and-windows. One thing that I will recommend is that you create a EFI partition of 2 GB for this because both Pop-os and windows will be in this partition.
4. Once Pop-OS installation is complete, you will observe that you no longer get a boot menu from where you can choose to boot into windows. So basically, you will only be able to boot into Pop-os.
# The real magic
This is how you repair your boot so that you get option for both windows and pops os.
1. You need os-prober to detect that there is one other OS (Windows) installed in your system. For this, run these commands in your terminal:
```
sudo apt update
sudo apt install os-prober
sudo os-prober
```
2. This will show an output which will look something like ```/dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi```. Here ```/dev/nvme0n1p1``` is the windows boot partition. You will have to mount this partition in pop os by running this command: ```sudo mount /dev/nvme0n1p1 /mnt```
3. You will need to copy the Microsoft boot files in your current boot partition. So run these commands:
```
sudo su
cp -R /mnt/efi/Microsoft /boot/efi/Microsoft
```
4. Add a delay in your boot menu by editing this file ```/boot/efi/loader/loader.conf``` and add ```timeout 2``` to this file.
5. Reboot and enter BIOS. Change your boot order so that Pop-OS is at top. Save the changes and Exit.
6. Now, you will get a boot menu which will let you select the OS to boot into.