Kali Linuxは自動的に起動できません

Kali Linuxは自動的に起動できません

最近インストールしたKali Linuxがコンピュータの電源を入れたときに自動的に起動しません。再起動するたびに grub プロンプトが表示されます。ls -lグラップシェルからの出力:

Device proc: Filesystem type procfs - Sector size 512B - Total size 0KiB
Device memdisk: Filesystem type squash4 - Last modification time 2023-01-30 10:51:57 Monday - Sector size 512B - Total size 828 KiB
Device lvm/elgin--vg-swap_1: No known filesystem detected - Sector size 512B - Total size 1003520KiB
Device lbm/elgin--vg-root: Filesystem type ext* - Last modification time 2023-09-10 08:54:44 Sundaym UUID 017f3393-b329-4b76-beb3-4322232898362 - Sector size 512B - Total size 498077696KiB
Device hd0: No known filesystem detected - Sector size 512B - Total size 500107608KiB
    Partition hd0,gpt3: No known filesystem detected - Partition start at 1025024KiB - Total size 499082240KiB
    Partition hd0,gpt2: Filesystem type ext* - Last modification time 2023-09-10 09:13:40 Sunday, UUID db71657b-f9fa-4fa1-b30b-126c07fce731 - Partition start at 525312KiB - Total size 499712KiB
    Partition hd0,gpt1: Filesystem type fat, UUID D941-C709 - Partition start at 1024KiB - Total size 524288KiB

手動起動には、次のコマンドセットを使用します。

set root=(hd0,gpt1)
chainloader /efi/kali/grubx64.efi
boot

BIOSメニューで起動順序のリストが空で、起動の問題を解決できません(以下の添付ファイルを参照)。多くの場所で推奨されるように、sudo update-grubそれも役に立ちません。私も試しました始動修理しかし、それも解決されません。起動リカバリの出力を表示できます。ここここに画像の説明を入力してください。

追加のコンテキストでKaliをインストールする前に、UbuntuとGeckoディストリビューションをダブルブートしました。 kali.orgの公式ISOファイルからKaliをインストールしました。

私の起動設定を変更するための他のアイデアはありますか?

編集1

efibootmgr -v出力:

BootCurrent: 0000 
Timeout: 0 seconds 
BootOrder: 0000,0003,2001,2002,2003 
Boot0000* ubuntu HD(1,GPT,bea0db7c-0576-4635-868f-b6975f97ca4e,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)RC 
Boot0003* kali HD(1,GPT,bea0db7c-0576-4635-868f-b6975f97ca4e,0x800,0x100000)/File(\EFI\kali\grubx64.efi) 
Boot2001* EFI USB Device RC 
Boot2002* EFI DVD/CDROM RC 
Boot2003* EFI Network RC

編集2

dmidecode --type bios出力:

# dmidecode 3.5
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
        Vendor: Insyde Corp.
        Version: V1.04
        Release Date: 06/08/2020
        Address: 0xE0000
        Runtime Size: 128 kB
        ROM Size: 16 MB
        Characteristics:
                PCI is supported
                BIOS is upgradeable
                BIOS shadowing is allowed
                Boot from CD is supported
                Selectable boot is supported
                EDD is supported
                Japanese floppy for NEC 9800 1.2 MB is supported (int 13h)
                Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
                5.25"/360 kB floppy services are supported (int 13h)
                5.25"/1.2 MB floppy services are supported (int 13h)
                3.5"/720 kB floppy services are supported (int 13h)
                3.5"/2.88 MB floppy services are supported (int 13h)
                8042 keyboard services are supported (int 9h)
                CGA/mono video services are supported (int 10h)
                ACPI is supported
                USB legacy is supported
                BIOS boot specification is supported
                Targeted content distribution is supported
                UEFI is supported
        BIOS Revision: 1.4
        Firmware Revision: 1.4

ベストアンサー1

BIOSメニューの空のブート優先順位リストは、UEFI NVRAMブート変数に問題があることを示しています。 Linuxでは、efibootmgr -vrootを使用して起動変数とefibootmgrそれを変更するためのその他のオプションを表示できます。

しかし、一部の古いUEFI実装では、UEFI NVRAM変数の管理に重大なバグがあります。システムにこれらのバグがある場合(たとえば、変更がefibootmgr「固定」されていない場合)、BIOSアップデートのみが実際の回復機能を提供します。


出力efibootmgrは、システムがUbuntuのセキュアブートシムをデフォルトのブートターゲットにブートしようとしているため、UbuntuのGRUBが起動することを示します。

Ubuntu がシステムにインストールされなくなったら、次のコマンドを使用してブート変数を削除します。

efibootmgr -b 0000 -B

それ以外の場合は、起動順序を切り替えてKaliをデフォルトの起動ターゲットにします。

efibootmgr -o 0003,0000,2001,2002,2003

UEFIブート設定用のBIOSメニューインターフェイスに、現在ファームウェアで動作していないバグがあるようです。これを使用してefibootmgrブート設定を表示および変更する方法を学ぶことをお勧めします。

おすすめ記事