ho installato Boot-Repair da usb e ha risolto in un baleno. Al reboot si è riavviato.
Codice: Seleziona tutto
boot-repair-4ppa130 [20211116_2054]
============================= Boot Repair Summary ==============================
Default settings: ______________________________________________________________
The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
nvme0n1p2,
using the following options: nvme0n1p1/boot/efi,
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file
Final advice in case of suggested repair: ______________________________________
Please do not forget to make your UEFI firmware boot on the Ubuntu 20.04.3 LTS entry (nvme0n1p1/efi/****/shim****.efi (**** will be updated in the final message) file) !
User settings: _________________________________________________________________
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
The settings chosen by the user will reinstall the grub-efi-amd64-signed of
nvme0n1p2,
using the following options: nvme0n1p1/boot/efi,
Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file
/boot/efi added in nvme0n1p2/fstab
Mount nvme0n1p1 on /mnt/boot-sav/nvme0n1p2/boot/efi
=============== Reinstall the grub-efi-amd64-signed of nvme0n1p2 ===============
grub-install --version
grub-install (GRUB) 2.04-1ubuntu26.13
efibootmgr -v from chroot before grub install
BootCurrent: 0006
Timeout: 2 seconds
BootOrder: 0005,0002,0001,0006,0007,0000,0003
Boot0000* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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* UEFI: IP4 Realtek PCIe GBE Family Controller PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x1)/MAC(80fa5b4a0c29,0)/IPv4(0.0.0.00.0.0.0,0,0)..BO
Boot0002* UEFI: IP6 Realtek PCIe GBE Family Controller PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x1)/MAC(80fa5b4a0c29,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0003* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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.}....................
Boot0005* ubuntu HD(1,GPT,6050048b-615d-4255-a9fc-abd575406a75,0x800,0x100000)/File(EFIUBUNTUSHIMX64.EFI)
Boot0006* UEFI: SanDisk PciRoot(0x0)/Pci(0x14,0x0)/USB(10,0)/CDROM(1,0x506fcc,0x7d00)..BO
Boot0007* UEFI: SanDisk, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(10,0)/HD(1,MBR,0x2cf4ba3a,0x506fcc,0x1f40)..BO
uname -r
5.11.0-27-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/nvme0n1p1
mv /mnt/boot-sav/nvme0n1p2/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/nvme0n1p2/boot/efi/EFI/Boot/bkpbootx64.efi
cp /mnt/boot-sav/nvme0n1p2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/nvme0n1p2/boot/efi/EFI/Boot/bootx64.efi
cp /mnt/boot-sav/nvme0n1p2/boot/efi/EFI/ubuntu/grubx64.efi /mnt/boot-sav/nvme0n1p2/boot/efi/EFI/Boot/
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: 0006
Timeout: 2 seconds
BootOrder: 0005,0002,0001,0006,0007,0000,0003
Boot0000* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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* UEFI: IP4 Realtek PCIe GBE Family Controller PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x1)/MAC(80fa5b4a0c29,0)/IPv4(0.0.0.00.0.0.0,0,0)..BO
Boot0002* UEFI: IP6 Realtek PCIe GBE Family Controller PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x1)/MAC(80fa5b4a0c29,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0003* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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.}....................
Boot0005* ubuntu HD(1,GPT,6050048b-615d-4255-a9fc-abd575406a75,0x800,0x100000)/File(EFIubuntushimx64.efi)
Boot0006* UEFI: SanDisk PciRoot(0x0)/Pci(0x14,0x0)/USB(10,0)/CDROM(1,0x506fcc,0x7d00)..BO
Boot0007* UEFI: SanDisk, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(10,0)/HD(1,MBR,0x2cf4ba3a,0x506fcc,0x1f40)..BO
chroot /mnt/boot-sav/nvme0n1p2 update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.4.0-90-generic
Found initrd image: /boot/initrd.img-5.4.0-90-generic
Found linux image: /boot/vmlinuz-5.4.0-89-generic
Found initrd image: /boot/initrd.img-5.4.0-89-generic
File descriptor 63 (pipe:[94969]) leaked on lvs invocation. Parent PID 38370: /bin/sh
grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
Adding boot menu entry for UEFI Firmware Settings
Unhide GRUB boot menu in nvme0n1p2/boot/grub/grub.cfg
An error occurred during the repair.
You can now reboot your computer.
Please do not forget to make your UEFI firmware boot on the Ubuntu 20.04.3 LTS entry (nvme0n1p1/EFI/ubuntu/shimx64.efi file) !
============================ Boot Info After Repair ============================
=> No boot loader is installed in the MBR of /dev/nvme0n1.
=> libparted MBR boot code is installed in the MBR of /dev/sda.
nvme0n1p1: _____________________________________________________________________
File system: vfat
Boot sector type: 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
nvme0n1p2: _____________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 20.04.3 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
sda1: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
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.
================================ 1 OS detected =================================
OS#1: Ubuntu 20.04.3 LTS on nvme0n1p2
============================ Architecture/Host Info ============================
CPU architecture: 64-bit
Live-session OS is Ubuntu 64-bit (Ubuntu 20.04.3 LTS, focal, x86_64)
===================================== UEFI =====================================
BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
SecureBoot disabled.
efibootmgr -v
BootCurrent: 0006
Timeout: 2 seconds
BootOrder: 0005,0002,0001,0006,0007,0000,0003
Boot0000* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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* UEFI: IP4 Realtek PCIe GBE Family Controller PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x1)/MAC(80fa5b4a0c29,0)/IPv4(0.0.0.00.0.0.0,0,0)..BO
Boot0002* UEFI: IP6 Realtek PCIe GBE Family Controller PciRoot(0x0)/Pci(0x1c,0x4)/Pci(0x0,0x1)/MAC(80fa5b4a0c29,0)/IPv6([::]:<->[::]:,0,0)..BO
Boot0003* Windows Boot Manager VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)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.}....................
Boot0005* ubuntu HD(1,GPT,6050048b-615d-4255-a9fc-abd575406a75,0x800,0x100000)/File(\EFI\UBUNTU\SHIMX64.EFI)
Boot0006* UEFI: SanDisk PciRoot(0x0)/Pci(0x14,0x0)/USB(10,0)/CDROM(1,0x506fcc,0x7d00)..BO
Boot0007* UEFI: SanDisk, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(10,0)/HD(1,MBR,0x2cf4ba3a,0x506fcc,0x1f40)..BO
This session has been detected as 'live' because df -Th / contains overlay
85fa9d77b929ec4231aba29476574eb6 nvme0n1p1/BOOT/fbx64.efi
469e608783843a701d172242f016c79c nvme0n1p1/BOOT/mmx64.efi
fa1bf1a7f90a852abe0bdbd089b7f1b0 nvme0n1p1/ubuntu/grubx64.efi
469e608783843a701d172242f016c79c nvme0n1p1/ubuntu/mmx64.efi
728124f6ec8e22fbdbe7034812c81b95 nvme0n1p1/ubuntu/shimx64.efi
728124f6ec8e22fbdbe7034812c81b95 nvme0n1p1/BOOT/BOOTX64.efi
============================= Drive/Partition Info =============================
Disks info: ____________________________________________________________________
nvme0n1 : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, no-os, 2048 sectors * 512 bytes
Partitions info (1/3): _________________________________________________________
nvme0n1p1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
nvme0n1p2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
sda2 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, farbios
Partitions info (2/3): _________________________________________________________
nvme0n1p1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
nvme0n1p2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
sda2 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
Partitions info (3/3): _________________________________________________________
nvme0n1p1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, nvme0n1
nvme0n1p2 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme0n1
sda1 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
sda2 : maybesepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
fdisk -l (filtered): ___________________________________________________________
Disk nvme0n1: 238.49 GiB, 256060514304 bytes, 500118192 sectors
Disk identifier: 314B60A6-DCE5-43A6-BFA7-9AC708CB2CF8
Start End Sectors Size Type
nvme0n1p1 2048 1050623 1048576 512M EFI System
nvme0n1p2 1052672 498069503 497016832 237G Linux filesystem
Disk sda: 465.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xe65e82c2
Boot Start End Sectors Size Id Type
sda1 2048 488388607 488386560 232.9G 83 Linux
sda2 488388608 976773119 488384512 232.9G 83 Linux
Disk sdb: 14.33 GiB, 15376000000 bytes, 30031250 sectors
Disk identifier: 0x2cf4ba3a
Boot Start End Sectors Size Id Type
sdb1 * 0 5999871 5999872 2.9G 0 Empty
sdb2 5271500 5279499 8000 3.9M ef EFI (FAT-12/16/32)
sdb3 6000640 30031249 24030610 11.5G 83 Linux
parted -lm (filtered): _________________________________________________________
sda:500GB:scsi:512:4096:msdos:ATA ST500LM021-1KJ15:;
1:1049kB:250GB:250GB:ext4::;
2:250GB:500GB:250GB:ext4::;
sdb:15.4GB:scsi:512:512:unknown:SanDisk Ultra USB 3.0:;
nvme0n1:256GB:nvme:512:512:gpt:SAMSUNG MZVPW256HEGL-00000:;
1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
2:539MB:255GB:254GB:ext4::;
blkid (filtered): ______________________________________________________________
NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ext4 af3c06f9-5b44-45af-84cd-54a6e8c2e8de e65e82c2-01 DATI1
└─sda2 ext4 7c297f1d-71d5-4052-8618-292e2d4514e6 e65e82c2-02 DATI 2
sdb iso9660 2021-08-19-11-03-38-00 Ubuntu 20.04.3 LTS amd64
├─sdb1 iso9660 2021-08-19-11-03-38-00 2cf4ba3a-01 Ubuntu 20.04.3 LTS amd64
├─sdb2 vfat 54C5-9C6C 2cf4ba3a-02
└─sdb3 ext4 0e249874-8451-44b5-b67b-92473390c45b 2cf4ba3a-03 writable
nvme0n1
├─nvme0n1p1 vfat 5C70-D7E3 6050048b-615d-4255-a9fc-abd575406a75 EFI System Partition
└─nvme0n1p2 ext4 252a0a7c-0f26-4c20-ac21-21fb9f8af592 7c0a2a25-260f-204c-ac21-21fb9f8af592
df (filtered): _________________________________________________________________
Avail Use% Mounted on
disk/by-label/writable[/install-logs-2021-11-16.1/crash] 10.6G 0% /var/crash
disk/by-label/writable[/install-logs-2021-11-16.1/log] 10.6G 0% /var/log
nvme0n1p1 503.2M 2% /mnt/boot-sav/nvme0n1p1
nvme0n1p2 198.9G 9% /mnt/boot-sav/nvme0n1p2
sda1 216.5G 0% /mnt/boot-sav/sda1
sda2 104.9G 49% /mnt/boot-sav/sda2
sdb1 0 100% /cdrom
Mount options: __________________________________________________________________
disk/by-label/writable[/install-logs-2021-11-16.1/crash] rw,relatime
disk/by-label/writable[/install-logs-2021-11-16.1/log] rw,relatime
nvme0n1p1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
nvme0n1p2 rw,relatime
sda1 rw,relatime
sda2 rw,relatime
sdb1 ro,noatime,nojoliet,check=s,map=n,blocksize=2048
=================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================
search.fs_uuid 252a0a7c-0f26-4c20-ac21-21fb9f8af592 root
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg
=================== nvme0n1p2/boot/grub/grub.cfg (filtered) ====================
Ubuntu 252a0a7c-0f26-4c20-ac21-21fb9f8af592
Ubuntu, with Linux 5.4.0-90-generic 252a0a7c-0f26-4c20-ac21-21fb9f8af592
Ubuntu, with Linux 5.4.0-89-generic 252a0a7c-0f26-4c20-ac21-21fb9f8af592
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###
======================== nvme0n1p2/etc/fstab (filtered) ========================
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/ubuntu--vg-root / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/nvme0n1p1 during installation
/dev/mapper/ubuntu--vg-swap_1 none swap sw 0 0
UUID=7c297f1d-71d5-4052-8618-292e2d4514e6 /home ext4 rw 0 2
UUID=5C70-D7E3 /boot/efi vfat defaults 0 1
==================== nvme0n1p2/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=""