System does not boot up after AMD OpenCL driver installation (Ubuntu)

First, boot into recovery mode.

  1. Restart your computer.
  2. Wait until the UEFI/BIOS has finished loading, or has almost finished. (During this time you will probably see a logo of your computer manufacturer.) Note: UEFI fast boot may be too fast to give time to press any key.
  3. 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 Escape key to get grub menu.
  4. Select the line which starts with "Advanced options".
  5. Select the line ending with "(recovery mode)", probably the second line, something like:
    Ubuntu GNU/Linux, with Linux 3.8.0-26-generic (recovery mode)
  6. Press Return and your machine will begin the boot process.

Open a terminal window by pressing Ctrl + Alt + T keys on the keyboard.

Disable Secure Boot in shim-signed:

sudo mokutil --disable-validation

Enter a temporary password between 8 to 16 digits (e.g. 12345678).

Enter the same password again to confirm.

Reboot the system:

sudo reboot

Press any key when you see the blue screen (MOK management)

Select Change Secure Boot state

Enter requested characters of the password you had selected, and press Enter.

Select Yes to disable Secure Boot in shim-signed.