
- Insert your Ubuntu CD, reboot your computer and set it to boot from CD in the BIOS and boot into a live session. You can also use a LiveUSB if you have created one in the past.
- Install and run Boot-Repair.
- Click "Recommended Repair".
- Now reboot your system. The usual GRUB boot menu should appear.
How to manually install bootloader for Ubuntu?
To do that, follow the steps given below:
- Boot into Windows 10.
- Press the Windows + R keys to open the Run utility.
- Type cmd and press Ctrl + Shift + Enter to open an elevated Command Prompt.
- Now, type the following command and press Enter: bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi
How to repair Ubuntu easily?
The Easy Way
- Create Your Live CD/USB. If you don’t already have one, create a live medium to work off of. ...
- Add The PPA. It might seem counter-intuitive, but you can enable a PPA and install software on a live CD. ...
- Install Boot-Repair. Now, you can install Boot-Repair like you normally would with Apt.
- Run The Utility. Finally, you can run the utility. ...
How to fix Ubuntu boot issues?
- Backup partition table
- Backup device boot sectors
- Install GRUB bootloader
- Configure GRUB bootloader
- Add kernel options
- Change the default OS in GRUB
- Restore a Windows compatible MBR
- Repair a broken filesystem
- And many more.
How to repair boot in Ubuntu?
How to Repair Ubuntu If It Won’t Boot. Once you see the GRUB boot menu, you’ll find options to repair your system. You need to choose the ‘Advanced options for Ubuntu’ option with the help of arrow keys and press enter. A submenu will be open, on that choose ‘Ubuntu .. (recovery mode) and press enter.

How do I reinstall GRUB bootloader?
ResolutionPlace your SLES/SLED 10 CD 1 or DVD in the drive and boot up to the CD or DVD. ... Enter the command "fdisk -l". ... Enter the command "mount /dev/sda2 /mnt". ... Enter the command "grub-install --root-directory=/mnt /dev/sda". ... Once this command completes successfully reboot your system by entering the command "reboot".
How do I run boot repair?
Method 1: Startup Repair toolStart the system to the installation media for the installed version of Windows. ... On the Install Windows screen, select Next > Repair your computer.On the Choose an option screen, select Troubleshoot.On the Advanced options screen, select Startup Repair.More items...•
Can you repair Ubuntu from USB?
Repair GRUB If You Can't Access It You can use an Ubuntu installation disc or USB drive to do this. Boot into the USB drive and use the the Linux system to repair GRUB. We have a guide to reinstalling the GRUB2 boot loader on Ubuntu, either with a graphical Boot Repair tool or by using standard Linux terminal commands.
How do I repair installed Ubuntu?
How to Fix Broken Ubuntu 20.04 without Reinstalling ItStep 1: Login from Live CD or bootable USB. ... Step 2: Remove the lock files. ... Step 3: Reconfigure dpkg. ... Step 4: Clean local repository. ... Step 5: update all the packages. ... Step 6: install all broken packages and dependencies. ... Step 7: Reboot the system.
How do you fix a broken grub?
Another way to fix your GRUB boot issues is to use a Linux live image to boot from an external device.Download a live Linux installer. ... Use a tool such as Etcher to write the Linux image to an SD card or a USB flash drive.Insert the bootable device and start the computer.Select Try Ubuntu on the welcome screen.More items...•
What is a boot repair disk?
Boot Repair Disk is an open source rescue disk which can detect and fix many Windows and Linux boot problems: a corrupt boot sector, master boot record, GRUB issues, whatever (almost) they might be. While this can be a horribly complex area, Boot Repair keeps everything very simple.
How do I fix Ubuntu problems?
How to Fix Broken Packages in UbuntuCheck for Updates.Force APT to Correct Missing Dependencies or Broken Packages.Force Reconfigure or Remove Broken Packages with DPKG.Resolve DPKG Lock Issue.
How do I fix grub bootloader after deleting Ubuntu partition?
Solution:Turn on laptop and boot into Ubuntu OS.Launch the command Terminal(Ctrl+Alt+T) from Ubuntu.Type in the command in the terminal window: sudo update-grub.Hit Enter Key.Type in your sudo password when prompt to execute your command.
How do I restore Ubuntu 20.04 to factory settings?
To start with automatic reset, follow the below steps:Click on Automatic Reset option in the Resetter window. ... Then it will list all the packages that it will be going to remove. ... It will start the reset process and creates a default user and will provide you with credentials. ... When finished, reboot your system.
How do I fix corrupted grub in Ubuntu?
The graphical wayInsert your Ubuntu CD, reboot your computer and set it to boot from CD in the BIOS and boot into a live session. You can also use a LiveUSB if you have created one in the past.Install and run Boot-Repair.Click "Recommended Repair".Now reboot your system. The usual GRUB boot menu should appear.
Can you repair Ubuntu?
Boot-Repair is a simple tool to repair frequent boot issues you may encounter in Ubuntu like when you can't boot Ubuntu after installing Windows or another Linux distribution, or when you can't boot Windows after installing Ubuntu, or when GRUB is not displayed anymore, some upgrade breaks GRUB, etc.
How do I completely reset Ubuntu?
The only foolproof way to factory reset Ubuntu is to do a fresh install. Just backup your home folder and other required files, make a bootable USB and you are ready to go. Reinstalling Ubuntu probably will be much faster than say Windows 10 doing a factory reset, which can drag on for hours.
How do I run repair mode in Windows 10?
Press Windows logo key + L to get to the sign-in screen. Then restart your PC by pressing the Shift key while you select the Power button > Restart .
How do I run a repair on Windows 10?
To run a troubleshooter:Select Start > Settings > Update & Security > Troubleshoot, or select the Find troubleshooters shortcut at the end of this topic.Select the type of troubleshooting you want to do, then select Run the troubleshooter.Allow the troubleshooter to run and then answer any questions on the screen.
How do I run Startup Repair from Command Prompt?
And then you'll need to click Advanced options.Click Startup Repair.Click System Restore.Select your username.Enter your password.Type "cmd" into the main search box.Right click on Command Prompt and select Run as Administrator.Type sfc /scannow at command prompt and hit Enter.More items...•
How do I boot to Command Prompt?
How to Boot to Command Prompt Open the Windows Start menu. Click the Power icon. Hold down the "Shift" key. Click "Restart" as you continue holding down Shift. Release the Shift key when you see a blue screen. Open the Troubleshoot menu. View your advanced options. Access the command prompt.More items...•
What happens after a GRUB bootloader is repaired?
After a successful GRUB bootloader repair, a ‘Boot successfully repaired’ message will appears on your screen. It will provide a URL where you will find all the information regarding the boot repair. You can now reboot and system and boot your system with the repaired GRUB bootloader.
Why use Ubuntu server ISO?
Using a Ubuntu server ISO file to repair a Ubuntu desktop or server is clever because the ISO server file size is smaller than the desktop LTS file. It takes a short time to make a bootable file and quick to boot. Here, we will see how to use the Ubuntu server ISO file to recover and repair the GRUB bootloader file on Ubuntu.
Why is my Grub file damaged?
One of the major reasons for damaging the GRUB files is having multiple bootloader directories for different distributions and operating systems. Using Ubuntu and Windows together in a dual boot system is commonly used very often.
What do you need to do when a USB stick boos?
When it boos successfully, you need to select the language, keyboard format, and other configurations to start with the live USB stick.
Can you run sudo on a live USB?
As we are using the live USB disk, we won’t require any root privileges to run the sudo commands. Now, make sure that you have an active internet connection on your computer. You can now the following commands to install the GRUB bootloader repair tool on your system.
Can you run a live test on Linux?
Final Words. One of Linux’s ISO files’ best features lets you look at it before installing it on your machine. You can run a live test on your system; later, you can choose if you want to install it or not. This feature is not only helpful to test drives; it can help to recover your operating system if you accidentally remove or mess up with ...
Can you repair a Ubuntu bootloader?
Till now, we have used a live CD/USB disk of the Ubuntu desktop/server to repair the GRUB bootloader. There are options to repair the bootloader with a dedicated GRUB bootloader ISO file. You can download the GRUB loader ISO file and make it bootable instead of using the desktop/server ISO file.
Where to install bootloader?
Usually, you should install the boot loader on your first machine hard disk MBR, which is / dev/sda in most cases. The installation process of GRUB will start as soon as you hit the Enter key.
How to boot Ubuntu live image?
1. After you’ve downloaded and burned the Ubuntu ISO image, or created a bootable USB stick, place the bootable media into your appropriate machine drive, reboot the machine and instruct the BIOS to boot into Ubuntu live image. Machine Boot Menu. 2.
How to reinstall a broken grub?
There are a lot of methods in Linux that can be used to re-install a broken grub, some can involve the ability to work and restore the boot loader by using the Linux command line and others are fairly simple and implies booting the hardware with a Linux live CD and using the GUI indications to repair the damaged boot loader.
What command to use to identify hard disk devices?
16. After the shell has been opened in the root file system, execute ls command as presented below in order to identify your machine hard disk devices.
Can Ubuntu 16.04 rescue grub?
This procedure has been successfully tested on an Ubuntu 16.04 server edition with the Grub boot loader damaged. However, this tutorial will only cover Ubuntu server GRUB rescue procedure, although the same procedure can be successfully applied on any Ubuntu system or on the majority of Debian-based distributions.
How to get to recovery mode in Ubuntu?
When you start up your Ubuntu PC, hold down the Shift key. The GRUB menu will pop open. Select the “Advanced Options” entry. It’ll probably be the second one from the top. From there, you’ll see several different kernel options. Under each one will be an identical entry with (recovery mode) at the end. Select the recovery entry for the latest kernel.
How to get to Advanced Options in Ubuntu?
Select the "Advanced Options" entry. It'll probably be the second one from the top. From there, you'll see several different kernel options. Under each one will be an identical entry with (recovery mode) at the end. Select the recovery entry for the latest kernel.
How to use live medium in Ubuntu?
When you have your live medium, insert it in your non-booting computer and start it up. Select the medium through your motherboard’s boot options. When Ubuntu comes up, select the “Try Ubuntu” option.
Can you shut down Ubuntu and remove the live medium?
You can now shut down Ubuntu and remove the live medium when you’re prompted to do so. Boot back up into your normal Ubuntu system to see if everything worked.
Can Ubuntu live CD repair my system?
There's a utility that you can run from an Ubuntu live CD/USB that automatically repairs your system. You don't have to worry about the specifics or even diagnose the problem. It automatically runs through with the click of a button. So, that's probably a good first option.
Can you boot normally after thining?
After you thin you have your system sorted out, you can try to boot normally with resume.
Can you use a live CD to fix a broken Ubuntu install?
Nothing is perfect, and sometimes an install is just broken. If you’re looking for a last resort measure to rescue your system, you can always try using a live CD and chrooting into your broken install. As always, there are no guarantees, but it will get you access to make backups and try some other methods for debugging and eventually fixing Ubuntu.
What is a boot repair?
Boot-Repair is a simple tool to repair frequent boot issues you may encounter in Ubuntu like when you can't boot Ubuntu after installing Windows or another Linux distribution, or when you can't boot Windows after installing Ubuntu, or when GRUB is not displayed anymore, some upgrade breaks GRUB, etc.
What is pastebin in Ubuntu?
Ubuntu's Pastebin is not easily indexable or searchable , and purpose of the tool which creates this page (Boot-Info) is meant to be a very benign and helpful solution to the problem. The intention is not violate your privacy, nor is it meant to make you a target. This tool is aimed entirely at those new to Ubuntu who want to get past their booting issues and enjoy using Linux. If you'd like to, you may completely opt out of all internet usage including pastebin link generation by looking at the Advanced Options section below. Please do not use this software if this is a problem for you.
Why won't Ubuntu boot?
If you don’t see a menu with a list of boot options appear, the GRUB boot loader may have been overwritten, preventing Ubuntu from booting. This can happen if you install Windows on a drive after installing Ubuntu or another Linux distribution on it. Windows writes its own boot loader to the boot sector, and you won’t be able to boot Ubuntu until you reinstall GRUB.
How to check if you have a Grub2 bootloader?
The first thing to check is whether you can access the GRUB2 boot loader. Boot your computer while holding the Shift key. If you see a menu with a list of operating systems appear, you’ve accessed the GRUB boot loader.
How to use recovery mode in Ubuntu?
Use Recovery Mode If You Can Access GRUB. If you do see the GRUB boot menu, you can use the options in GRUB to help repair your system. Select the “Advanced options for Ubuntu” menu option by pressing your arrow keys and then press Enter. Use the arrow keys to select the “Ubuntu … (recovery mode)” option in the submenu and press Enter.
What is a Grub boot?
GRUB will boot your Ubuntu system in a very minimal recovery mode menu, skipping the majority of the system services and all the graphical applications that load. It will even load your file system in a safe read-only mode.
What to do if you can't access Grub?
If you can’t access GRUB, you’ll need to repair it. You can use an Ubuntu installation disc or USB drive to do this . Boot into the USB drive and use the the Linux system to repair GRUB. We have a guide to reinstalling the GRUB2 boot loader on Ubuntu, either with a graphical Boot Repair tool or by using standard Linux terminal commands.
How to back up Ubuntu files?
From here, open the file manager and access the files stored on your Ubuntu system drive. Connect some sort of external storage — such as a USB flash drive or external hard drive — to the computer and use the graphical file manager to back up your files.
What does reinstalling Ubuntu do?
The Reinstall option will wipe away all your system-wide settings and return them to their defaults, but that should fix problems that misconfigured system settings could cause. Advertisement. Select this option and continue through the process to reinstall Ubuntu on your computer.

Conventions
- # – requires given linux command to be executed with root privileges either directly as a root user or by use of sudocommand
- $ – given linux commandto be executed as a regular non-privileged user
Introduction
- No one wants a system that doesn’t boot. It’s about as bad and frustrating as any technical problem gets, and more often than not, it feels like the system is totally shot. Fear not, though, Ubuntu has a couple of convenient ways to help repair your computer and get things back to normal.
The Easy Way
- Believe it or not, there isand easy way. There’s a utility that you can run from an Ubuntu live CD/USB that automatically repairs your system. You don’t have to worry about the specifics or even diagnose the problem. It automatically runs through with the click of a button. So, that’s probably a good first option.
More Options
- If you think you know what the problem is, you can always try the default Ubuntu way of fixing boot problems. Included with every Ubuntu install is a series of fail-safe options that allow you to more easily recover a non-booting system. They let you take the reigns a bit more than the Boot-Repair utility, but they also allow you more options to mess up your system. If you’re going to go …
Closing Thoughts
- With any luck, these tips helped you save your Ubuntu PC. Remember to be careful when running any kind of repair. There’s always the chance of things going wrong or unintended consequences. Nothing is perfect, and sometimes an install is just broken. If you’re looking for a last resort measure to rescue your system, you can always try using a live CD and chrooting into your broke…