Skip to content
:: Ahmad Bakdash ::

:: Ahmad Bakdash ::

Nooo , don't be earnest

Install Ubuntu GRUB boot repair

Posted on November 7, 2021January 24, 2023 By ubuntu 1 Comment on Install Ubuntu GRUB boot repair
 In your Linux life time, you may have faced many boot issues.
 Like you experimented with some stuff and later you found out that you can’t
 boot into your precious Linux operating system at all!some times 
 installing windows after Ubuntu on same hard disk ...etc

As example ,If you install Windows operating system after you’ve installed a Linux distribution such as Ubuntu, you won’t be able to boot into your Linux operating system. Boot Repair can help.

Anything can go wrong while multi-booting Linux operating systems. Boot Repair can help as well.

Installing Boot Repair:

Try repairing the GRUB bootloader with Boot Repair. Boot to an Ubuntu live session from the live USB/DVD that you used to install Ubuntu. While running an Ubuntu live session open the terminal and type:

Try Ubuntu without installing

from the GRUB menu as shown in the screenshot below


From an Ubuntu live session open the terminal and type:

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

Open the Boot Repair application and select Advanced Options -> Main Options tab -> check Reinstall GRUB and Unhide boot menu as shown in the below screenshot. Click the Apply button. Then reboot the computer with sudo reboot

enter image description here

After  reboot , you’ll  see GRUB boot menu and boot to your Ubuntu and login .
now if you want to add windows OS to your GRUB menu ,  open terminal and run this
sudo update-grub && sudo reboot

you can also try Boot-Repair-Disk, and runs automatically Boot-Repair rescue tool at start-up

you can download it here

If the OSs were installed in different modes, dual booting Windows and Ubuntu with grub can’t work. If your Windows is installed in BIOS mode, it is recommended to install your Ubuntu in BIOS mode, but if it’s installed in UEFI mode, then do the same with Ubuntu. To check if your Windows is installed in UEFI, press the keyboard combination Windows + r then enter the command msinfo32 in the Run window. In the new window that opens up look for the entry after where it says BIOS Mode.

enter image description here
          BIOS vs. UEFI

If you have installed Ubuntu in legacy mode on the same drive with GPT partitioning, you can use Boot Repair’s Advanced options to uninstall grub-pc and install grub-efi-amd64. That converts the Ubuntu installation from BIOS boot to UEFI boot, the same firmware as most recently manufactured laptops with Windows pre-installed have.

Converting Ubuntu into UEFI mode

  1. Start Boot-Repair, and select Advanced options -> GRUB location tab.
  2. If you do not see a Separate /boot/efi partition option, this means that your PC does not have any UEFI partition.
  3. If you see a Separate /boot/efi partition option, put a checkmark in the checkbox to the left of it, then click the Apply button in the lower right corner.
enter image description here
  1. Set up your BIOS so that it boots the hard drive in UEFI mode. The way to adjust this setting depends on the specific model of the computer, but generally this setting is located in the boot priority settings under the Boot tab of the BIOS/UEFI setup utility.

Converting Ubuntu into BIOS mode

Note: Use this procedure only to convert an UEFI mode Ubuntu installation to boot in BIOS/CSM/legacy mode. Such a conversion may be necessary if some hardware doesn’t work correctly under UEFI mode. (Graphics cards are a common source of problems.) Converting to boot in BIOS/CSM/legacy mode while Windows boots in UEFI mode can make the boot process more awkward — you’ll need to use the computer’s built-in boot manager to switch between OSs, and some computer’s have such poor boot managers that this may be impossible.

  • If Ubuntu is installed on a GPT disk (you can check it via the sudo parted -l command), use GParted partition editor to create a BIOS-Boot partition (1MB, unformatted filesystem, bios_grub flag) at the start of its disk.
  • Start Boot-Repair, and select Advanced options -> GRUB location tab.
  • Uncheck the Separate /boot/efi partition option
Uncheck the Separate /boot/efi partition option
  • Click the Apply button in the lower right corner.
  • Set up your BIOS so that it boots the HDD in Legacy mode. Generally this setting is located in the Boot tab → Boot order section of the BIOS.

Converting Windows into GPT mode

MBR2GPT.exe is a command line tool which is located in the System32 folder in Windows 10. With it you can effectively and non-destructively convert a Windows 10 OS disk from MBR (for Legacy BIOS) to GPT partition style (for UEFI) without modifying/deleting any data on the disk or making a clean installation of Windows 10.

source:
https://linuxhint.com/ubuntu_boot_repair_tutorial/

https://itectec.com/ubuntu/ubuntu-black-screen-after-selecting-an-option-from-grub-boot-menu/

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Telegram (Opens in new window) Telegram

Like this:

Like Loading...

Related

Open Source, OS, programing, Tools, Ubuntu, Windows Tags:dual boo, ubuntu tips

Post navigation

Previous Post: Using Diskpart to repartition a USB stick on windows Os
Next Post: How to Install Docker On Ubuntu 20.04 LTS.

More Related Articles

How to Block an App From Accessing the Internet with Windows Firewall? Windows
How to install VirtualBox on Ubuntu 20.04 (Syria) OS
How to install VPNGate on Ubuntu 20.04 Network
How to unrar unzip in Ubuntu Ubuntu
استعادة الملفات المحذوفه عبر استخدام photorec في لينكس Open Source
How to Install Docker On Ubuntu 20.04 LTS. Open Source
How to install VPNGate on Ubuntu17.10 (update 18.04) Network
Install Wine on Ubuntu 20.04 LTS. programing

Comment (1) on “Install Ubuntu GRUB boot repair”

  1. Don says:
    June 10, 2022 at 11:27 pm

    boot-repairv didn’t work for me removed the v and it installed

    Loading...
    Reply

Leave a ReplyCancel reply

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1 other subscriber

Recent Posts

  • How to Install VPNGate on Ubuntu 21.10, Kali linux, and windows 10
  • How to install Ubuntu Server 21.10 step by step.
  • How to Install Docker On Ubuntu 20.04 LTS.
  • Install Ubuntu GRUB boot repair
  • Using Diskpart to repartition a USB stick on windows Os

Recent Comments

  • Don on Install Ubuntu GRUB boot repair
  • Md Zayed on How to add text-to-speech to GoldenDict?

Woo

dictionary Docker dual boo freevpn kali nginx photorec raspberry softether ubuntu server ubuntu tips usb VPNGate windows wordpress error

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Copyright © 2025 :: Ahmad Bakdash ::.

Powered by PressBook Blog WordPress theme

 

Loading Comments...
 

    %d