Вітаю! На ноуті стояв Мінт 20.2 і Він10 в дуалбуті. З деяких причин вирішив перевстановити Мінт, після чого перестала вантажитись Вінда. В меню ґраб вона показується, але завантажитись не може. Підозрюю, що пошкодив якийсь системний розділ обʼємом 5,2 Гб, зараз він показується як вільне місце на диску, але не впевнений у цьому. Спроба відновити завантаження утилітою Boot repair з рекомендованими опціями позитивного результату не дала, вивід:
[upl-image-preview url=//i.imgur.com/t5Ps50I.png]
============================= Boot Repair Summary ==============================
/usr/share/boot-sav/bs-cmd_terminal.sh: рядок 177: попередження: заміна команди: проігноровано порожній байт у вхідних даних
ping: google.com: Невідома назва чи сервіс
Recommended repair: ____________________________________________________________
The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of
nvme0n1p8,
using the following options: nvme0n1p4/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s win-legacy-basic-fix use-standard-efi-file restore-efi-backups
/boot/efi added in nvme0n1p8/fstab
rm /boot/efi/efi/Boot/bootx64.efi
mv /boot/efi/efi/Boot/bkpbootx64.efi /boot/efi/efi/Boot/bootx64.efi
Quantity of real Windows: 1
nvme0n1p8/boot/efi not empty
=============== Reinstall the grub-efi-amd64-signed of nvme0n1p8 ===============
grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.12
efibootmgr -v from chroot before grub install
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,0002,0004,9999
Boot0000* Windows Boot Manager HD(3,GPT,8983a506-5cc3-4846-bdbc-dadea16b11c5,0xbc3800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...,................
Boot0001* ubuntu HD(4,GPT,8983a506-5cc3-4846-bdbc-dadea16b11c5,0xbc3800,0x32000)/File(EFIubuntushimx64.efi)
Boot0002* Internal Hard Disk PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-25-38-A2-11-C2-25-2C)/HD(1,GPT,61d97585-3738-4b8b-bb99-511c96f0089b,0x800,0x100000)..BO
Boot0004* Internal Hard Disk PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-25-38-A2-11-C2-25-2C)/HD(4,GPT,8983a506-5cc3-4846-bdbc-dadea16b11c5,0xbc3800,0x32000)..BO
Boot9999* USB Drive (UEFI) PciRoot(0x0)/Pci(0x1d,0x0)/USB(16,0)..BO
uname -r
5.11.0-22-generic
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
df /dev/nvme0n1p4
mv /boot/efi/EFI/Boot/bootx64.efi /boot/efi/EFI/Boot/bkpbootx64.efi
cp /boot/efi/EFI/ubuntu/shimx64.efi /boot/efi/EFI/Boot/bootx64.efi
grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
Installing for x86_64-efi platform.
Installation finished. No error reported.
efibootmgr -v from chroot after grub install
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,0002,0004,9999
Boot0000* Windows Boot Manager HD(3,GPT,8983a506-5cc3-4846-bdbc-dadea16b11c5,0xbc3800,0x32000)/File(EFIMicrosoftBootbootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...,................
Boot0001* ubuntu HD(4,GPT,8983a506-5cc3-4846-bdbc-dadea16b11c5,0xbc3800,0x32000)/File(EFIubuntushimx64.efi)
Boot0002* Internal Hard Disk PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-25-38-A2-11-C2-25-2C)/HD(1,GPT,61d97585-3738-4b8b-bb99-511c96f0089b,0x800,0x100000)..BO
Boot0004* Internal Hard Disk PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-25-38-A2-11-C2-25-2C)/HD(4,GPT,8983a506-5cc3-4846-bdbc-dadea16b11c5,0xbc3800,0x32000)..BO
Boot9999* USB Drive (UEFI) PciRoot(0x0)/Pci(0x1d,0x0)/USB(16,0)..BO
Error: NVram is locked (Linuxmint not found in efibootmgr).
update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.11.0-22-generic
Found initrd image: /boot/initrd.img-5.11.0-22-generic
Found linux image: /boot/vmlinuz-5.4.0-77-generic
Found initrd image: /boot/initrd.img-5.4.0-77-generic
Found linux image: /boot/vmlinuz-5.4.0-74-generic
Found initrd image: /boot/initrd.img-5.4.0-74-generic
File descriptor 63 (pipe:[53499]) leaked on lvs invocation. Parent PID 14691: /bin/sh
Found Windows Boot Manager on /dev/nvme0n1p4@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings
Unhide GRUB boot menu in nvme0n1p8/boot/grub/grub.cfg
Під час спроби відновлення сталася помилка.
Виявлено Locked-NVram.
============================ Boot Info After Repair ============================
=> Windows 7/8/2012 is installed in the MBR of /dev/nvme0n1.
nvme0n1p1: _____________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/debian/grubx64.efi
nvme0n1p3: _____________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
nvme0n1p4: _____________________________________________________________________
File system: vfat
Boot sector type: Windows 8/2012: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /efi/Boot/bkpbootx64.efi /efi/Boot/bootx64.efi
/efi/Boot/fbx64.efi /efi/Boot/grubx64.efi
/efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi
/efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
/efi/ubuntu/grub.cfg /efi/Microsoft/Boot/bootmgfw.efi
/efi/Microsoft/Boot/bootmgr.efi
/efi/Microsoft/Boot/memtest.efi
nvme0n1p5: _____________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
nvme0n1p6: _____________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 10
Boot files: /Windows/System32/winload.exe
nvme0n1p7: _____________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
nvme0n1p8: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 20.2
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
nvme0n1p9: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
================================ 2 OS detected =================================
OS#1: ОС використовується - Linux Mint 20.2 CurrentSession on nvme0n1p8
OS#2: Windows 10 on nvme0n1p6
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.11.0-22-generic root=UUID=316868b6-e3a1-4495-9939-3afe38e4d7c4 ro quiet splash
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this installed-session.
SecureBoot disabled.
efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,0002,0004,9999
Boot0000* Windows Boot Manager HD(3,GPT,8983a506-5cc3-4846-bdbc-dadea16b11c5,0xbc3800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...,................
Boot0001* ubuntu HD(4,GPT,8983a506-5cc3-4846-bdbc-dadea16b11c5,0xbc3800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot0002* Internal Hard Disk PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-25-38-A2-11-C2-25-2C)/HD(1,GPT,61d97585-3738-4b8b-bb99-511c96f0089b,0x800,0x100000)..BO
Boot0004* Internal Hard Disk PciRoot(0x0)/Pci(0x2,0x4)/Pci(0x0,0x0)/NVMe(0x1,00-25-38-A2-11-C2-25-2C)/HD(4,GPT,8983a506-5cc3-4846-bdbc-dadea16b11c5,0xbc3800,0x32000)..BO
Boot9999* USB Drive (UEFI) PciRoot(0x0)/Pci(0x1d,0x0)/USB(16,0)..BO
0f658112c2a24edaa1e1648ec88c97e7 nvme0n1p1/debian/grubx64.efi
0f658112c2a24edaa1e1648ec88c97e7 nvme0n1p1/BOOT/BOOTX64.efi
78415fb8fb9b909f8029858113f1335f nvme0n1p4/Boot/bkpbootx64.efi
78415fb8fb9b909f8029858113f1335f nvme0n1p4/Boot/bootx64.efi
2895d47544fd587b26c7e29be1295c27 nvme0n1p4/Boot/fbx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0 nvme0n1p4/Boot/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 nvme0n1p4/Boot/mmx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0 nvme0n1p4/ubuntu/grubx64.efi
dc3c47be2f78a78e5e57d097ae6c5c84 nvme0n1p4/ubuntu/mmx64.efi
78415fb8fb9b909f8029858113f1335f nvme0n1p4/ubuntu/shimx64.efi
65ad5b21d383bf7e929b760c0365e892 nvme0n1p4/Microsoft/Boot/bootmgfw.efi
6ac6140f2977efdbfe2c6b6e8e832495 nvme0n1p4/Microsoft/Boot/bootmgr.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
nvme0n1 : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
nvme0n1p8 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
nvme0n1p1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
nvme0n1p4 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
nvme0n1p6 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
nvme0n1p7 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
nvme0n1p9 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
nvme0n1p8 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p4 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p6 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p7 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
nvme0n1p9 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
nvme0n1p8 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme0n1
nvme0n1p1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
nvme0n1p4 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
nvme0n1p6 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
nvme0n1p7 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
nvme0n1p9 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
fdisk -l (filtered): ___________________________________________________________
Disk nvme0n1: 476.96 GiB, 512110190592 bytes, 1000215216 sectors
Disk identifier: 6CBC3BD7-2FA3-4A13-9F0A-439C6AA249C5
Start End Sectors Size Type
nvme0n1p1 2048 1050623 1048576 512M Microsoft basic data
nvme0n1p3 11290624 12335103 1044480 510M Linux swap
nvme0n1p4 12335104 12539903 204800 100M EFI System
nvme0n1p5 12539904 12572671 32768 16M Microsoft reserved
nvme0n1p6 12572672 598510171 585937500 279.4G Microsoft basic data
nvme0n1p7 999168000 1000212479 1044480 510M Windows recovery environment
nvme0n1p8 598511616 735227903 136716288 65.2G Linux filesystem
nvme0n1p9 735227904 999167357 263939454 125.9G Linux filesystem
Partition table entries are not in disk order.
parted -lm (filtered): _________________________________________________________
nvme0n1:512GB:nvme:512:512:gpt:SAMSUNG MZVLQ512HALU-000H1:;
1:1049kB:538MB:537MB:fat32::msftdata;
3:5781MB:6316MB:535MB:linux-swap(v1)::swap;
4:6316MB:6420MB:105MB:fat32:EFI system partition:boot, esp;
5:6420MB:6437MB:16.8MB::Microsoft reserved partition:msftres;
6:6437MB:306GB:300GB:ntfs:Basic data partition:msftdata;
8:306GB:376GB:70.0GB:ext4::;
9:376GB:512GB:135GB:ext4::;
7:512GB:512GB:535MB:ntfs::hidden, diag;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
nvme0n1
├─nvme0n1p1 vfat A544-D3FB 61d97585-3738-4b8b-bb99-511c96f0089b
├─nvme0n1p3 swap 3021cbd8-230e-4c61-8f2a-6faeb8fd6b5f 70482933-fb53-49b7-80a7-0ceb9362066d
├─nvme0n1p4 vfat 5ECE-C596 8983a506-5cc3-4846-bdbc-dadea16b11c5 EFI system partition
├─nvme0n1p5 4a2d7896-927e-44a4-8724-f067414064f5 Microsoft reserved partition
├─nvme0n1p6 ntfs 42D6D07FD6D0751F 1b021b69-1624-4de5-ba83-0e7f9fe0e42a Basic data partition
├─nvme0n1p7 ntfs 869804B19804A1B3 96937539-a642-4156-9b71-cf3ebabca4b6
├─nvme0n1p8 ext4 316868b6-e3a1-4495-9939-3afe38e4d7c4 73400fed-88de-4cbe-bd6b-2512a6c077e7
└─nvme0n1p9 ext4 c5ca0af0-8533-4f97-b1c5-4919716b7f65 1e42a1b0-4816-4ae2-81ab-70f0c59691dd
df (filtered): _________________________________________________________________
Avail Use% Mounted on
nvme0n1p1 493.1M 4% /mnt/boot-sav/nvme0n1p1
nvme0n1p6 164.5G 41% /mnt/boot-sav/nvme0n1p6
nvme0n1p7 89M 83% /mnt/boot-sav/nvme0n1p7
nvme0n1p8 51.6G 14% /
nvme0n1p9 20.2G 78% /home
Mount options: __________________________________________________________________
nvme0n1p1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
nvme0n1p6 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p7 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
nvme0n1p8 rw,relatime,errors=remount-ro
nvme0n1p9 rw,relatime
=================== nvme0n1p4/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid 316868b6-e3a1-4495-9939-3afe38e4d7c4 root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
=================== nvme0n1p8/boot/grub/grub.cfg (filtered) ====================
Ubuntu 316868b6-e3a1-4495-9939-3afe38e4d7c4
Ubuntu, with Linux 5.11.0-22-generic 316868b6-e3a1-4495-9939-3afe38e4d7c4
Ubuntu, with Linux 5.4.0-77-generic 316868b6-e3a1-4495-9939-3afe38e4d7c4
Ubuntu, with Linux 5.4.0-74-generic 316868b6-e3a1-4495-9939-3afe38e4d7c4
Windows Boot Manager (on nvme0n1p4) osprober-efi-5ECE-C596
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
======================== nvme0n1p8/etc/fstab (filtered) ========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/nvme0n1p8 during installation
UUID=316868b6-e3a1-4495-9939-3afe38e4d7c4 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p4 during installation
# /home was on /dev/nvme0n1p9 during installation
UUID=c5ca0af0-8533-4f97-b1c5-4919716b7f65 /home ext4 defaults 0 2
# swap was on /dev/nvme0n1p3 during installation
UUID=3021cbd8-230e-4c61-8f2a-6faeb8fd6b5f none swap sw 0 0
UUID=5ECE-C596 /boot/efi vfat defaults 0 1
==================== nvme0n1p8/etc/default/grub (filtered) =====================
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
================= nvme0n1p8: Location of files loaded by Grub ==================
GiB - GB File Fragment(s)
318.027732849 = 341.479677952 boot/grub/grub.cfg 1
289.316062927 = 310.650757120 boot/vmlinuz 1
289.316062927 = 310.650757120 boot/vmlinuz-5.11.0-22-generic 1
288.011966705 = 309.250494464 boot/vmlinuz-5.4.0-74-generic 2
296.192600250 = 318.034382848 boot/vmlinuz-5.4.0-77-generic 1
296.192600250 = 318.034382848 boot/vmlinuz.old 1
289.797527313 = 311.167725568 boot/initrd.img 1
289.797527313 = 311.167725568 boot/initrd.img-5.11.0-22-generic 1
296.798824310 = 318.685310976 boot/initrd.img-5.4.0-74-generic 5
297.060497284 = 318.966280192 boot/initrd.img-5.4.0-77-generic 1
297.060497284 = 318.966280192 boot/initrd.img.old 1
=================== nvme0n1p8: ls -l /etc/grub.d/ (filtered) ===================
загалом 128
-rwxr-xr-x 1 root root 17622 тра 20 08:50 10_linux
-rwxr-xr-x 1 root root 42359 тра 20 08:50 10_linux_zfs
-rwxr-xr-x 1 root root 12894 тра 20 08:50 20_linux_xen
-rwxr-xr-x 1 root root 12059 тра 20 08:50 30_os-prober
-rwxr-xr-x 1 root root 1424 тра 20 08:50 30_uefi-firmware
-rwxr-xr-x 1 root root 214 тра 20 08:50 40_custom
-rwxr-xr-x 1 root root 216 тра 20 08:50 41_custom
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[53499]) leaked on lvs invocation. Parent PID 1599: /bin/bash