
- Load Ubuntu Bootable USB. Boot your system using Ubuntu bootable CD or USB and select 'Try Ubuntu' when you see the option on Ubuntu Boot screen.
- Launch Terminal. ...
- Install boot repair. ...
- Launch boot repair. ...
- Reboot System.
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 broken Ubuntu OS without reinstalling it?
Fix broken Ubuntu OS without reinstalling it. 1. First of all, try to login with live cd and backup your data in an external drive. Just in case, if this tutorial didn't work, you can still have your data and reinstall everything! 2. At the login screen, press CTRL+ALT+F1 to switch to tty1.
How to remove Ubuntu completely?
Uninstall Ubuntu by Using OS-Uninstaller
- Quickly Log-in on Ubuntu> Press Ctrl + Alt + T to launch the Terminal App
- Install the Uninstaller by keying this command “sudo add-apt-repository ppa:yannUbuntu/os-uninstaller” > Hit Enter
- Key the command “sudo apt-get update; sudo apt-get install -y -os uninstaller $$os-uninstaller” > Hit Enter
How do I repair Ubuntu installation?
Ubuntu Boot Repair
- Objective. Fix an Ubuntu system that won’t boot properly.
- Distributions. Ubuntu 18.04
- Requirements. An Ubuntu install with root privileges, and preferably a second computer to create a live CD.
- Difficulty
- Conventions
- Introduction. No one wants a system that doesn’t boot. ...
- The Easy Way. Believe it or not, there is and easy way. ...
- More Options. ...
- Closing Thoughts. ...

How do I fix broken Ubuntu OS?
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 I boot from USB repair?
How to boot from Windows 10/11 repair tool USBInsert the bootable USB drive to the computer that needs to restore system.Press certain key while starting computer to enter BIOS.Select the USB drive as the first boot option.Access the main interface of AOMEI Backupper to restore system.
How do I fix Ubuntu when it wont boot?
If Ubuntu is not booting, work through these five steps:Check for bootable devices.Is the GRUB bootloader working?Repair the bootloader menu.Reinstall Ubuntu.Replace faulty hardware.
Where is boot Repair in Ubuntu?
Boot Repair is not available in the official package repository of Ubuntu. So you have to install it from the Boot Repair PPA. Now press
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...•
How do I make a Startup Disk Repair?
To create a system repair discOpen Backup and Restore by clicking the Start button, clicking Control Panel, clicking System and Maintenance, and then clicking Backup and Restore.In the left pane, click Create a system repair disc, and then follow the steps.
Can you boot Ubuntu from USB?
Select the top entry, Try Ubuntu without installing, and press return. If your computer doesn't automatically boot from USB, try holding F12 when your computer first starts. With most machines, this will allow you to select the USB device from a system-specific boot menu.
How do I boot Ubuntu as root?
During boot, press and hold Shift (for BIOS) or ESC (for UEFI). This will bring up the Grub2 boot menu from where we can select "recovery mode" (usually the second boot entry). Choose "Resume normal boot" to proceed booting as usual.
What is Ubuntu recovery mode?
The Ubuntu operating system comes with a “recovery mode.” With this feature, users can access the command-line of a broken system, fix a misconfigured file, test if system memory isn't working, and a lot more.
How do I run fsck manually in Linux?
Run fsck on Linux Root PartitionTo do so, power on or reboot your machine through the GUI or by using the terminal: sudo reboot.Press and hold the shift key during boot-up. ... Select Advanced options for Ubuntu.Then, select the entry with (recovery mode) at the end. ... Select fsck from the menu.More items...•
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...•
How do I restore Ubuntu to factory settings?
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 boot Windows from USB recovery?
Make sure the USB recovery drive is connected to the PC. Power on the system and continually tap the F12 key to open the boot selection menu. Use the arrow keys to highlight the USB recovery drive in the list and press Enter. The system will now load the recovery software from the USB drive.
How do I repair Windows 10 with bootable USB?
0:262:00How to Boot or Repair Windows 10 using the Installation MediaYouTubeStart of suggested clipEnd of suggested clipThere select advanced options then select startup repair click on it and follow any prompts. ThisMoreThere select advanced options then select startup repair click on it and follow any prompts. This will begin the repair.
Why is my bootable USB not booting?
Restart the system into the BIOS. Ensure the Boot Mode is set to EFI (or UEFI). This is found in the Boot Options menu. Make sure that the USB Boot Priority is enabled.
How do I reinstall Windows from USB?
Turn on the PC and press the key that opens the boot-device selection menu for the computer, such as the Esc/F10/F12 keys. Select the option that boots the PC from the USB flash drive. Windows Setup starts. Follow the instructions to install Windows.
How to format Ubuntu sdb1?
For a something else install, click on sdb1 and click the Change button. In the drop down box beside Use as: select ext4 and tick the box to format the partition. In the drop down box beside Mount Point, select /. Then click OK and Install Now.
How to shrink SDB1?
Make another usb stick with gparted live on it. Boot from ot and start the tool. Then choose to shrink sdb1 for about 30Gib. You won't lose data this way.
How to rescue the status of your system and not delete a thing?
If you want to rescue the status of your system and not delete a thing you should try using the boot repair disk: Boot repair disk
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.
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.
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.
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.
Description of the problem
There was a problem reading data from the CD-ROM. Please make sure it is in the drive. If retrying does not work, you should check the integrity of your CD-ROM.
How to fix the problem
Make your USB flash drive as per normal (i.e., the one that doesn't work). I use Linux Live USB creator
What does the script do?
I have never gotten Ubuntu on a USB stick to work. I know, I've read tons of comments
Acknowledgements
Thanks to Christopher Hinkle for fixing a problem with the windows version.
Licensing, etc
The good thing about a perl script is that you can look through it with any text editor and make sure it's not doing something nasty. Please feel free to do so. And, if you come up with any improvements, I'd appreciate it if you emailed them back to me so I can add them in.
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 run a utility in the same terminal window?
Finally, you can run the utility. You can use the same terminal window that you’re working in to launch it directly.
Introduction
Today, I was upgrading my Ubuntu LTS system. Unfortunately, the power has gone in the middle of the upgrade process and the system is powered off while upgrading packages.
Fix broken Ubuntu OS without reinstalling it
1. First of all, try to login with live cd and backup your data in an external drive. Just in case, if this tutorial didn't work, you can still have your data and reinstall everything!
Fixing process
If you came across the error something like, ‘Could not get lock /var/lib/apt/lists/lock’ or ‘Could not get lock /var/lib/dpkg/lock’, then you can fix this broken issue by following the step by step guide provided below:
Step 1: Login from Live CD or bootable USB
First of all, sign in using the live CD or bootable USB drive, and back up your data in some external hard drive so that you can save it somewhere else and reinstall the operating system if needed.
Step 2: Remove the lock files
Open tty1 using the keyboard shortcut keys CTRL + ALT + F1, and type the commands provided below to remove the lock files.
Step 3: Reconfigure dpkg
To reconfigure all the packages installed, type the command provided below;
Step 5: update all the packages
After clearing the local repository, update the installed packages with the –fix-missing option.
Step 6: install all broken packages and dependencies
Now, force the package manager to install all the broken packages or missing dependencies using the command provided below:
Step 7: Reboot the system
After fixing everything up, restart eh system using the command provided below:
How to backup flash drive in Linux?
1. To make a backup of your flash drive, first connect it to your computer. Fire up your favorite terminal (or press CTRL + Alt + T ).
What is the best tool to remove bad files from a flash drive?
With the flash drive’s contents backed up, it’s time to try fixing it. For that, you can turn to fsck. This tool is great for removing bad file blocks, as most (if not all) corruption and unreadability comes from problems like this.
Does a USB drive die?
Once in a great while, a USB drive just dies…hardly ever, though.
Can flash drive be corrupted?
However, sometimes flash drives can get corrupted or just flat-out quit working. Thankfully, if you’re using Linux, you already have access to an array of tools that can help you fix the problem. We are using Ubuntu for this tutorial, but everything applies to most modern Linux distributions.
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.
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.
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.
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.
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.
:max_bytes(150000):strip_icc()/004-fix-usb-drive-with-ubuntu-4050141-65a90536c2ae44f7aec723bcb0588d2e.jpg)
Conventions
- Boot your system using Ubuntu bootable CD or USB and select ‘Try Ubuntu’ when you see the option on Ubuntu Boot screen.
Introduction
The Easy Way
More Options
- # – 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
Closing Thoughts
- 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.