Currently I have a non-functioning machine due to an Ubuntu update.
I updated my nvidia-display driver, I ran sudo apt update
, and then I rebooted.
Now I can't enter UEFI, the grub boot menu or Ubuntu 18.04.
After boot I get the following screen. This screen loops with a black screen.
I can run Ctrl+Alt+F2 to get a terminal, which gives the following screen. This screen also loops with a black screen.
This console doesn't look like Ubuntu, however Katoolin did this to Ubuntu 18.04 and the question is how to undo it.
I have a dual boot of Ubuntu 18.04 and Windows 10. On Ubuntu Katoolin is installed. Probably this explains the image shown in the second screen photo since I have two OSs installed in some sense.
My GPU is Nvidia RTX 2080Ti and I have an PCI-E wireless ethernet adapter installed.
Start Ubuntu from a virtual console
Open a text-only virtual console by using the keyboard shortcut Ctrl+Alt+F3.
At the
login:
prompt type your username and press Enter.At the
Password:
prompt type your user password and press Enter.Now you are logged in to a text-only console, and you can run terminal commands from the console.
Warning about updates after installing Kali linux tools
The LionSec Katoolin GitHub webpage clearly warns Katoolin users to be careful when updating software.
All kinds of problems can occur if you don't do this.
Make a backup copy of sources.list.
Open
/etc/apt/sources.list
for editing in nano text editor:Replace the entire contents of your existing sources.list with the following default 18.04 sources.list:
Press the keyboard combination Ctrl+O and after that press Enter to save the file being edited. Press the keyboard combination Ctrl+X to exit nano.
Run this command after changing sources.list to refresh the list of available software. This is the most important step, so please don't skip it.
Remove Katoolin.
Reinstall the Ubuntu desktop system.
Temporarily enable os-prober in grub by setting
GRUB_DISABLE_OS_PROBER=false
in/etc/default/grub
.Install grub to the MBR of your boot drive with these commands:
Reboot.
For security reasons disable os-prober in grub by setting
GRUB_DISABLE_OS_PROBER=true
in/etc/default/grub
.Run autoremove.
Install deborphan
Run
deborphan
to show a list of packages orphaned after uninstalling Katoolin. These orphaned packages are no longer necessary except if you are still using any of the packages that were installed by Katoolin. These packages are referred to as Kali linux tools by Katoolin which gives the user some warning about the mischief that installing these packages can cause.Since my eth0 was not working, I could not follow @karels answer. I decided to get a new Ubuntu intallation using a USB drive.
Thanks for the help