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 -v루트를 사용하여 부팅 변수와 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부팅 설정을 보고 수정하는 방법을 배우는 것이 좋습니다.

관련 정보