🐧 How to Dual-Boot Windows 10 and Linux

Difficulty: ⭐⭐⭐ (Intermediate)
Time: 1–2 hours
What you need: A laptop, a USB drive (8GB+), and patience!


Before You Start (IMPORTANT!)

⚠️ Back up your files! If something goes wrong, you don’t want to lose your homework or game saves. I used an external hard drive.


Which Path Are You On?

Your Current OS Scroll To
Windows is already installed → you want to add Linux Windows First POV
Linux is already installed → you want to add Windows Linux First POV

🪟 POV 1: Windows First (Adding Linux)

Step 1: Make a Bootable Linux USB

I used Rufus (on Windows) to put the Linux ISO onto my USB drive.

Step 2: Make Space on Your Hard Drive

Windows takes up a lot of space, so I had to shrink it.

Step 3: Disable Secure Boot (BIOS)

Step 4: Boot from USB and Install Linux

Step 5: Fix Boot Priority (GRUB)

After installing, restart and go back to BIOS. Make sure Linux is the FIRST boot option. If Windows is first, it skips GRUB and you’ll never see the menu to choose!


🐧 POV 2: Linux First (Adding Windows) — This is How I Did It!

My laptop came with Linux pre-installed, and I wanted to add Windows 10.

Step 1: Make a Bootable Windows USB

Step 2: Make Space on Your Linux Drive

I needed to shrink my Linux partition to make room for Windows.

Step 3: Install Windows (The Tricky Part!)

Step 4: The “Partition” Screen in Windows

Step 5: The BIG Problem — Windows Overwrites GRUB!

After Windows installed, my laptop restarted and booted straight into Windows.

Step 6: Restore GRUB (Linux to the Rescue!)

I needed to get Linux back as the boot manager:

  1. I plugged in my Linux live USB (the one I originally used to install Linux).
  2. I booted from it and selected “Try Linux” (not install).
  3. I opened the terminal and mounted my Linux partition to fix the bootloader. Here’s the code I used:

In the terminal:

sudo fdisk -l

(I found my Linux partition — it was /dev/nvme0n1p5 for me)

sudo mount /dev/nvme0n1p5 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo chroot /mnt

(This “chroots” into my Linux installation from the live USB)

grub-install /dev/nvme0n1
update-grub

(This reinstalls GRUB and detects Windows!)

Then I exited and rebooted. GRUB came back with both options!


🛠️ Mistakes I Made (So You Don’t!)

Windows First Mistake:

Linux First Mistakes (My Experience):

  1. I chose the wrong partition in the Windows installer and almost wiped my Linux drive! 😱 Always pick the “Unallocated” space.
  2. I panicked when GRUB disappeared after installing Windows. I thought I broke my laptop! But the live USB saved me.
  3. I pressed the wrong key to get into the BIOS (I had to Google which key it was for my laptop model).

✅ You Did It!

If you see a screen asking you to pick between Windows and Linux, you’re done!

Boot into either one and start exploring. 🚀


📸 What My Setup Looks Like

My Dual-Boot Setup

(Add a screenshot of your GRUB menu or desktop here!)


⬅️ Back to Home