First ubuntu booting takes way too long

I have decided to install ubuntu 20.04 LTS on my acer e5-571. It had new HDD, completely clean. I have installed it successfully. After first booting the prompt commanded me to remove usb drive and press ENTER. I did it. After that MOK management appeared and I clicked "continue booting" or similar. After that black screen appears with underscore appearing and dissapearing. Please help :c

Edit: I have tried to wipe disc and reinstall again with

dd if=/dev/zero of=/dev/sda bs=1

but wiping didnt work it still boots the same way :c

Edit 2: I have tried to wipe it with

wipe -q /dev/sda

and now it prints "no bootable device" :cccc


Acer often needs UEFI update and if SSD, firmware update to SSD.

If mok issues, often related to UEFI Secure Boot. If you have proprietary driver like nVidia, you have to set your own key to authorize the proprietary driver. Often easier just to turn off UEFI Secure Boot.

Acer need you to set "trust" on ubuntu entry in UEFI, but Secure Boot has to be on to do that. Newer Acer seem to also need control + S to open settings for AHCI or other.

Issues are often common by brand as essentially same UEFI used. More difference between Intel & AMD based systems, but still by brand.

Newer posts say update to UEFI works, do not downgrade as per this answer. Acer E5-573G, supervisor password & trust on ubuntu

Getting a black screen when installing or Live booting Ubuntu (any version) in my laptop

Acer Aspire 5 Model A515-54-5649 Intel Core i5-10210U Install Tutorial

https://ubuntuforums.org/showthread.php?t=2437702

Acer Aspire E15 will not dual boot, many details Trust settings in step 35

Acer Aspire E15 will not dual boot