Windows

How to remove Linux from dual-boot setup alongside Windows

If in case you have a dual-boot system utilizing a Linux distribution (corresponding to Ubuntu, Mint, or Fedora) and Home windows 11 (or 10), however it’s now time to take away the Linux set up to revert to a single boot utilizing solely Home windows, that is potential, however it’s not a simple course of.

Establishing a dual-boot configuration with Linux and Home windows isn’t difficult. You must shrink the Home windows partition or use a secondary drive to put in Linux. Nonetheless, in case you not want the Linux set up, it’s a must to full a number of steps, together with switching the bootloader within the UEFI firmware settings, deleting the partition with the Linux distro, relocating the unallocated house, modifying the Home windows restoration partition to take away the Linux bootloader and altering the UEFI settings to take away the Linux bootloader entry. 

On this information, I’ll define the steps to securely uninstall or take away the Linux set up from a dual-boot system alongside Home windows 11 or 10.

Warning: It’s necessary to notice that you can be modifying the system partitions, which may carry some dangers if not corrected. Making a full laptop backup earlier than continuing in case you’ll want to roll again continues to be advisable. Additionally, to keep away from potential issues, it’s advisable to disable BitLocker earlier than continuing. You may flip encryption on once more after reconfiguring the system.

Take away Linux from dual-boot setup (safely)

To take away Linux from a dual-boot system to begin with the Home windows 11 (or 10) boot supervisor, use these steps:

  1. Begin the pc on Home windows.


  2. Open Settings.

  3. Click on on System.

  4. Click on the Restoration web page.

  5. Click on the Restart now button from the “Superior startup” part.

    Windows 11 advanced startup

    Fast word: On Home windows 10, the choice is accessible on Settings > Replace & Safety > Restoration.
  6. Click on the Restart button once more.

  7. Click on on Troubleshoot.

  8. Click on on Superior choices.

  9. Click on the “UEFI Firmware Settings” possibility.

    UEFI Firmware settings on WinRE

  10. Click on the Restart button.

  11. Open the setup web page.

    Fast word: I’m utilizing the UEFI (BIOS) obtainable with VMware. Since most producers construct their firmware expertise otherwise, you’ll have to verify their documentation to seek out the boot order settings.
  12. Open the “Configure boot choices” web page.

    Configure boot options

  13. Click on the “Change boot order” possibility.

    Change boot order

  14. Change the boot order to make the Home windows Boot Supervisor the primary possibility and Linux the second possibility.

    UEFI make Windows Boot Manager first

  15. Save the adjustments and exit to restart the pc on Home windows 11 (or 10).

  16. Open Begin.

  17. Seek for Create and format exhausting disk partitions and choose the highest outcome to open the Disk Administration software.

    Fast word: You too can use the “Disks & Volumes” web page from the Settings app, however on this case, I’m utilizing “Disk Administration” because it’s obtainable on each Home windows 10 and 11.
  18. Verify the partition containing the Linux setup in dual-boot.

    Fast tip: The easiest way to establish the right partition is to recollect the dimensions you assigned to the quantity. Additionally, it’ll in all probability be the one and not using a drive letter and not using a file system label or label from a Linux file system. Nonetheless, don’t take away the “Wholesome (EFI System)” or “Wholesome (Restoration Partition)” since these are partitions within the Home windows setup.
  19. Proper-click the partition and choose the Delete Quantity possibility.

    Remove Linux dual-boot partition

  20. Click on the Sure button to verify.

  21. (Elective) Proper-click the Unallocated house and select the Lengthen Quantity.

    Fast tip: If the smaller restoration partition is on the best way to the primary “C” partition, you received’t be capable of prolong the partition. You’ll have to use third-party software program, corresponding to GParted, or you’ll have to create a secondary partition.
  22. Click on the Subsequent button.

  23. Verify the quantity data.

  24. Click on the Subsequent button.

  25. Click on the End button.

  26. Open Begin.

  27. Seek for Command Immediate, right-click the highest outcome, and select the Run as administrator possibility.

  28. Kind the next command to launch the DiskPart software and press Enter:

    DiskPart
  29. Kind the next command to view the obtainable drives and press Enter:

    Record Disk
  30. Kind the next command to pick out the first drive and press Enter:

    Choose Disk 0
  31. Kind the next command to listing the partitions and press Enter:

    Record Partition

    DiskPart List Partition

  32. Kind the next command to pick out the “System” partition and press Enter:

    Choose Partition 1

    Within the command, change “1” to the quantity similar to your “System” partition.

  33. Kind the next command to mount the storage with a drive letter and press Enter:

    Assign Letter=E

    Add drive letter to recovery partition

    Fast word: You may assign nearly any drive letter that hasn’t already been taken.
  34. Kind the next command to exit from DiskPart and press Enter:

    Exit
  35. Kind the next command to enter the brand new system drive and press Enter:

    E:
  36. Kind the next command to entry the boot supervisor configuration and press Enter:

    CD efi
  37. Kind the next command to view the boot supervisor choices, establish the Linux bootloader, and press Enter:

    Dir
  38. Kind the next command to take away the Linux boot supervisor out of your laptop and press Enter:

    RD ubuntu /s

    Delete Linux boot manager from Windows recovery partition

    Within the command, change “ubuntu” to the identify of the Linux bootloader put in in your laptop.

  39. Kind the “Y” key and press Enter.

  40. Kind the next command to verify the Linux bootloader has been deleted and press Enter:

    Dir

    Check Linux boot manager deleted

  41. Kind the next command to launch the DiskPart software and press Enter:

    DiskPart
  42. Kind the next command to view the obtainable volumes and press Enter:

    Record Quantity
  43. Kind the next command to pick out the quantity with the letter to delete and press Enter:

    Choose Quantity 4
  44. Kind the next command to take away the drive letter and press Enter:

    Take away Letter=E
  45. Kind the next command to exit from DiskPart and press Enter:

    Exit
  46. Open Settings.

  47. Click on on System.

  48. Click on the Restoration web page.

  49. Click on the Restart now button from the “Superior startup” part.

    Windows 11 advanced startup

  50. Click on the Restart button once more.

  51. Click on on Troubleshoot.

  52. Click on on Superior choices.

  53. Click on the “UEFI Firmware Settings” possibility.

    UEFI Firmware settings on WinRE

  54. Click on the Restart button.

  55. Open the setup web page. 

  56. Open the “Configure boot choices” web page.

    Configure boot options

  57. Click on the “Delete boot possibility” setting.

    UEFI settings delete boot option

  58. Select the Linux Grub entry to take away from the UEFI (in my case, Ubuntu).

    UEFI delete Linux dual-boot entry

  59. Save the adjustments to the delete entry and exit to restart the pc on Home windows 11 (or 10).

When you full the steps, you’ll have efficiently eliminated Linux from the dual-boot setup, and now, Home windows ought to begin appropriately in a single-boot setup.

You may additionally use the bcdedit with the “enum” choice to delete the Linux bootloader from the dual-boot setup, however whereas creating this information, the Ubuntu entry didn’t present up within the listing of bootloaders. Consequently, I opted to mount the restoration drive and delete the entry manually.

Though it’s potential to revert to a single boot system, ideally, you need to restore the earlier configuration from a backup or carry out a clear set up of Home windows 11 to make sure the steadiness and reliability of the system.

If in case you have any questions or issues uninstalling Linux out of your dual-boot setup, depart me a remark beneath.

Related Articles

Leave a Reply

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

Back to top button