No video after "apt-get upgrade" from Ubuntu 16.04.1 and 16.04.2?

Locane

There are a lot of threads about incompatibilities and "gotcha" cases that people have run in to with Ubuntu and Nvidia cards, but none like the problem I'm having here.

I have a system with 3 video cards in it; an Nvidia P600, and two GTX 1080s. The Ubuntu installer runs fine with no issues, I can set up a software RAID, and then reboot to the OS.

Ubuntu runs fine in CLI mode without Nvidia drivers, until I run "apt-get -y upgrade".

Once the upgrade is finished and I reboot, I lose video, forever. I have to SSH in to the system to look around and see what's going on, but I can't find any glaring issues or errors in the logs.

This same behavior occurs when "apt-get -y upgrade"ing from a fresh 16.04.1 or 16.04.2 install.

When doing it from 16.04.2, my /var/log/apt/history.log file shows this as the entry for it:

Start-Date: 2017-03-29  18:42:59
Commandline: apt-get -y upgrade
Requested-By: user (1000)
Upgrade: init:amd64 (1.29ubuntu3, 1.29ubuntu4), init-system-helpers:amd64 (1.29ubuntu3, 1.29ubuntu4), grub-common:amd64 (2.02~beta2-36ubuntu3.7, 2.02~beta2-36ubuntu3.8), mdadm:amd64 (3.3-2ubuntu7.1, 3.3-2ubuntu7.2), nano:amd64 (2.5.3-2ubuntu1, 2.5.3-2ubuntu2), grub2-common:amd64 (2.02~beta2-36ubuntu3.7, 2.02~beta2-36ubuntu3.8), resolvconf:amd64 (1.78ubuntu2, 1.78ubuntu4), grub-pc:amd64 (2.02~beta2-36ubuntu3.7, 2.02~beta2-36ubuntu3.8), grub-pc-bin:amd64 (2.02~beta2-36ubuntu3.7, 2.02~beta2-36ubuntu3.8)
End-Date: 2017-03-29  18:43:16

Again, note that I haven't even gotten to the point of installing Nvidia drivers yet; this is purely vanilla Ubuntu, and it's killing video after upgrade.

Can anyone clue me in as to what's going on here?

Locane

The issue turned out to be that my cusotmized grub.cfg file was being overwritten by the upgrade.

I had forgotten that a script was running after Ubuntu installation that was adding set linux_gfx_mode=text to /boot/grub/grub.cfg so that it could actually show video on boot, and running apt-get -y upgrade was nuking that.

I edited /etc/grub.d/10_linux instead of /boot/grub/grub.cfg and the change became permanent.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Installing opencv on Ubuntu 16-04

From Dev

Ubuntu-16-04 : How to remove wifi adaptor from wifi tray

From Dev

Ubuntu 16,04 GUI only updates when switching to and from tty

From Dev

WSL, Ubuntu 16,04: apt-cache in broken state

From Dev

"No screens found" after apt-get upgrade with Intel video card

From Dev

Ubuntu 14.04 LTS no sound after apt-get upgrade

From Dev

The following packages have unmet dependencies: can't install any software. Ubuntu 16:04

From Dev

Ubuntu can't apt-get upgrade

From Dev

Stuck at fsck "/dev/sda1: clean xxx/xxx files [...] " after upgrade to Ubuntu 16 from 14

From Dev

Stuck at fsck "/dev/sda1: clean xxx/xxx files [...] " after upgrade to Ubuntu 16 from 14

From Dev

Ubuntu 16 freezes after startup

From Dev

Ubuntu Menu and Launcher not showing after 2/16/2018 update

From Java

How to fix "javax.net.ssl.SSLHandshakeException: TLS Server certificate issued after 2019-04-16 and anchored by a distrusted legacy Symantec root CA"

From Dev

Will apt-get upgrade change the major version of a software in Ubuntu LTS?

From Dev

Error with "sudo apt-get upgrade" (Ubuntu 14.04)

From Dev

Will apt-get upgrade change the major version of a software in Ubuntu LTS?

From Dev

Can't run apt-get upgrade ubuntu 14.04 gnome

From Dev

403 Forbidden error in sudo apt-get upgrade ubuntu 17.4

From Dev

ownCloud "Downgrading not supported" after apt-get upgrade

From Dev

Debian dpkg broken after apt-get upgrade

From Dev

Shutdown PC after suspending terminal process (apt-get upgrade)

From Dev

Sound and brightness control disabled after apt-get upgrade

From Dev

How to run a command after apt-get upgrade

From Dev

Issues with Nvidia graphics driver and CUDA after apt-get upgrade

From Dev

no internet after apt-get update && apt-get upgrade

From Dev

Can I exclude certain repositories from apt-get upgrade?

From Dev

Prevent apt-get upgrade from using certain repos

From Dev

Can I exclude certain repositories from apt-get upgrade?

From Dev

will sudo apt-get upgrade destroy my python 2 environment?

Related Related

  1. 1

    Installing opencv on Ubuntu 16-04

  2. 2

    Ubuntu-16-04 : How to remove wifi adaptor from wifi tray

  3. 3

    Ubuntu 16,04 GUI only updates when switching to and from tty

  4. 4

    WSL, Ubuntu 16,04: apt-cache in broken state

  5. 5

    "No screens found" after apt-get upgrade with Intel video card

  6. 6

    Ubuntu 14.04 LTS no sound after apt-get upgrade

  7. 7

    The following packages have unmet dependencies: can't install any software. Ubuntu 16:04

  8. 8

    Ubuntu can't apt-get upgrade

  9. 9

    Stuck at fsck "/dev/sda1: clean xxx/xxx files [...] " after upgrade to Ubuntu 16 from 14

  10. 10

    Stuck at fsck "/dev/sda1: clean xxx/xxx files [...] " after upgrade to Ubuntu 16 from 14

  11. 11

    Ubuntu 16 freezes after startup

  12. 12

    Ubuntu Menu and Launcher not showing after 2/16/2018 update

  13. 13

    How to fix "javax.net.ssl.SSLHandshakeException: TLS Server certificate issued after 2019-04-16 and anchored by a distrusted legacy Symantec root CA"

  14. 14

    Will apt-get upgrade change the major version of a software in Ubuntu LTS?

  15. 15

    Error with "sudo apt-get upgrade" (Ubuntu 14.04)

  16. 16

    Will apt-get upgrade change the major version of a software in Ubuntu LTS?

  17. 17

    Can't run apt-get upgrade ubuntu 14.04 gnome

  18. 18

    403 Forbidden error in sudo apt-get upgrade ubuntu 17.4

  19. 19

    ownCloud "Downgrading not supported" after apt-get upgrade

  20. 20

    Debian dpkg broken after apt-get upgrade

  21. 21

    Shutdown PC after suspending terminal process (apt-get upgrade)

  22. 22

    Sound and brightness control disabled after apt-get upgrade

  23. 23

    How to run a command after apt-get upgrade

  24. 24

    Issues with Nvidia graphics driver and CUDA after apt-get upgrade

  25. 25

    no internet after apt-get update && apt-get upgrade

  26. 26

    Can I exclude certain repositories from apt-get upgrade?

  27. 27

    Prevent apt-get upgrade from using certain repos

  28. 28

    Can I exclude certain repositories from apt-get upgrade?

  29. 29

    will sudo apt-get upgrade destroy my python 2 environment?

HotTag

Archive