{"id":48887,"date":"2023-02-11T14:19:09","date_gmt":"2023-02-11T13:19:09","guid":{"rendered":"https:\/\/ekiwi-blog.de\/?p=48887"},"modified":"2023-02-11T16:48:11","modified_gmt":"2023-02-11T15:48:11","slug":"remove-linux-bootloader-grub-in-uefi-system","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/48887\/remove-linux-bootloader-grub-in-uefi-system\/","title":{"rendered":"Remove Linux bootloader GRUB in UEFI system"},"content":{"rendered":"<p>How do I remove a parallel Linux installation? I wanted to get rid of my openSuse, here&#8217;s how.<\/p>\n<p><!--more--><\/p>\n<p>I had a Linux openSuse installed in parallel with Windows. I use Linux for various application purposes, but also practical considerations, want to run it in a virtual machine under Windows in the future. This way, I don&#8217;t always have to spend a long time booting between the two systems.<\/p>\n<p>But how do I get rid of the grub boot loader at system start-up?<\/p>\n<p>A small preliminary remark: always make a backup before making changes, in case something goes wrong.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of content<\/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 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/ekiwi-blog.de\/en\/48887\/remove-linux-bootloader-grub-in-uefi-system\/#Video\" >Video<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ekiwi-blog.de\/en\/48887\/remove-linux-bootloader-grub-in-uefi-system\/#Instructions\" >Instructions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ekiwi-blog.de\/en\/48887\/remove-linux-bootloader-grub-in-uefi-system\/#Remove_EFI_entry\" >Remove EFI entry<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ekiwi-blog.de\/en\/48887\/remove-linux-bootloader-grub-in-uefi-system\/#Deleting_Linux_partitions\" >Deleting Linux partitions<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Video\"><\/span>Video<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/SxCHcidocJI\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Instructions\"><\/span>Instructions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Remove_EFI_entry\"><\/span>Remove EFI entry<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>In Windows, we start a command prompt and enter &#8220;diskpart&#8221; there. We confirm the prompt from Windows. It starts &#8220;diskpart&#8221;, here we enter the following command:<\/p>\n<pre>\r\nlist vol\r\n<\/pre>\n<p>We get an output of the volumes of the data carrier. Here we have a partition of the type &#8220;FAT32&#8221;. This is not particularly large.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_1.png\" alt=\"\" width=\"685\" height=\"291\" class=\"aligncenter size-full wp-image-48855\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_1.png 685w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_1-300x127.png 300w\" sizes=\"auto, (max-width: 685px) 100vw, 685px\" \/><\/p>\n<p>Now we have to select the volume and assign it to a drive letter:<\/p>\n<pre>\r\nselect vol1\r\n<\/pre>\n<p>and<\/p>\n<pre>\r\nasssign letter=x\r\n<\/pre>\n<p>Where &#8220;x&#8221; is a free drive letter.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_2.png\" alt=\"\" width=\"619\" height=\"179\" class=\"aligncenter size-full wp-image-48859\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_2.png 619w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_2-300x87.png 300w\" sizes=\"auto, (max-width: 619px) 100vw, 619px\" \/><\/p>\n<p>The new drive now appears in Explorer. We can now close &#8220;diskpart&#8221; and open a command prompt again, with admin rights. We change to the drive with &#8220;x:&#8221;. If we display the contents with &#8220;dir&#8221;, a folder with the name &#8220;EFI&#8221; should appear here.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_3.png\" alt=\"\" width=\"599\" height=\"301\" class=\"aligncenter size-full wp-image-48863\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_3.png 599w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_3-300x151.png 300w\" sizes=\"auto, (max-width: 599px) 100vw, 599px\" \/><\/p>\n<p>We enter the directory with &#8220;cd efi&#8221;. Here, too, we output the contents. Here, next to the boot folder, entries for our other operating systems should appear. Microsoft for Windows and in my case &#8220;opensuse&#8221; for my Linux system.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_4.png\" alt=\"\" width=\"464\" height=\"233\" class=\"aligncenter size-full wp-image-48867\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_4.png 464w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_4-300x151.png 300w\" sizes=\"auto, (max-width: 464px) 100vw, 464px\" \/><\/p>\n<p>We now delete the directory with the following command:<\/p>\n<pre>\r\nrmdir \/s opensuse\r\n<\/pre>\n<p>Adapt the command accordingly to the name of the Linux system.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_5.png\" alt=\"\" width=\"457\" height=\"244\" class=\"aligncenter size-full wp-image-48871\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_5.png 457w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_5-300x160.png 300w\" sizes=\"auto, (max-width: 457px) 100vw, 457px\" \/><\/p>\n<p>Once the folder is deleted, we can restart the computer. The GRUB-Booloader of Linux is removed and Windows starts directly. If the computer uses Bitlocker, Windows will ask us for the recovery key, so we should have it ready right away.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Deleting_Linux_partitions\"><\/span>Deleting Linux partitions<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The boot loader is now removed, but the Linux system is still on the hard disk. We can therefore free up the space via Disk Management and use it for Windows again. To do this, we delete the Linux partitions.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_6.png\" alt=\"\" width=\"893\" height=\"359\" class=\"aligncenter size-full wp-image-48875\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_6.png 893w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_6-300x121.png 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_6-768x309.png 768w\" sizes=\"auto, (max-width: 893px) 100vw, 893px\" \/><\/p>\n<p>We can now allocate the free space to the Windows system.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_7.png\" alt=\"\" width=\"626\" height=\"269\" class=\"aligncenter size-full wp-image-48879\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_7.png 626w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_7-300x129.png 300w\" sizes=\"auto, (max-width: 626px) 100vw, 626px\" \/><\/p>\n<p>A wizard appears, follow the steps here, then the unused memory will be used for Windows.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_8.png\" alt=\"\" width=\"637\" height=\"143\" class=\"aligncenter size-full wp-image-48883\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_8.png 637w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2023\/02\/remove_linux_8-300x67.png 300w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/p>\n<p>Linux is thus completely removed from the system.<\/p>","protected":false},"excerpt":{"rendered":"<p>How do I remove a parallel Linux installation? I wanted to get rid of my openSuse, here&#8217;s how.<\/p>\n","protected":false},"author":1,"featured_media":23181,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[1682,1558],"class_list":["post-48887","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en","tag-linux-en","tag-windows-en"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/48887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=48887"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/48887\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/23181"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=48887"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=48887"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=48887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}