Error found when loading /etc/profile and UEFI permission denied

If I turn on my computer normally:

/etc/profile.d/ line 2: /usr/bin/locale-check: No such file or directory

As a result the session will not be configured correctly.  
You should fix the problem as soon as feasible.

Grub Boot:

Kali GNU/Linux, with Linux 5.4.0.-45-generic
Kali GNU/Linux, with Linux 5.4.0.-45-generic (recovery mode)
Kali GNU/Linux, with Linux 5.2.0.-42-generic
Kali GNU/Linux, with Linux 5.2.0.-42-generic (recovery mode)

I select the second option:

efi stub secure boot 

Reading cache
Can not upgrade
An upgrade from 'kali-rolling' to 'focal' is not suported with this tool.

Cannot open access to console. The root account is locked see sulogin(8) man page for more details." 



The options on boot don't recognize the USB I'm using to try to install Ubuntu again (Ubuntu 18.04 "Bionic Beaver").

I don't understand why the option for Ubuntu is not listed, since I have Ubuntu 20.04 not Kali Linux. 

What can I do?

Go to Source
Author: user197536

UEFI secure boot anti-rollback

I haven’t seen any seen mechanism by which UEFI can detect the most recent update to a binary from being swapped out for an older binary that was signed with the same key as the up-to-date binary. Google’s vboot is the only PC firmware I know of that anti-downgrade counters. Does the UEFI specification specify a way to thwart rollback attacks?

Go to Source
Author: Melab