ฉันลองวิธีอื่นที่แสดง ที่นี่ โดยใช้ ซ่อมบูต
หลังจากที่ระบบตรวจไม่พบ bootloader ของ linux เลย (เฉพาะตัวเลือก windows และดิสก์เท่านั้น (ซึ่งฉันไม่รู้ว่าทำไมมันถึงปรากฏขึ้น) อยู่ในตัวเลือกลำดับการบู๊ตของ bios และในเมนูการบู๊ต) ตอนนี้ BIOS ตรวจพบ bootloader (เพิ่ม ubuntu ในรายการ) แต่ในโหมด bash ขั้นต่ำนี้
ฉันต้องพิมพ์บรรทัดต่อไปนี้เพื่อให้แสดงหน้าจอเริ่มต้นตามปกติ เช่นเดียวกับที่ฉันปรับแต่ง:
set root=(hd0, gpt5) (นี่คือพาร์ติชั่นรูทของฉัน)
ตั้งคำนำหน้า=(hd0, gpt5)/boot/grub
เข้าโหมดปกติ
ปกติ
ทำไมฉันต้องพิมพ์สิ่งนี้ทุกครั้งที่บูต ฉันจะแก้ปัญหาได้อย่างไร ฉันยังพยายามใช้ boot-repair เพื่อติดตั้ง grub ใหม่โดยสมบูรณ์โดยทำเครื่องหมายที่ตัวเลือก purge grub แต่ก็ยังใช้งานไม่ได้
แก้ไข: ข้อมูลที่ร้องขอ
~ ⯠sudo แยกส่วน -l
รุ่น: SSSTC CL1-4D512 (nvme)
ดิสก์ /dev/nvme0n1: 512GB
ขนาดเซกเตอร์ (โลจิคัล/กายภาพ): 512B/512B
ตารางพาร์ทิชัน: gpt
แฟล็กดิสก์:
หมายเลข เริ่มต้น ขนาดสิ้นสุด ระบบไฟล์ แฟล็กชื่อ
1 1049kB 274MB 273MB fat32 การบูตพาร์ติชันระบบ EFI, esp
2 274MB 290MB 16.8MB Microsoft พาร์ติชันที่สงวนไว้ msftres
3 290MB 262GB 262GB ntfs พาร์ติชันข้อมูลพื้นฐาน msftdata
5 262GB 510GB 248GB ext4 (รูทที่ไม่มีป้ายกำกับ)
6 510GB 511GB 629MB fat32 (บูตที่ไม่มีป้ายกำกับ) โดยเฉพาะ
4 511GB 512GB 1049MB ntfs พาร์ติชันข้อมูลพื้นฐานถูกซ่อนไว้, diag
sudo cat /boot/efi/EFI/ubuntu/grub.cfg
cat: /boot/efi/EFI/ubuntu/grub.cfg: ไม่มีไฟล์หรือไดเร็กทอรีดังกล่าว (ดูไม่ดี)
~ ⯠sudo ls /boot/efi/EFI
บูต Linux ป๊อป Pop_OS-4ce634ae-abfa-41e3-8b20-28dabe16a83d systemd
~ ⯠sudo เมานต์ /dev/nvme0n1p6 /mnt
~ ⯠sudo ls -R /mnt
/mnt:
BootInfo boot-sav EFI loader 'ข้อมูลปริมาณระบบ'
/ mnt / BootInfo:
เอฟ.ดี
/mnt/BootInfo/FD:
สดา
/mnt/BootInfo/FD/sda:
/mnt/boot-sav:
nvme0n1p1 nvme0n1p3 nvme0n1p4
/mnt/boot-sav/nvme0n1p1:
/mnt/boot-sav/nvme0n1p3:
/mnt/boot-sav/nvme0n1p4:
/mnt/EFI:
บูต Linux ป๊อป Pop_OS-4ce634ae-abfa-41e3-8b20-28dabe16a83d systemd
/mnt/EFI/บูต:
bkpbootx64.efi bootx64.efi fbx64.efi grubx64.efi mmx64.efi
/mnt/EFI/ลินุกซ์:
/mnt/EFI/ป๊อป:
BOOTX64.CSV grub.cfg grubx64.efi mmx64.efi shimx64.efi
/mnt/EFI/Pop_OS-4ce634ae-abfa-41e3-8b20-28dabe16a83d:
cmdline initrd.img initrd.img-ก่อนหน้า vmlinuz.efi vmlinuz-previous.efi
/mnt/EFI/systemd:
systemd-bootx64.efi
/mnt/ตัวโหลด:
รายการ loader.conf เมล็ดสุ่ม
/mnt/loader/รายการ:
Pop_OS-current.conf Pop_OS-oldkern.conf
'/mnt/ข้อมูลปริมาณระบบ':
~ ⯠sudo เมานต์ /dev/nvme0n1p1 /mnt
~ ⯠sudo ls -R /mnt
/mnt:
'$RECYCLE.BIN' BOOT EFI 'ข้อมูลปริมาณระบบ'
'/mnt/$RECYCLE.BIN':
desktop.ini
/mnt/บูต:
BOOT.SDI
/mnt/EFI:
บูต Microsoft ป๊อปอัป UpdateCapsule
/mnt/EFI/บูต:
bkpbootx64.efi bootx64.efi fbx64.efi grubx64.efi mmx64.efi
/mnt/EFI/ไมโครซอฟท์:
การกู้คืนการบูต
/mnt/EFI/Microsoft/บูต:
BCD bootmgfw.efi da-DK es-ES fr-CA ja-JP kd_02_15b3.dll kd_07_1415.dll lt-LT pl-PL ro-RO sv-SE zh-TW
BCD.LOG bootmgr.efi de-DE es-MX fr-FR kd_02_10df.dll kd_02_1969.dll kd_0C_8086.dll lv-LV pt-BR ru-RU tr-TR
BCD.LOG1 BOOTSTAT.DAT el-GR et-EE hr-HR kd_02_10ec.dll kd_02_19a2.dll kdnet_uart16550.dll memtest.efi pt-PT sk-SK uk-UA
BCD.LOG2 boot.stl en-GB fi-FI hu-HU kd_02_1137.dll kd_02_1af4.dll kdstub.dll nb-NO qps-ploc sl-SI winsipolicy.p7b
bg-BG cs-CZ en-US แบบอักษร it-IT kd_02_14e4.dll kd_02_8086.dll ko-KR nl-NL ทรัพยากร sr-Latn-RS zh-CN
/mnt/EFI/Microsoft/Boot/bg-BG:
bootmgfw.efi.mui bootmgr.efi.mui
/mnt/EFI/Microsoft/Boot/cs-CZ:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/da-DK:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/de-DE:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/el-GR:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/en-GB:
bootmgfw.efi.mui bootmgr.efi.mui
/mnt/EFI/Microsoft/Boot/en-US:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/es-ES:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/es-MX:
bootmgfw.efi.mui bootmgr.efi.mui
/mnt/EFI/Microsoft/Boot/et-EE:
bootmgfw.efi.mui bootmgr.efi.mui
/mnt/EFI/Microsoft/Boot/fi-FI:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/แบบอักษร:
chs_boot.ttf jpn_boot.ttf malgun_boot.ttf meiryo_boot.ttf msjh_boot.ttf msyh_boot.ttf segmono_boot.ttf segoe_slboot.ttf
cht_boot.ttf kor_boot.ttf malgunn_boot.ttf meiryon_boot.ttf msjhn_boot.ttf msyhn_boot.ttf segoen_slboot.ttf wgl4_boot.ttf
/mnt/EFI/Microsoft/Boot/fr-CA:
bootmgfw.efi.mui bootmgr.efi.mui
/mnt/EFI/Microsoft/Boot/fr-FR:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/hr-HR:
bootmgfw.efi.mui bootmgr.efi.mui
/mnt/EFI/Microsoft/Boot/hu-HU:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/it-IT:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/ja-JP:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/ko-KR:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/lt-LT:
bootmgfw.efi.mui bootmgr.efi.mui
/mnt/EFI/Microsoft/Boot/lv-LV:
bootmgfw.efi.mui bootmgr.efi.mui
/mnt/EFI/Microsoft/Boot/nb-NO:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/nl-NL:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/pl-PL:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/pt-BR:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/pt-PT:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/qps-ploc:
memtest.efi.mui
/mnt/EFI/Microsoft/Boot/ทรัพยากร:
bootres.dll ในสหรัฐอเมริกา
/mnt/EFI/Microsoft/Boot/Resources/en-US:
bootres.dll.mui
/mnt/EFI/Microsoft/Boot/ro-RO:
bootmgfw.efi.mui bootmgr.efi.mui
/mnt/EFI/Microsoft/Boot/ru-RU:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/sk-SK:
bootmgfw.efi.mui bootmgr.efi.mui
/mnt/EFI/Microsoft/Boot/sl-SI:
bootmgfw.efi.mui bootmgr.efi.mui
/mnt/EFI/Microsoft/Boot/sr-Latn-RS:
bootmgfw.efi.mui bootmgr.efi.mui
/mnt/EFI/Microsoft/Boot/sv-SE:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/tr-TR:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/uk-UA:
bootmgfw.efi.mui bootmgr.efi.mui
/mnt/EFI/Microsoft/Boot/zh-CN:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/Boot/zh-TW:
bootmgfw.efi.mui bootmgr.efi.mui memtest.efi.mui
/mnt/EFI/Microsoft/การกู้คืน:
BCD BCD.LOG BCD.LOG1 BCD.LOG2
/mnt/EFI/ป๊อป:
grubx64.efi shimx64.efi
/mnt/EFI/UpdateCapsule:
CapsuleUpdateFile1000.bin
'/mnt/ข้อมูลปริมาณระบบ':
AadRecoveryPasswordDelete ClientRecoveryPasswordRotation IndexerVolumeGuid WPSSettings.dat
'/mnt/ข้อมูลปริมาณระบบ/AadRecoveryPasswordDelete':
'/mnt/ข้อมูลปริมาณระบบ/ClientRecoveryPasswordRotation':
อัปเดต: ไม่เป็นไร คอมพิวเตอร์เสียอีกแล้ว (ไม่ใช่เพราะฉัน เมนบอร์ดพังเป็นครั้งที่สอง และฉันหวังว่าจะได้เปลี่ยนใหม่ทั้งหมด) ขอบคุณคนที่พยายามช่วยฉัน