
Recommended repair
- launch Boot-Repair from either : the Dash (the Ubuntu logo at the top-left of the screen) or by typing 'boot-repair' in a terminal
- Then click the "Recommended repair" button. When repair is finished, note the URL ( paste.ubuntu.com/XXXXX) that appeared on a paper, then reboot and check if you recovered access to your ...
- If the repair did not succeed, indicate the URL to people who help you by email or forum.
- Step 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 get rid of Ubuntu?
- Launch PowerMyMac on your Mac and you will see your Mac’ System status.
- Choose App Uninstaller on the left column and click Scan to allow PowerMyMac to find all your apps on Mac.
- After scanning, select Ubuntu from the list of the scanning results as well as its related files.
How to remove Ubuntu from your PC?
Second Case - Uninstall Ubuntu by removing multi-boot
- Remove all Ubuntu partitions from your drive
- Erase the GRUB sector boot of the main hard drive then install any conventional initiator of your choice
- Restart the PC with a Live CD (Try this without installing)
- Navigate to System – Administration – Gparted
How do I reboot Ubuntu?
Use systemd command
- Use reboot command
- Use shutdown command
- Use systemd command
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 do I fix Ubuntu Not Working?
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.
How do I fix corrupt files in Ubuntu?
In the toolbar underneath the Volumes section, click the menu button. Then click Repair Filesystem…. Depending on how much data is stored in the filesystem a repair may take longer time. Confirm to start the action in the dialog that pops up.
How do I completely reinstall Ubuntu?
Here are the steps to follow for reinstalling Ubuntu.Step 1: Create a live USB. First, download Ubuntu from its website. You can download whichever Ubuntu version you want to use. Download Ubuntu. ... Step 2: Reinstall Ubuntu. Once you have got the live USB of Ubuntu, plugin the USB. Reboot your system.
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 can I fix Ubuntu OS without reinstalling it?
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 factory reset Ubuntu from terminal?
There is no such thing as factory reset in ubuntu. You have to run a live disk/usb drive of any linux distro and backup your data and then reinstall ubuntu.
What is Ubuntu recovery mode?
If your system fails to boot for whatever reason, it may be useful to boot it into recovery mode. This mode just loads some basic services and drops you into command line mode. You are then logged in as root (the superuser) and can repair your system using command line tools.
How do I reformat Ubuntu?
How to Format a Hard Drive in UbuntuCollect information about your new hard drive. ... Click "System", select "Administration" and choose "Partition Editor," which is sometimes labeled "GNOME Partition Editor". ... Check the settings for the disk. ... Choose the drive format based on your expected use. ... Click "Apply."
How do I use grub command line?
Booting From grub> The first line sets the partition that the root filesystem is on. The second line tells GRUB the location of the kernel you want to use. Start typing /boot/vmli , and then use tab-completion to fill in the rest. Type root=/dev/sdX to set the location of the root filesystem.
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 I rebuild grub?
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 fix a corrupted file system?
How to Fix Corrupted FilesPerform a check disk on the hard drive. Running this tool scans the hard drive and attempts to recover bad sectors. ... Use the CHKDSK command. This is the command version of the tool we looked at above. ... Use the SFC /scannow command. ... Change the file format. ... Use file repair software.
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 I fix file system error in Linux?
Repairing Linux File System on Boot-TimeRestart your machine, press [Esc] or [Shift] and select Advanced Options on the resulting boot menu. ... Select Recovery Mode and choose the fsck option from the resulting list of menu options. ... Hit [Enter] and choose the fsck menu option.More items...•
How do I check system errors in Ubuntu?
Apport is an ubuntu functionality which reports errors in ubuntu....sudo rm /var/crash/* will delete old crashes and stop informing you about them until some package crashes again.You can stop the service with sudo systemctl disable apport (and enable it again with sudo systemctl enable apport )More items...•
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.

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…