I upgraded to Ubuntu 18.04 from 16.04. On startup the display is black for 15 minutes, doesn’t boot and is stuck indefinitely displaying Ubuntu logo. Kindly let me know how do I boot successfully as I don’t want to lose my important files.
nomodeset in kernel parameters.
When grub loads and you get a screen to choose OS to load (if in dual-boot) or press
Shift to load grub menu if you have only Ubuntu installed. Then with the Ubuntu option highlighted press
You will see something like this:
recordfall=1 save_env recordfall set quiet=1 insmod ext2 set roothd(0,1) search --no-floppy --fs-uuld --set 9009-9234 linux /boot,mlinuz-2.6.91.-9 root=i1U10=90.7bf99-923.1 ro quiet splash ^ | initrd /boot/initrd.ing-2.6.91-9-generic
nomodeset at the arrow indicated so the line looks like:
linux /boot,mlinuz-2.6.91.-9 root=i1U10=90.7bf99-923.1 ro quiet splash nomodeset
F10 to boot.
If this works we set the nomodeset permanently as follows:
Do the above again, and...
Open a terminal app and type "sudo nano /etc/default/grub" Enter your password if prompted. Move the cursor to the line that looks like the following:
Add the nomodeset here so that the line looks:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
Enter to save, Then
Ctrl-X to exit.
In the terminal, type
sudo update-grub and hit enter.
Once complete, you should be able to reboot your computer with this change made.
I followed the steps below in order;
1) To connect to Wi-Fi from command line, I followed the instructions from this link -> https://www.addictivetips.com/ubuntu-linux-tips/connect-to-the-internet-from-the-command-line-on-linux/
2) Once the Wi-Fi connection was established, broken packages were fixed referring to the link below;
3) Finally, the OS was upgraded according to this article → https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-18-04