Mount the root of the installed Ubuntu at /mnt.
You can install Grub2 for USB, or HDD, or even a memory card. There are many possible causes to a GRUB break: Windows writing on the MBR, DRM preventing GRUB from installing correctly, installer bug, hardware change. Here I will extract the grub-2.02-for-windows directory to the C: drive. When GRUB is broken, the user generally does not have access to systems, so repair must be performed from a live-session (live-CD or live-USB). Open the terminal and run sudo fdisk -l to see where Linux is installed.6 Answers Boot from LiveCD ⋯ please try to use a LiveCD that has the same version of Grub2 as the installed version. Once downloaded, you need to extract the downloaded file above.
This tool is free and available for Windows and Linux (Ubuntu and derivatives). In any case, the Boot Repair utility can work like charm. inserting the boot usb and copying the /boot folder to the root of the boot usb running grub-install /dev/sdX (the boot usb device) It ended up still being excruciatingly slow so I gave up and installed pve on a ssd partition on, still having to use the boot usb to boot as the HP microserver is very limited in selecting boot devices. In some rare cases, the boot partition may become corrupted or badly configured. Upon completion of these bootloader instructions, your USB flash drive should be Grub2 bootable from UEFI or BIOS on all computer systems. We will be using the grub-install.exe that ships with the grub-for-windows zip file. The following covers the process of installing Grub2 on a USB Flash Drive from within Windows. Type command ls to see available devices. First, check if GRUB detects your USB drive. When the GRUB screen appear, press C or ESC to go to the GRUB console. If you have your bootable USB drive, insert it into the computer.
How do I fix grub bootloader after installing Windows? In the case of Linux, misconfiguration in the GRUB settings is mostly the cause of the issue. How to Install Grub2 on USB from Windows. If not, you can use a tool called Unetbootin to create a bootable USB drive.
How do I add Windows Boot Manager to grub? Boot-Repair is a simple tool to repair frequent boot issues you may encounter in Ubuntu like when you cant boot Ubuntu after installing Windows or another Linux distribution, or when you cant boot Windows after installing Ubuntu, or when GRUB is not displayed anymore, some upgrade breaks GRUB, etc.
How do I use Windows boot manager instead of grub?.How do I rescue and reinstall GRUB bootloader Ubuntu?.How do I fix grub bootloader after installing Windows?.