12-01-2022, 13:39
0
Witam. Nowy komputer. Instalacja Mint 20.3 obok WIN10. Brak wyboru systemu. Komunikat z boot-repair (nie dal rady):
Od razu startuje Windows.
Kod:
boot-repair-4ppa130 [20220112_1132]
============================= Boot Repair Summary ==============================
Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes.
/usr/share/boot-sav/bs-cmd_terminal.sh: line 177: warning: command substitution: ignored null byte in input
Recommended repair: ____________________________________________________________
The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of
sda5,
using the following options: sda3/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 sda5/fstab
rm /mnt/boot-sav/sda3/efi/Boot/bootx64.efi
mv /mnt/boot-sav/sda3/efi/Boot/bkpbootx64.efi /mnt/boot-sav/sda3/efi/Boot/bootx64.efi
Quantity of real Windows: 1
Mount sda3 on /mnt/boot-sav/sda5/boot/efi
================= Reinstall the grub-efi-amd64-signed of sda5 ==================
grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.13
efibootmgr -v from chroot before grub install
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,0005,0003,0004,0002
Boot0000* Windows Boot Manager HD(3,GPT,4b1e627c-7eee-4344-8562-2664a40c80af,0x149000,0x31800)/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.}...C................
Boot0001* ubuntu HD(3,GPT,4b1e627c-7eee-4344-8562-2664a40c80af,0x149000,0x31800)/File(EFIubuntushimx64.efi)
Boot0002* Realtek PXE B02 D00 BBS(Network,,0x0)AMBO
Boot0003* LITEON LCH-128V2S BBS(HD,,0x0)AMBO
Boot0004* KingstonDataTraveler 3.0 BBS(HD,,0x0)AMBO
Boot0005* UEFI: KingstonDataTraveler 3.0 PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(4,0)/HD(1,MBR,0x2d7faf9b,0x280,0x1f40)AMBO
uname -r
5.4.0-91-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/sda3
mv /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sda5/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/sda5/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda5/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,0005,0003,0004,0002
Boot0000* Windows Boot Manager HD(3,GPT,4b1e627c-7eee-4344-8562-2664a40c80af,0x149000,0x31800)/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.}...C................
Boot0001* ubuntu HD(3,GPT,4b1e627c-7eee-4344-8562-2664a40c80af,0x149000,0x31800)/File(EFIubuntushimx64.efi)
Boot0002* Realtek PXE B02 D00 BBS(Network,,0x0)AMBO
Boot0003* LITEON LCH-128V2S BBS(HD,,0x0)AMBO
Boot0004* KingstonDataTraveler 3.0 BBS(HD,,0x0)AMBO
Boot0005* UEFI: KingstonDataTraveler 3.0 PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(4,0)/HD(1,MBR,0x2d7faf9b,0x280,0x1f40)AMBO
Error: NVram is locked (Linuxmint not found in efibootmgr).
chroot /mnt/boot-sav/sda5 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.4.0-91-generic
Found initrd image: /boot/initrd.img-5.4.0-91-generic
File descriptor 63 (pipe:[63492]) leaked on lvs invocation. Parent PID 17534: /bin/sh
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Found Windows Boot Manager on /dev/sda3@/EFI/Microsoft/Boot/bootmgfw.efi
Unhide GRUB boot menu in sda5/boot/grub/grub.cfg
An error occurred during the repair.
Locked-NVram detected.
============================ Boot Info After Repair ============================
=> Windows 7/8/2012 is installed in the MBR of /dev/sda.
sda1: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
sda2: __________________________________________________________________________
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:
sda3: __________________________________________________________________________
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
sda4: __________________________________________________________________________
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
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Linux Mint 20.3
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sdb: ___________________________________________________________________________
File system: iso9660
Boot sector type: Unknown
Boot sector info:
Mounting failed: mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
================================ 2 OS detected =================================
OS#1: Linux Mint 20.3 Una (20.3) on sda5
OS#2: Windows 10 on sda4
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Linuxmint 64-bit (Linux Mint 20.3, una, x86_64)
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled.
efibootmgr -v
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0001,0000,0005,0003,0004,0002
Boot0000* Windows Boot Manager HD(3,GPT,4b1e627c-7eee-4344-8562-2664a40c80af,0x149000,0x31800)/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.}...C................
Boot0001* ubuntu HD(3,GPT,4b1e627c-7eee-4344-8562-2664a40c80af,0x149000,0x31800)/File(\EFI\ubuntu\shimx64.efi)
Boot0002* Realtek PXE B02 D00 BBS(Network,,0x0)AMBO
Boot0003* LITEON LCH-128V2S BBS(HD,,0x0)AMBO
Boot0004* KingstonDataTraveler 3.0 BBS(HD,,0x0)AMBO
Boot0005* UEFI: KingstonDataTraveler 3.0 PciRoot(0x0)/Pci(0x1d,0x0)/USB(1,0)/USB(4,0)/HD(1,MBR,0x2d7faf9b,0x280,0x1f40)AMBO
This session has been detected as 'live' because /proc/cmdline contains (boot=casper)
This session has been detected as 'live' because df -Th / contains overlay
728124f6ec8e22fbdbe7034812c81b95 sda3/Boot/bkpbootx64.efi
728124f6ec8e22fbdbe7034812c81b95 sda3/Boot/bootx64.efi
85fa9d77b929ec4231aba29476574eb6 sda3/Boot/fbx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0 sda3/Boot/grubx64.efi
469e608783843a701d172242f016c79c sda3/Boot/mmx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0 sda3/ubuntu/grubx64.efi
469e608783843a701d172242f016c79c sda3/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95 sda3/ubuntu/shimx64.efi
4f0248591a11d5432380ba65f683879b sda3/Microsoft/Boot/bootmgfw.efi
1feb5f9427494e6f598603caa3af7d99 sda3/Microsoft/Boot/bootmgr.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 34 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
sda2 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda3 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda4 : is-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
sda5 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
Partitions info (2/3): _________________________________________________________
sda2 : isnotESP, part-has-no-fstab, no-nt, no-winload, recovery-or-hidden, no-bmgr, notwinboot
sda3 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda4 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot
sda5 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
sda2 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda3 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda4 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda5 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk sda: 119.25 GiB, 128035676160 bytes, 250069680 sectors
Disk identifier: 07F0C857-F2C4-46A0-960B-1040E06FF677
Start End Sectors Size Type
sda1 34 262177 262144 128M Microsoft reserved
sda2 264192 1347583 1083392 529M Windows recovery environment
sda3 1347584 1550335 202752 99M EFI System
sda4 1550336 171831637 170281302 81.2G Microsoft basic data
sda5 171833344 250068991 78235648 37.3G Linux filesystem
Disk sdb: 14.42 GiB, 15472047104 bytes, 30218842 sectors
Disk identifier: 0x2d7faf9b
Boot Start End Sectors Size Id Type
sdb1 * 0 4397759 4397760 2.1G 0 Empty
sdb2 640 8639 8000 3.9M ef EFI (FAT-12/16/32)
sdb3 4399104 30218841 25819738 12.3G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:128GB:scsi:512:512:gpt:ATA LITEON LCH-128V2:;
1:17.4kB:134MB:134MB:::msftres;
2:135MB:690MB:555MB:ntfs::diag;
3:690MB:794MB:104MB:fat32::boot, esp;
4:794MB:88.0GB:87.2GB:ntfs::msftdata;
5:88.0GB:128GB:40.1GB:ext4::;
sdb:15.5GB:scsi:512:512:unknown:Kingston DataTraveler 3.0:;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 1bad04b2-36bd-4253-b40c-b2698ebf124c
├─sda2 ntfs 18749A26749A0722 7e6c289c-2997-4a5b-bdb3-51cc9d41cd34 Odzyskiwanie
├─sda3 vfat 8C9B-D06B 4b1e627c-7eee-4344-8562-2664a40c80af
├─sda4 ntfs 8A4C9E504C9E3743 24913c0c-0428-45aa-8ae5-e9f0bc670077
└─sda5 ext4 7f25e02e-2f60-4df7-b981-a8c89a39977b 7412a89d-3b79-41d4-ab22-a297aa2d0f13
sdb iso9660 2022-01-04-15-01-47-00 Linux Mint 20.3 Cinnamon 64-bit
├─sdb1 iso9660 2022-01-04-15-01-47-00 2d7faf9b-01 Linux Mint 20.3 Cinnamon 64-bit
├─sdb2 vfat 54C5-9C6C 2d7faf9b-02
└─sdb3 ext4 c7ea23d7-f6d6-415e-ad32-b8135260a9ea 2d7faf9b-03 writable
df (filtered): _________________________________________________________________
Avail Use% Mounted on
disk/by-label/writable[/install-logs-2022-01-12.6/log] 11.4G 0% /var/log
sda2 124.8M 76% /mnt/boot-sav/sda2
sda3 65.5M 33% /mnt/boot-sav/sda3
sda4 59G 27% /mnt/boot-sav/sda4
sda5 26.2G 23% /mnt/boot-sav/sda5
sdb1 0 100% /cdrom
Mount options: __________________________________________________________________
disk/by-label/writable[/install-logs-2022-01-12.6/log] rw,relatime
sda2 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda3 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
sda4 rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096
sda5 rw,relatime
sdb1 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
===================== sda3/efi/ubuntu/grub.cfg (filtered) ======================
search.fs_uuid 7f25e02e-2f60-4df7-b981-a8c89a39977b root hd0,gpt5
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
====================== sda5/boot/grub/grub.cfg (filtered) ======================
Ubuntu 7f25e02e-2f60-4df7-b981-a8c89a39977b
Ubuntu, with Linux 5.4.0-91-generic 7f25e02e-2f60-4df7-b981-a8c89a39977b
Windows Boot Manager (on sda3) osprober-efi-8C9B-D06B
### END /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_uefi-firmware ###
========================== sda5/etc/fstab (filtered) ===========================
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda5 during installation
UUID=7f25e02e-2f60-4df7-b981-a8c89a39977b / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda3 during installation
/swapfile none swap sw 0 0
UUID=8C9B-D06B /boot/efi vfat defaults 0 1
======================= sda5/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=""
==================== sda5: Location of files loaded by Grub ====================
GiB - GB File Fragment(s)
81.936527252 = 87.978676224 boot/grub/grub.cfg 1
86.491207123 = 92.869226496 boot/vmlinuz 2
86.491207123 = 92.869226496 boot/vmlinuz-5.4.0-91-generic 2
87.096649170 = 93.519314944 boot/initrd.img 2
87.096649170 = 93.519314944 boot/initrd.img-5.4.0-91-generic 2
87.096649170 = 93.519314944 boot/initrd.img.old 2
===================== sda5: ls -l /etc/grub.d/ (filtered) ======================
-rwxr-xr-x 1 root root 18151 Aug 12 09:18 10_linux
-rwxr-xr-x 1 root root 42359 Aug 12 09:18 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Aug 12 09:18 20_linux_xen
-rwxr-xr-x 1 root root 12059 Aug 12 09:18 30_os-prober
-rwxr-xr-x 1 root root 1424 Aug 12 09:18 30_uefi-firmware
-rwxr-xr-x 1 root root 214 Aug 12 09:18 40_custom
-rwxr-xr-x 1 root root 216 Aug 12 09:18 41_custom
======================== Unknown MBRs/Boot Sectors/etc =========================
Unknown BootLoader on sdb
00000000 45 52 08 00 00 00 90 90 00 00 00 00 00 00 00 00 |ER..............|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
00000060 83 e1 01 74 0b 66 c7 06 f1 06 b4 42 eb 15 eb 00 |...t.f.....B....|
00000070 5a 51 b4 08 cd 13 83 e1 3f 5b 51 0f b6 c6 40 50 |ZQ......?[Q...@P|
00000080 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 07 e8 |..SRP..|...f....|
00000090 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 81 3e |[email protected].>|
000000a0 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 7c 00 |@|..xpu....{.D|.|
000000b0 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 69 6e |....isolinux.bin|
000000c0 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f 72 72 | missing or corr|
000000d0 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 f8 7b |upt...f`f1.f...{|
000000e0 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a 10 89 |f...{fRfP.Sj.j..|
000000f0 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 f6 36 |.f.6.{.........6|
00000100 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b cd 13 |.{....A......{..|
00000110 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 74 69 |.d.fa....Operati|
00000120 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 20 65 |ng system load e|
00000130 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 04 b3 |rror...^....>b..|
00000140 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 00 00 |...<.u..........|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 c0 21 00 00 00 00 00 00 9b af 7f 2d 00 00 80 00 |.!.........-....|
000001c0 01 00 00 86 e0 f9 00 00 00 00 c0 1a 43 00 00 fe |............C...|
000001d0 ff ff ef fe ff ff 80 02 00 00 40 1f 00 00 00 d4 |..........@.....|
000001e0 44 11 83 09 ca 59 00 20 43 00 5a fa 89 01 00 00 |D....Y. C.Z.....|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
=============================== StdErr Messages ================================
File descriptor 63 (pipe:[63492]) leaked on lvs invocation. Parent PID 6461: /bin/bash
Od razu startuje Windows.