How to dual boot Windows 10 and Debian 10

So, you finally made the bold decision to try out Linux after much convincing. However, you do not want to let go of your Windows 10 operating system yet as you will still be needing it before you learn the ropes on Linux. Thankfully, you can easily have a dual boot setup that allows you to switch to either of the operating systems upon booting your system. In this guide, you will learn how to dual boot  Windows 10 alongside Debian 10.

How-to-dual-boot-Windows-and-Debian10

Prerequisites

Before you get started, ensure you have the following:

  • A bootable USB  or DVD of Debian 10
  • A fast and stable internet connection ( For installation updates & third party applications)

Additionally, it worth paying attention to how your system boots (UEFI or Legacy) and ensure both the operating systems boot using the same boot mode.

Step 1: Create a free partition on your hard drive

To start off, you need to create a free partition on your hard drive. This is the partition where Debian will be installed during the installation process. To achieve this, you will invoke the disk management utility as shown:

Press Windows Key + R to launch the Run dialogue. Next, type diskmgmt.msc and hit ENTER

Launch-Run-dialogue

This launches the disk management window displaying all the drives existing on your Windows system.

Disk-management

Next, you need to create a free space for Debian installation. To do this, you need to shrink a partition from one of the volumes and create a new unallocated partition. In this case, I will create a 30 GB partition from Volume D.

To shrink a volume, right-click on it and select the ‘shrink’ option

Shrink-volume

In the pop-up dialogue, define the size that you want to shrink your space. Remember, this will be the disk space on which Debian 10 will be installed. In my case, I selected 30000MB  ( Approximately 30 GB). Once done, click on ‘Shrink’.

Shrink-space

After the shrinking operation completes, you should have an unallocated partition as shown:

Unallocated-partition

Perfect! We are now good to go and ready to begin the installation process.

Step 2: Begin the installation of Debian 10

With the free partition already created, plug in your bootable USB drive or insert the DVD installation medium in your PC and reboot your system. Be sure to make changes to the boot order in the BIOS set up by pressing the function keys (usually, F9, F10 or F12 depending on the vendor). This is crucial so that the PC boots into your installation medium. Saves the BIOS settings and reboot.

A new grub menu will be displayed as shown below: Click on ‘Graphical install

Graphical-Install-Debian10

In the next step, select your preferred language and click ‘Continue

Select-Language-Debian10

Next, select your location and click ‘Continue’. Based on this location the time will automatically be selected for you. If you cannot find you located, scroll down and click on ‘other’ then select your location.

Select-location-Debain10

Next, select your keyboard layout.

Configure-Keyboard-layout-Debain10

In the next step, specify your system’s hostname and click ‘Continue

Set-hostname-Debian10

Next, specify the domain name. If you are not in a domain environment, simply click on the ‘continue’ button.

Set-domain-name-Debian10

In the next step, specify the root password as shown and click ‘continue’.

Set-root-Password-Debian10

In the next step, specify the full name of the user for the account and click ‘continue

Specify-fullname-user-debain10

Then set the account name by specifying the username associated with the account

Specify-username-Debian10

Next, specify the username’s password as shown and click ‘continue

Specify-user-password-Debian10

Next, specify your timezone

Configure-timezone-Debian10

At this point, you need to create partitions for your Debian 10 installation. If you are an inexperienced user, Click on the ‘Use the largest continuous free space’ and click ‘continue’.

Use-largest-continuous-free-space-debian10

However, if you are more knowledgeable about creating partitions, select the ‘Manual’ option and click ‘continue

Select-Manual-Debain10

Thereafter, select the partition labeled ‘FREE SPACE’  and click ‘continue’ . Next click on ‘Create a new partition’.

Create-new-partition-Debain10

In the next window, first, define the size of swap space, In my case, I specified 2GB. Click Continue.

Define-swap-space-debian10

Next, click on ‘’Primary’ on the next screen and click ‘continue

Partition-Disks-Primary-Debain10

Select the partition to start at the beginning and click continue.

Start-at-the-beginning-Debain10

Next, click on Ext 4 journaling file system and click ‘continue

Select-Ext4-Journaling-system-debain10

On the next window, select swap  and click continue

Select-swap-debain10

Next, click on done setting the partition and click continue.

Done-setting-partition-debian10

Back to the Partition disks page, click on FREE SPACE and click continue

Click-Free-space-Debain10

To make your life easy select Automatically partition the free space and click continue.

Automatically-partition-free-space-Debain10

Next click on All files in one partition (recommended for new users)

All-files-in-one-partition-debian10

Finally, click on Finish partitioning and write changes to disk and click continue.

Finish-partitioning-write-changes-to-disk

Confirm that you want to write changes to disk and click ‘Yes

Write-changes-to-disk-Yes-Debian10

Thereafter, the installer will begin installing all the requisite software packages.

When asked if you want to scan another CD, select No and click continue

Scan-another-CD-No-Debain10

Next, select the mirror of the Debian archive closest to you and click ‘Continue’

Debian-archive-mirror-country

Next, select the Debian mirror that is most preferable to you and click ‘Continue

Select-Debian-archive-mirror

If you plan on using a proxy server, enter its details as shown below, otherwise leave it blank and click ‘continue’

Enter-proxy-details-debian10

As the installation proceeds, you will be asked if you would like to participate in a package usage survey. You can select either option and click ‘continue’ . In my case, I selected ‘No

Participate-in-survey-debain10

Next, select the packages you need in the software selection window and click continue.

Software-selection-debian10

The installation will continue installing the selected packages. At this point, you can take a coffee break as the installation goes on.

You will be prompted whether to install the grub bootloader on Master Boot Record (MBR). Click Yes and click Continue.

Install-grub-bootloader-debian10

Next, select the hard drive on which you want to install grub and click Continue.

Select-hard-drive-install-grub-Debian10

Finally, the installation will complete, Go ahead and click on the ‘Continue’ button

Installation-complete-reboot-debian10

You should now have a grub menu with both Windows and Debian listed. To boot to Debian, scroll and click on Debian. Thereafter, you will be prompted with a login screen. Enter your details and hit ENTER.

Debian10-log-in

And voila! There goes your fresh copy of Debian 10 in a dual boot setup with Windows 10.

Debian10-Buster-Details

12 thoughts on “How to dual boot Windows 10 and Debian 10”

  1. Very helpful tips,
    I will use the same to solve issues of my company Indiaaccess Servers and Hostasp Servers

    Thanks for your info

  2. Windows + Debian is such a nice combination in your computer if you’re a programmer or developer. You can do a dual booting technique from which you can use Windows and Debian both.

  3. Windows 10 and Debian 10 those are new updated operating system in the market. If you want to dual boot in your system then I will aware that if your system is not highly configured then do not go for dual boot. Your system will be crashed.

  4. Julian Farnandez

    After read your post I have understand How to dual boot Windows 10 and Debian 10. I am following your blogs for a long time. I want more information so please let me know when you share a new one.

  5. I followed your instructions step by step, but unfortunately didn’t work for me,
    Windows 10 still boot alone, I exactly don’t know the faults.

  6. I don’t understand: it is supposed to be a dual boot; however a message from the installer is
    “It seems that this new installation is the only operating system on this computer.”

    Only OS on the computer? Is the installer message wrong, or is the Windows partition damaged?

  7. Thanks for the tutorial.
    If the system uses UEFI, setup is much easier (the grub part will be omitted completely). A word of caution in case the Windows partition is BitLocker encrypted, when restarting Windows after installing Debian, the system will ask for the drive encryption recovery key before booting, make sure you save it (from Windows) before starting the Debian installation.

  8. I was able to successfully install two systems on one disk. Now I would like to encrypt the disk, I have TPM. Is it feasible or something can go wrong?

  9. Kelton Joyner

    Thanks for this tutorial. I followed the carefully and got Debian 10 to install. Rebooted and booted into Debian Linux. Rebooted and hit ‘escape’ when window first opened and sat VERY TINY print “Press the up arrow and down arrow (don’t know how to type arrows) keys to delect shich entry is highlighted. Press enter to boot the selected os, ‘e’ to edit the command or ‘c’ for a command line.
    How do I get the initial window to stop to make a selection with hitting ‘escape’

  10. Hi there,

    Thank you so much for this tutorial.

    If I may ask, how do I undo the entire operation? In other words, when I boot up the system it goes straight to Windows like it did before?

    Thanks

Leave a Comment

Your email address will not be published. Required fields are marked *