{"id":11676,"date":"2025-06-18T11:50:32","date_gmt":"2025-06-18T11:50:32","guid":{"rendered":"https:\/\/mainvps.net\/blog\/?p=11676"},"modified":"2025-08-28T04:45:27","modified_gmt":"2025-08-28T04:45:27","slug":"dual-boot-debian-12-windows-setup-guide","status":"publish","type":"post","link":"https:\/\/mainvps.net\/blog\/dual-boot-debian-12-windows-setup-guide\/","title":{"rendered":"How to Dual-Boot Debian 12 and Windows: A Smooth, Safe, &amp; Friendly Setup Guide"},"content":{"rendered":"\n<p>Putting Debian 12 next to Windows lets you pick which system fires up when you power on your PC. Both install-ations stay in their own corner of the drive, they can even live on separate disks, and GRUB handles the boot menu. Ready? Well go through it together, step-by-step.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mainvps.net\/blog\/dual-boot-debian-12-windows-setup-guide\/#Why_Dual-Boot_at_All\" >Why Dual-Boot at All?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mainvps.net\/blog\/dual-boot-debian-12-windows-setup-guide\/#1_Prep_Before_You_Begin\" >1: Prep Before You Begin<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mainvps.net\/blog\/dual-boot-debian-12-windows-setup-guide\/#2_Install_Debian_12\" >2: Install Debian 12<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mainvps.net\/blog\/dual-boot-debian-12-windows-setup-guide\/#3_Fix_Any_Boot_Issues\" >3: Fix Any Boot Issues<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mainvps.net\/blog\/dual-boot-debian-12-windows-setup-guide\/#Smart_Tips_for_a_Smooth_Dual-Boot\" >Smart Tips for a Smooth Dual-Boot<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mainvps.net\/blog\/dual-boot-debian-12-windows-setup-guide\/#Troubleshooting_Quick_List\" >Troubleshooting Quick List<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/mainvps.net\/blog\/dual-boot-debian-12-windows-setup-guide\/#FAQs_Youll_Find_Handy\" >FAQs You\u2019ll Find Handy<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/mainvps.net\/blog\/dual-boot-debian-12-windows-setup-guide\/#TLDR_%E2%80%93_Quick_Recap\" >TL;DR \u2013 Quick Recap<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_Dual-Boot_at_All\"><\/span>Why Dual-Boot at All?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Best of both worlds:<\/strong> Use Windows for apps and gaming, and Debian for coding, servers, or open-source tools.<\/li>\n\n\n\n<li><strong>Shared hardware, separate systems:<\/strong> No need for extra PCs\u2014save space and money.<\/li>\n\n\n\n<li><strong>Perfect for devs &amp; power users:<\/strong> Run Windows-dependent software and enjoy Linux flexibility without virtual machines.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Prep_Before_You_Begin\"><\/span>1: Prep Before You Begin<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Back up important files.<\/strong> Partitioning won\u2019t harm your data if done correctly, but it never hurts to have a backup.<\/li>\n\n\n\n<li><strong>Know your setup: UEFI or BIOS?<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>UEFI (modern systems):<\/strong> Uses GPT. Order doesn\u2019t matter too much.<\/li>\n\n\n\n<li><strong>BIOS\/MBR (older PCs):<\/strong> Windows should usually be installed first. <a href=\"https:\/\/mainvps.net\/blog\/debian-vs-ubuntu\/\">Debian<\/a> will respect that on boot.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Turn off Secure Boot and Fast Startup<\/strong> in Windows \u2014 they often block Linux from booting properly.<\/li>\n\n\n\n<li><strong>Shrink your Windows partition<\/strong>:\n<ul class=\"wp-block-list\">\n<li>Go to Disk Management (<code>diskmgmt.msc<\/code>)<\/li>\n\n\n\n<li>Right-click your largest partition \u2192 Shrink Volume \u2192 free up space for Debian (20\u201350 GB is good).<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Install_Debian_12\"><\/span>2: Install Debian 12<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Create a Debian 12 bootable USB<\/strong> (with Rufus, balenaEtcher, or dd).<\/li>\n\n\n\n<li><strong>Boot from USB<\/strong>, select \u201cGraphical Install.\u201d<\/li>\n\n\n\n<li><strong>Choose disk setup<\/strong>:\n<ul class=\"wp-block-list\">\n<li>\u201cGuided \u2013 use largest free space\u201d makes it easy.<\/li>\n\n\n\n<li>Or use \u201cManual\u201d to custom-create <code>\/<\/code>, <code>swap<\/code>, and <code>\/home<\/code>.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Install GRUB<\/strong> on your EFI or MBR partition per your mode.<\/li>\n\n\n\n<li><strong>Finalize<\/strong> and reboot when done\u2014your system will now show a GRUB menu.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Fix_Any_Boot_Issues\"><\/span>3: Fix Any Boot Issues<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Boot goes straight to Windows?<\/strong><br>Enter your UEFI firmware (usually by pressing F2, F12, or Del at boot) and move Debian above Windows.<\/li>\n\n\n\n<li style=\"font-size:18px\"><strong>Windows missing in GRUB menu?<\/strong><br>Boot Debian. In the terminal, run:<code>sudo os-prober sudo update-grub<\/code>This retrieves and lists Windows in your boot menu.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Smart_Tips_for_a_Smooth_Dual-Boot\"><\/span>Smart Tips for a Smooth Dual-Boot<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Label partitions clearly<\/strong> (e.g. \u201cWIN_OS\u201d and \u201cDEB12\u201d) during install\u2014makes life easier later.<\/li>\n\n\n\n<li><strong>Always install Debian last<\/strong> on BIOS systems to avoid GRUB being overwritten.<\/li>\n\n\n\n<li><strong>Bonus: Separate disks?<\/strong><br>Install each OS on its own drive. Use BIOS\/<a href=\"https:\/\/en.wikipedia.org\/wiki\/UEFI\" target=\"_blank\" rel=\"noopener\">UEFI <\/a>boot menu at startup and keep them fully independent.<\/li>\n\n\n\n<li><strong>Keep GRUB updated<\/strong>: Every time you update kernels or change partitions, run:<code>sudo update-grub<\/code><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Troubleshooting_Quick_List\"><\/span>Troubleshooting Quick List<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>Problem<\/th><th>Quick Fix<\/th><\/tr><tr><td>No Debian entry on boot<\/td><td>Change boot order in UEFI firmware<\/td><\/tr><tr><td>Windows missing in GRUB<\/td><td>Run <code>sudo os-prober &amp;&amp; sudo update-grub<\/code><\/td><\/tr><tr><td>Boot drops to GRUB shell<\/td><td>Reinstall GRUB from live USB:<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\" style=\"font-size:18px\">sudo mount \/dev\/sdXY \/mnt<br>sudo grub-install --boot-directory=\/mnt\/boot \/dev\/sdX<br>sudo update-grub<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"FAQs_Youll_Find_Handy\"><\/span>FAQs You\u2019ll Find Handy<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><strong>Q: Which OS should I install first?<\/strong><br>On modern UEFI systems, the order doesn\u2019t matter. On older BIOS systems, install Windows first, then Debian to avoid bootloader conflicts.<\/p>\n\n\n\n<p><strong>Q: Will Windows updates break GRUB?<\/strong><br>Rarely, but if it happens, you can quickly fix it using a live USB and the command <code>sudo update-grub<\/code>.<\/p>\n\n\n\n<p><strong>Q: Can I resize Debian later?<\/strong><br>Yes! You can safely resize partitions using GParted from a live USB, but always backup your data first.<\/p>\n\n\n\n<p><strong>Q: Can I remove one OS later?<\/strong><br>Yes. Delete the OS\u2019s partitions, then update GRUB in Debian or fix the bootloader from Windows, depending on which system you keep.<\/p>\n\n\n\n<p><strong>Q: Can I use LVM or encryption with Debian?<\/strong><br>Absolutely. Debian\u2019s installer offers smooth support for LVM and full-disk encryption during the setup process.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"TLDR_%E2%80%93_Quick_Recap\"><\/span>TL;DR \u2013 Quick Recap<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Backup your files first.<\/strong><\/li>\n\n\n\n<li><strong>Shrink the Windows partition to make space.<\/strong><\/li>\n\n\n\n<li><strong>Install Debian 12 on the free space.<\/strong><\/li>\n\n\n\n<li><strong>Set GRUB as the default bootloader.<\/strong><\/li>\n\n\n\n<li><strong>Resolve any boot menu issues.<\/strong><\/li>\n\n\n\n<li><strong>Enjoy switching between Windows and Debian!<\/strong><\/li>\n<\/ol>\n\n\n\n<p>Thinking about setting up a dual-boot? Whether youre using a desktop or a laptop, MainVPS can walk you through the process, help with a fast <a href=\"https:\/\/mainvps.net\/vps\">VPS<\/a>, and tune your system. Just drop us a line were ready to lend a hand!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Putting Debian 12 next to Windows lets you pick which system fires up when you power on your PC. Both install-ations stay in their own corner <a class=\"read-more-link\" href=\"https:\/\/mainvps.net\/blog\/dual-boot-debian-12-windows-setup-guide\/\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":11884,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-11676","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-hosting"],"_links":{"self":[{"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/posts\/11676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/comments?post=11676"}],"version-history":[{"count":3,"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/posts\/11676\/revisions"}],"predecessor-version":[{"id":11681,"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/posts\/11676\/revisions\/11681"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/media\/11884"}],"wp:attachment":[{"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/media?parent=11676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/categories?post=11676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mainvps.net\/blog\/wp-json\/wp\/v2\/tags?post=11676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}