
- boot to the GRUB menu.
- choose Advanced Options.
- choose Recovery mode.
- choose Root access.
- at the # prompt, type sudo fsck -f /.
- repeat the fsck command if there were errors.
- type reboot.
Full Answer
How do I fix a broken package in Ubuntu?
Method 1: Using apt-get. More often than not, a broken package that broke after it was installed can be relatively easy to fix, thanks to a built-in tool inside of apt-get. Performing the following commands will try and fix any broken packages currently installed on your system: sudo apt-get update --fix-missing sudo apt-get install -f.
How to fix GRUB bootloader error in Ubuntu 16 04?
The below mentioned process was followed on Ubuntu 16.04, but it should work on any previous or newer versions of Ubuntu too. We will be using a well known tool “Boot Repair” to accomplish this task. Boot Repair is the most commonly used tool to fix errors regarding Grub boot loader.
How do I fix Ubuntu not playing videos?
To check the file system on your Ubuntu partition... If for some reason you can't do the above... If that doesn't solve your problem, boot to the GRUB menu, hit the e key, find "quiet splash" and change it to "quiet splash nomodeset", then control - x to continue to boot. Reinstall your video drivers.
Why is my screen purple when I start Ubuntu?
Since you see purple screen that means you boot past Grub. The next culprit is login/display manager (lightdm in Ubuntu 16.04 LTS) which fails to load properly. It could be that configuration of login/display manager is disturbed or some files really get corrupt.

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 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 recover Ubuntu?
To open the GRUB Recovery Mode, press F11, F12, Esc or Shift during startup. note: If you cannot access the Recovery Menu by pressing F11, try pressing the F12 key instead. Select Restore Ubuntu xx.
How do I reinstall Ubuntu without losing data?
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.
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...•
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 repair Linux from terminal?
Repair Corrupted File SystemIf you don't know the device name, use fdisk , df , or any other tool to find it.Unmount the device: sudo umount /dev/sdc1.Run fsck to repair the file system: sudo fsck -p /dev/sdc1. ... Once the file system is repaired, mount the partition: sudo mount /dev/sdc1.
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 wipe and reinstall Ubuntu?
1 AnswerUse Ubuntu live disk to boot up.Select Install Ubuntu on hard disk.Keep on following the wizard.Select the Erase Ubuntu and reinstall option.
Does reinstalling Ubuntu delete my files?
You can reinstall Ubuntu without erase your personal data (the one in the /home).
Should I erase disk and install Ubuntu?
If you want to remove Windows and replace it with Ubuntu, choose Erase disk and install Ubuntu. All of the files on the disk will be deleted before Ubuntu is put on it, so make sure you have backup copies of anything you wanted to keep.
Can you upgrade Ubuntu without reinstalling?
Being able to upgrade Ubuntu from one version to the next is one of Ubuntu's best features. You benefit from getting the latest software, including new security patches, and all the upgraded technology that comes with a new release without having to reinstall and reconfigure your system.
How do I wipe and reinstall Ubuntu?
1 AnswerUse Ubuntu live disk to boot up.Select Install Ubuntu on hard disk.Keep on following the wizard.Select the Erase Ubuntu and reinstall option.
Can you upgrade Ubuntu without reinstalling?
Being able to upgrade Ubuntu from one version to the next is one of Ubuntu's best features. You benefit from getting the latest software, including new security patches, and all the upgraded technology that comes with a new release without having to reinstall and reconfigure your system.
How do I restore Ubuntu 16.04 to factory settings?
Reset Dell OEM Ubuntu Linux 14.04 and 16.04 Developer Edition to factory state
How do I reinstall Ubuntu 18.04 without losing data?
Reinstalling Ubuntu with separate home partition without losing data. Tutorial with screenshots.
How do I start Ubuntu in recovery mode?
To start Ubuntu into safe mode (Recovery Mode) hold down the left Shift key as the computer starts to boot. If holding the Shift key doesn’t display the menu press the Esc key repeatedly to display the GRUB 2 menu. From there you can choose the recovery option. On 12.10 the Tab key works for me.
How do I fix black screen on Ubuntu?
The solution is to boot Ubuntu once in nomodeset mode (your screen may look weird) to bypass the black screen, download and install the drivers, and then reboot to fix it for ever. Start your computer, and press the Right Shift when booting up, to get the Grub menu.
How do I fix terminal in Ubuntu?
Open the terminal. The terminal is the app that has an image a black screen with a prompt in the upper-left corner.
How do I boot Ubuntu after installation?
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.
What is Ubuntu Upstart mode?
Upstart is an event-based replacement for the /sbin/init daemon which handles starting of tasks and services during boot, stopping them during shutdown and supervising them while the system is running. systemd is a suite of basic building blocks for a Linux system.
Why do packages break in Ubuntu?
Whether it’s a bad install, a bad configuration, or if something externally modified the files after installation, packages can sometimes go wrong and not work anymore, making them ‘broken’. This can also affect apt-get, the built-in package manager, which can lead to you being unable to install any additional packages, updating them, or even removing any altogether.
Can you fix a broken package in apt-get?
More often than not, a broken package that broke after it was installed can be relatively easy to fix, thanks to a built-in tool inside of apt-get. Performing the following commands will try and fix any broken packages currently installed on your system: (the -f option is short for fix-broken.)
What is a boot repair?
Boot Repair is the most commonly used tool to fix errors regarding Grub boot loader. First of all arrange a Live CD/DVD/ USB for Ubuntu and boot your system using this media (If you are looking to repair Grub, chances are you are already on the stage where system is un-bootable into current operating system, so yes its a valid request to use Live CD/DVD/USB at this point ).
Why is my grub broken?
There might be many reasons for broken Grub, especially if you are running multiple operating systems or your system faced power down issues during important updates/installation processes. It’s good to have such a nice, free application like Boot Repair, as it helps resolving boot issues with your system.
How do I fix Ubuntu when it wont boot?
Repair the GRUB Bootloader. If GRUB is not loading, you can repair it using the Ubuntu installation disc or USB stick. Restart the computer with the disc inserted, and wait for it to load up. You may need to change your computer’s boot order in the system BIOS to ensure that the disk boots.
How do I reinstall Ubuntu 18.04 without losing data?
Reinstalling Ubuntu with separate home partition without losing data. Tutorial with screenshots.
How do I reinstall Ubuntu from recovery mode?
Restart Ubuntu. In order to boot into the GRUB menu on Ubuntu, you will need to reboot Ubuntu.
How do I launch Ubuntu from terminal?
Press CTRL + ALT + F1 or any other function (F) key up to F7 , which takes you back to your “GUI” terminal. These should drop you into a text-mode terminal for each different function key. Basically hold down SHIFT as you boot up to get the Grub menu.
What is Ubuntu recovery mode?
Booting into recovery mode. Note: UEFI fast boot may be too fast to give time to press any key. With BIOS, quickly press and hold the Shift key, which will bring up the GNU GRUB menu. (If you see the Ubuntu logo, you’ve missed the point where you can enter the GRUB menu.)
How do I restore Ubuntu to a previous date?
To restore your Ubuntu system, select the restore point of your choice and click System restore option found under Function menu. In the next window, select whether you want to do full system restore or just the System files restore. Also, you can choose whether you want to restore user (s) configuration files.
Can I install Ubuntu without CD or USB?
You can use UNetbootin to install Ubuntu 15.04 from Windows 7 into a dual boot system without the use of a cd/dvd or a USB drive.
