5

I recently installed Ubuntu. Everything was working just fine until I wanted to change the selected driver for my laptop (Lenovo Y50) under the Additional Drivers tab in settings.

I added the ppa: graphics-drivers software source and then I selected the latest available driver. I don't remember the version. Then I proceeded to restart my computer, but now it just gets stuck at a black screen with the message /dev/sda2: clean, 290961/14106624 files, 4246276/56401920 blocks.

I can't use the CTRL + ALT + F1 (or F2...etc) shortcut, literally nothing happens when I try.

  • 1
    The latest driver from ppa:graphics-drivers/ppa is nvidia-graphics-drivers-378. – karel Apr 8 '17 at 9:26
6
  1. Immediately after the BIOS/UEFI splash screen during boot, 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.) With UEFI press (perhaps several times) the Esc key to get to the GRUB menu. Sometimes the manufacturer's splash screen is a part of the Windows bootloader, so when you power up the machine it goes straight to the GRUB screen, and then pressing Shift is unnecessary.
  2. From the first purple GNU GRUB screen select Advanced options for Ubuntu with the ↑ and ↓ keys and press Enter. You will then be prompted by a menu that looks something like this:

    enter image description here

  3. Press the down arrow key until you select the second entry from the top (the one with the recovery mode in the description) and then press Enter.

    Now you should see this menu:

    enter image description here

  4. Using the arrow keys scroll down to root and then press Enter twice.

    You should now see a root prompt, something like this:

    root@ubuntu:~#
    
  5. At this stage you should have a read-only filesystem. You have to remount it with write permissions:

    mount -o rw,remount /
    
  6. Uninstall the Nvidia driver.

    apt-get remove nvidia-graphics-drivers-*  
    add-apt-repository --remove ppa:graphics-drivers/ppa  
    apt-get update  
    reboot  
    
  7. After you reboot the laptop, check if it is running properly. Then open the terminal and run this command to identify the right proprietary graphics driver from the default Ubuntu repositories to install.

    ubuntu-drivers devices  
    

    The recommended proprietary graphics driver for your Lenovo Y50 laptop will have the word Recommended after it.

I don't know what version of Ubuntu you are using or what the results of ubuntu-drivers devices will be for your laptop. The latest Nvidia driver in Ubuntu 16.04 is nvidia-375, but even if the recommended graphics driver is nvidia-346 or nvidia-current, it would be OK.

Steps 2-5 were revised from an answer posted by Jorge Castro.

  • thanks a lot man, everything worked perfectly. you're the best! – Jorge Padilla Apr 8 '17 at 16:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.