itsmeit.bizitsmeit.biz
  • Home
  • Windows
    • Windows Software
  • Ubuntu & Linux
    Ubuntu & Linux
    The top blog articles on Ubuntu and Linux, featuring valuable tips and tricks, empower you to master these operating systems and enhance your experience.
    Show More
    Top News
    How to install phpMyadmin with Nginx on Ubuntu 22.04 | 20.04
    How to install phpMyadmin with Nginx on Ubuntu 22.04 | 20.04
    November 11, 2023
    How to clean up junk files on Ubuntu 22.04 | 20.04 LTS
    How to clean up junk files on Ubuntu 22.04 | 20.04 LTS
    November 10, 2023
    How to use chmod command in Linux or Ubuntu with examples
    How to use chmod command in Linux or Ubuntu with examples
    November 11, 2023
    Latest News
    How to install Composer on Ubuntu 20.04 | 22.04 & Linux
    November 13, 2023
    How to Configure Redis Cache to Speed ​​Up WordPress Site
    November 15, 2023
    Install Ibus-bamboo or Ibus-unikey for Accented Letters on Ubuntu 22.04
    November 11, 2023
    How to install MariaDB on Ubuntu 22.04, 20.04 and Debian
    November 11, 2023
  • Web developer
    • Wordpress Theme
      • Blog News
      • Fashion Theme
      • Theme Elementor
      • WooCommerce Theme
    • Wordpress Plugin
    • Magento Developer
Reading: Fix can’t boot Windows after installing Ubuntu dual boot
Share
Font ResizerAa
itsmeit.bizitsmeit.biz
Font ResizerAa
  • Linux & Ubuntu
  • Windows Tips & Trick
  • Windows Software
  • Log Out
Have an existing account? Sign In
Follow US
Copyright © 2022. All Rights Reserved.
Ubuntu & LinuxWindows

Fix can’t boot Windows after installing Ubuntu dual boot

duyanh
Last updated: November 10, 2023
By duyanh Published January 6, 2022
Share
SHARE

Table of contents

  1. How to fix Grub2, can’t boot Windows after installing Ubuntu dual boot
    1. The reason why Grub2 error or disappeared
    2. How to Fix GRUB Errors when Dual-Boot Ubuntu and Windows
      1. Method 1: Use Boot-Repair to reinstall grub in Ubuntu (Recommended)
      2. Method 2: Fix can’t boot Windows 10/11 after installing Ubuntu [Command]
      3. Method 3: Fix errors Dual boot Ubuntu vs Windows with BootIce (MBR Legacy)
    3. Link download: BOOTICE_v1.3.3.2.rar | Grub2_Ubuntu.rar

This article, itsmeit will provide guidance on 3 methods to fix Grub2 bootloader, can’t boot Windows after installing Ubuntu or dual-boot Windows and Ubuntu, or after deleting Ubuntu from the computer.

How to fix Grub2, can’t boot Windows after installing Ubuntu dual boot

When installing dual boot windows and ubuntu, a very common error is that the computer goes directly to windows or ubuntu without a menu selection. Caused by the loss of Grub2, this article will guide fix boot error windows and ubuntu dual boot for you for both UEFI and Legacy standard (MBR and GPT).

The reason why Grub2 error or disappeared

  • After installing Ubuntu and Windows in a dual-boot configuration, re-installing either Windows or Ubuntu may result in a Grub2 error.
  • Updating the BIOS can also cause Grub2 to be lost in a UEFI system.
  • Incorrect installation of Grub2 during the Ubuntu install process may result in the computer booting directly into Windows with no option to boot Ubuntu.
  • Failing to update Grub2 can prevent boot to Windows after installing Ubuntu.
  • Updating Windows may cause loss or modification of files necessary for Grub2 to function properly, leading to Grub2 issues.
  • Software bugs may result in improper functioning or missing Grub2.

Don’t worry about the above error(s), itsmeit will guide you on how to reinstall Grub in Ubuntu right below.

How to Fix GRUB Errors when Dual-Boot Ubuntu and Windows

Method 1: Use Boot-Repair to reinstall grub in Ubuntu (Recommended)

The first method mentioned in the article by us for resolving the issue of being unable to boot Windows after installing Ubuntu in a dual-boot setup is highly recommended due to its ease of use and automation, which is achieved through the use of the Boot-Repair tool.

Boot-Repair is an effective software to fix the Grub2 error of not being able to access Windows after installing Ubuntu. The software helps to restore and recreate the Ubuntu boot menu. (Reference)

Requirements: You need a current version of Ubuntu installation USB boot. You can use Rufus to create the bootable USB. Or follow Create USB Boot UEFI-Legacy Multipurpose Hidden Partition post.

Restart the computer and boot from the USB. Then, select “Try Ubuntu“, and connect to the internet. Finally, run the commands listed below to install Boot-Repair and reinstall Grub in Ubuntu.

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair

Boot-Repair tool will automatically scan, select Recommended repair to fix the error. Once it’s done, you just need to restart your computer and select Ubuntu or Windows from the boot menu.

Use Boot-Repair to reinstall grub in Ubuntu
Use Boot-Repair to reinstall grub in Ubuntu fix can’t boot Windows or Ubuntu (illustration)

Method 2: Fix can’t boot Windows 10/11 after installing Ubuntu [Command]

Requirements: Similar to how to use Boot-Repair to reinstall grub for Ubuntu, you need a USB boot Ubuntu. You can create a USB boot with Rufus tool and this second method you need to note will apply exclusively to NVME SSD or SATA SSD (not NVME).

For NVME SSD drives

Restart the computer and boot into the USB then select Try Ubuntu, Then press Ctrl+ALT+T to open Terminal, type sudo fdisk -l

How to can't boot Windows after installing Ubuntu dual boot
How to can’t boot Windows after installing Ubuntu dual boot (illustration)
Fix can't boot Windows 10/11 after installing Ubuntu
Fix can’t boot Windows 10/11 after installing Ubuntu (illustration)

The command fdisk -l will list all the partitions of the hard drives. Identify the partition where Ubuntu is installed by its Linux name (as shown in the picture, the partition is named “nvmeOn1p6”). If you are using a UEFI device and NVME SSD, it is important to also locate the EFI partition (as shown in the picture, the EFI partition is named “nvmeOn1p1“). Make note of the names of these partitions to use in the corresponding command later.

Now enter the following commands one by one, you should copy the command and edit the partition name, double check before proceeding to handle the can’t boot Windows after installing Ubuntu 22.04, 20.04 or Linux.

sudo mount /dev/nvmeon1p6 /mnt
sudo mount /dev/nvmeon1p1 /mnt/boot/efi
sudo arch-chroot /mnt (or) sudo chroot /mnt
grub-install /dev/nvmeOn1p
update-grub

The above command requires root or sudo privileges.

How to fix can't boot Windows after installing Ubuntu
How to fix can’t boot Windows after installing Ubuntu (illustration)

In there:

  • nvmeOn1p6: Ubuntu partition
  • nvmeOn1p1: EFI or ESP partition (For UEFI machines)
  • nvmeOn1p: Dual boot (parallel) Ubuntu and Windows hard drive

Need to replace the correct nvmeOn1p(xx) partitions that you found in the fdisk -l command, the nvmeOn1p symbol is for the new generation SSD NVME hard drive


For SSD drives but not NVME
Fix can't boot windows after installing ubuntu dual boot (illustration)
Fix can’t boot windows after installing ubuntu dual boot (illustration)

Use the command fdisk -l to list all the partitions of the hard drives. See which partition Ubuntu is installed on (Linux name), as shown in the picture above is the  sda7 partition. With UEFI device, you need to see more about where the EFI partition is (pictured above is sda2). Please make note of the names of the partitions mentioned above in order to correctly enter the commands listed below to fix GRUB error Ubuntu.

sudo mount /dev/sda7 /mnt
for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done
sudo chroot /mnt
grub-install /dev/sda
update-grub

Replace the appropriate “sdxx” partitions that you discovered using the “fdisk -l” command. Please note that the “sdxx” symbol represents a non-NVME hard drive. Then, restart the computer. If the GRUB error in Ubuntu persists and you are still unable to enter Windows, double-check the steps to ensure their accuracy. If necessary, you can try the process again or choose a different method.

Method 3: Fix errors Dual boot Ubuntu vs Windows with BootIce (MBR Legacy)

If your hard drive is in Legacy mode but you can’t boot Windows after installing Ubuntu, BootIce provides a quick solution. It can fix the Dual boot issue between Ubuntu and Windows Legacy (BIOS – MBR) by reloading the MBR for the hard drive using the BootIce tool.

Fix unable to boot Windows after installing Ubuntu as dual boot with BootIce (illustration)
Fix unable to boot Windows after installing Ubuntu as dual boot with BootIce (illustration)

Remember to select the correct drive where dual-boot Ubuntu is installed.

Fix errors with BootIce

Select Grub 2.00 -> Restore MBR. Then lead to the file *.bin, this file you download Grub2 Ubuntu.

Fix unable to boot Windows after installing Ubuntu dual boot (illustration)
Fix unable to boot Windows after installing Ubuntu dual boot with the BootIce tool (illustration)

Finally, select the “Restore” option and restart your computer. The error of missing Grub2 when installing Ubuntu and Windows in dual-boot has been resolved, and you can choose between Windows or Ubuntu to boot.

The above are the methods for fixing the error of being can’t boot Windows after installing Ubuntu. You don’t have to worry about using dual boot with the same issues. If you have any questions, please leave a comment below.

Link download: BOOTICE_v1.3.3.2.rar | Grub2_Ubuntu.rar

TAGGED: Boot-Repair Ubuntu, Can t boot Ubuntu after install, can't dual boot ubuntu, Fix dual boot Windows 10 and Ubuntu, Fixing GRUB2 Error Win-Ubuntu, Grub2 Ubuntu download

– Advertising –

Share this Article
Facebook Twitter Pinterest LinkedIn Reddit Telegram
Leave a comment Leave a comment
Subscribe
Connect with
Login
Notify of
guest
Connect with
guest
0 Comments
Inline Feedbacks
View all comments
Previous Article Difference between Apt and Apt-get in Ubuntu or Linux Debian Apt vs Apt-get: Differences in Linux Ubuntu
Next Article How to install FileZilla on Ubuntu 22.04 | 20.04 latest version How to install FileZilla on Ubuntu 22.04 | 20.04 LTS

You Might Also Like

How to install WordPress on Localhost Xampp Windows

How to install Composer on Ubuntu 20.04 | 22.04 & Linux

How to Configure Redis Cache to Speed ​​Up WordPress Site

Install Ibus-bamboo or Ibus-unikey for Accented Letters on Ubuntu 22.04

How to install MariaDB on Ubuntu 22.04, 20.04 and Debian

Stay Connected

Facebook Like
Twitter Follow
Pinterest Pin
Telegram Follow

Popular Posts

Download Plugin Product Video Gallery for Woocommerce v1.5.0
Plugin Product Video Gallery for Woocommerce v1.5.0
November 17, 2023 8 Views
Download Prevent Spam Register Plugin - Block WordPress Spam Accounts
Prevent Spam Register Plugin – Block WordPress Spam Accounts
November 17, 2023 4 Views
Elementor PRO v3.17.0 Plugin (Full Templates Pack + Demo)
Download Plugin Elementor PRO 3.17.0 (+Full Templates Pack)
November 17, 2023 18 Views
Download Newspaper v12.6.1 - WordPress theme News Magazine
Download Newspaper v12.6.1 – WordPress theme News Magazine
November 17, 2023 10 Views
JNews v11.1.3 - WordPress newspaper magazine blog AMP
JNews v11.1.3 – WordPress newspaper magazine blog AMP
November 17, 2023 8 Views
Download Keyword Tool v2.3.3: SEO WordPress Keyword Research Plugin
Keyword Tool v2.3.3: SEO WordPress Keyword Research Plugin
November 17, 2023 9 Views
We provide tips and tricks on Internet technology, computers, servers as well as share experiences for developers and website designers.

DMCA.com Protection Status

Quick Link

  • Ubuntu & Linux
  • Windows

General Policy

  • About US
  • Contact US
  • Disclaimer
  • Privacy Policy
  • Terms of Service

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

itsmeit.bizitsmeit.biz
Follow US
Copyright © 2023. All Rights Reserved.
  • Windows Software
  • Ubuntu & Linux
Welcome Back!

Sign in to your account

Continue with Google
Continue with TikTok
Continue with GitHub
Register Lost your password?