実行sudo apt install
するたびに次のように言います:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
しかし、実行sudo dpkg --configure -a
すると次のように表示されます。
Your system has UEFI Secure boot enabled. UEFI Secure Boot requires additional configuration to work with third-party drivers. The system will assist you in configuring UEFI Secure Boot. To permit the use of third-party drivers, a new Machine-Owner Key (MOK) has been generated. This key now needs to be enrolled in your system's firmware. To ensure that this change is being made by you as an authorized user, and not by an attacker, you must choose a password now and then confirm the change after reboot using the same password, in both the "Enroll MOK" and "Change Secure Boot state" menus that will be presented to you when this system reboots.
Virtualboxをインストールした直後にそれを開始しました
どうすれば修正できますか?
MOKマネージャー
sudo mokutil --disable-validation
Root password:
Password:12345678
Password:12345678
sudo reboot
MOK Manager=ブルースクリーンで起動します。
起動時に、安全でないモードで起動するというメッセージが表示されます。セキュア ブートは、起動時に一時的に無効になります。
mokutil --sb-state
セキュア ブートを有効にしてカスタム カーネルをコンパイルすると、同じ問題が発生します。MOK でのみセキュア ブートを無効にする必要があります。キーとハッシュを登録する必要はありません。
mokutil --sb-state
SecureBoot enabled
uname -a
Linux mm 5.0.0-050000rc8-generic #201902242030 SMP Mon Feb 25 01:32:53 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
カーネル 5.0-rc8 でテスト済み
2 と 3 が機能しない場合は、MOK で代わりにセキュア ブートを選択し、同じパスワードで無効にします。MOK では、起動時にセキュア ブートを無効にする方が適切であり、すべてのディストリビューションで機能します。
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加