Dual Boot Pop-OS with Windows: The correct way
Introduction
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 many details which is not required for the majority of the users.
So basically these are the steps that a user has to do to dual boot Pop-OS with windows.
- Download Pop-OS iso image from https://pop.system76.com/
- Create a bootable pendrive of this iso image using any bootable media creation tool (e.g., Rufus in windows, Disk utilities in Ubuntu etc…)
- 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.
- 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 options for both windows and pops-os.
- You need an 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
- 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
- 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
- Add a delay in your boot menu by editing this file /boot/efi/loader/loader.conf and add timeout 2 to this file.
- Reboot and enter BIOS. Change your boot order so that Pop-OS is at top. Save the changes and Exit.
- Now, you will get a boot menu which will let you select the OS to boot into.
There you have it! You now have a reliable way to use Pop-OS in a dual boot system.
The rapid shift to cloud native technologies has provided a number of opportunities to even relatively small businesses to use a number of SaaS tools and applications at nominal prices. Know more about this emerging trend in our latest piece here.