I used the upgrade manager to upgrade from 17.04 to 17.10. When I start the machine, I only get a black flickering screen now. I was using the nvidia binary drivers before the upgrade.
NOTE: This question (and answer) relate to a specific issue when upgrading from 17.04 to 17.10 while using Nvidia or AMD binary drivers. You might experience a completely different issue. For that please see the more general question My computer boots to a black screen, what options do I have to fix it?.
This happened to several users of NVidia or AMD binary drivers (Bug #1705369). You need to re-install the drivers:
sudo apt-get purge ^nvidia
. AMD users can runamdgpu-pro-uninstall
to remove the AMD graphics stack.sudo mv /etc/X11/xorg.conf{,.bak}
).# WaylandEnable=false
sudo shutdown -r now
and you should see the login screen.You can now install your binary drivers again, either manually (see How do I install the Nvidia drivers) or with the Software Properties GUI. AMD users should refer to the official installation guide for instructions.
After rebooting everything should work as expected.
I had the same problem and reportet a bug already (Bug #1725169). In my case I could locate it to the lowlatency-kernel, that was installed during upgrade without beeing asked. Unfortunately it was the first kernel in grub. Deinstalling this Kernel solved the problem. No need for reinstalling the nvidia-drivers.