Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- boot-repair-4ppa200 [20220921_1936]
- ============================= Boot Repair Summary ==============================
- grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
- grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
- No nvme0n1p2/etc/default/grub
- Recommended repair: ____________________________________________________________
- The default repair of the Boot-Repair utility will reinstall the grub-efi of
- nvme0n1p2,
- using the following options: nvme0n1p1/boot/efi
- Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file
- Mount nvme0n1p1 on /mnt/boot-sav/nvme0n1p2/boot/efi
- ===================== Reinstall the grub-efi of nvme0n1p2 ======================
- chroot /mnt/boot-sav/nvme0n1p2 grub-install --version
- grub-install (GRUB) 2.06-2ubuntu7
- modprobe: FATAL: Module efivars not found in directory /lib/modules/5.3.0-28-generic
- chroot /mnt/boot-sav/nvme0n1p2 modprobe efivars
- chroot /mnt/boot-sav/nvme0n1p2 efibootmgr -v before grub install
- BootCurrent: 0009
- Timeout: 2 seconds
- BootOrder: 0004,0007,0000,0002,0009
- Boot0000 Windows Boot Manager HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x82000)/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.}...)....................ISPH
- Boot0001 ubuntu HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIubuntushimx64.efi)
- Boot0002 Linux Firmware Updater HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIubuntufwupdx64.efi)
- Boot0003 ubuntu HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIubuntushimx64.efi)
- Boot0004* ubuntu HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIubuntushimx64.efi)
- Boot0007* UEFI: SSSTC CL1-8D256-HP, Partition 1 HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIbootbootx64.efi)..BO
- Boot0009* UEFI: VendorCoProductCode 2.00, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x2c534026,0x3c4,0x1340)..BO
- chroot /mnt/boot-sav/nvme0n1p2 uname -r
- 5.3.0-28-generic
- chroot /mnt/boot-sav/nvme0n1p2 grub-install --efi-directory=/boot/efi --target=x86_64-efi
- Installing for x86_64-efi platform.
- grub-install: warning: EFI variables cannot be set on this system.
- grub-install: warning: You will have to complete the GRUB setup manually.
- 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/grubx64.efi /mnt/boot-sav/nvme0n1p2/boot/efi/EFI/Boot/bootx64.efi
- chroot /mnt/boot-sav/nvme0n1p2 grub-install --efi-directory=/boot/efi --target=x86_64-efi
- Installing for x86_64-efi platform.
- grub-install: warning: EFI variables cannot be set on this system.
- grub-install: warning: You will have to complete the GRUB setup manually.
- Installation finished. No error reported.
- chroot /mnt/boot-sav/nvme0n1p2 efibootmgr -v after grub install
- BootCurrent: 0009
- Timeout: 2 seconds
- BootOrder: 0004,0007,0000,0002,0009
- Boot0000 Windows Boot Manager HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x82000)/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.}...)....................ISPH
- Boot0001 ubuntu HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIubuntushimx64.efi)
- Boot0002 Linux Firmware Updater HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIubuntufwupdx64.efi)
- Boot0003 ubuntu HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIubuntushimx64.efi)
- Boot0004* ubuntu HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIubuntushimx64.efi)
- Boot0007* UEFI: SSSTC CL1-8D256-HP, Partition 1 HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIbootbootx64.efi)..BO
- Boot0009* UEFI: VendorCoProductCode 2.00, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x2c534026,0x3c4,0x1340)..BO
- Warning: NVram was not modified.
- chroot /mnt/boot-sav/nvme0n1p2 update-grub
- Sourcing file `/etc/default/grub.d/init-select.cfg'
- Generating grub configuration file ...
- Found linux image: /boot/vmlinuz-5.15.0-47-generic
- Found initrd image: /boot/initrd.img-5.15.0-47-generic
- Found linux image: /boot/vmlinuz-5.15.0-46-generic
- Found initrd image: /boot/initrd.img-5.15.0-46-generic
- Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
- Warning: os-prober will be executed to detect other bootable partitions.
- Its output will be used to detect bootable binaries on them and create new boot entries.
- grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
- Unhide GRUB boot menu in nvme0n1p2/boot/grub/grub.cfg
- Boot successfully repaired.
- You can now reboot your computer.
- Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.1 LTS entry (nvme0n1p1/efi/ubuntu/grubx64.efi file) !
- ============================ Boot Info After Repair ============================
- => No boot loader 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/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi
- /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi
- /efi/grub/grubx64.efi /efi/grub/mmx64.efi
- /efi/grub/shimx64.efi /efi/ubuntu/fwupdx64.efi
- /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
- /efi/ubuntu/shimx64.efi /efi/grub/grub.cfg
- /efi/ubuntu/grub.cfg
- nvme0n1p2: _____________________________________________________________________
- File system: ext4
- Boot sector type: -
- Boot sector info:
- Operating System: Ubuntu 22.04.1 LTS
- Boot files: /boot/grub/grub.cfg /etc/fstab
- sda: ___________________________________________________________________________
- File system: iso9660
- Boot sector type: Unknown
- Boot sector info:
- Operating System:
- Boot files: /boot/grub/grub.cfg
- ================================ 1 OS detected =================================
- OS#1: Ubuntu 22.04.1 LTS on nvme0n1p2
- ================================ Host/Hardware =================================
- CPU architecture: 64-bit
- Video: Skylake GT2 [HD Graphics 520] from Intel Corporation
- Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)
- ===================================== UEFI =====================================
- BIOS/UEFI firmware: 1.35.3 from Dell Inc.
- The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
- SecureBoot disabled - SecureBoot disabled - Please report this message to [email protected].
- BootCurrent: 0009
- Timeout: 2 seconds
- BootOrder: 0004,0007,0000,0002,0009
- Boot0000 Windows Boot Manager HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x82000)/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.}...)....................ISPH
- Boot0001 ubuntu HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
- Boot0002 Linux Firmware Updater HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(\EFI\ubuntu\fwupdx64.efi)
- Boot0003 ubuntu HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
- Boot0004* ubuntu HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
- Boot0007* UEFI: SSSTC CL1-8D256-HP, Partition 1 HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFI\boot\bootx64.efi)..BO
- Boot0009* UEFI: VendorCoProductCode 2.00, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x2c534026,0x3c4,0x1340)..BO
- 728124f6ec8e22fbdbe7034812c81b95 nvme0n1p1/BOOT/bkpbootx64.efi
- 728124f6ec8e22fbdbe7034812c81b95 nvme0n1p1/BOOT/bootx64.efi
- c152ec201c37b6e97bbc2207e49d1271 nvme0n1p1/BOOT/fbx64.efi
- fdafb5eece6caeccb788c946a28e6872 nvme0n1p1/BOOT/mmx64.efi
- f62c28d9b477b6a1a7b1c991b2b6637d nvme0n1p1/grub/grubx64.efi
- fdafb5eece6caeccb788c946a28e6872 nvme0n1p1/grub/mmx64.efi
- 728124f6ec8e22fbdbe7034812c81b95 nvme0n1p1/grub/shimx64.efi
- ba531a1a29f69774c1eafa2c96110e04 nvme0n1p1/ubuntu/fwupdx64.efi
- f62c28d9b477b6a1a7b1c991b2b6637d nvme0n1p1/ubuntu/grubx64.efi
- fdafb5eece6caeccb788c946a28e6872 nvme0n1p1/ubuntu/mmx64.efi
- 728124f6ec8e22fbdbe7034812c81b95 nvme0n1p1/ubuntu/shimx64.efi
- ============================= Drive/Partition Info =============================
- Disks info: ____________________________________________________________________
- nvme0n1 : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 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 , grub1, grub-install, no-grubenv, update-grub, 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
- Partitions info (3/3): _________________________________________________________
- nvme0n1p1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
- nvme0n1p2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme0n1
- fdisk -l (filtered): ___________________________________________________________
- Disk nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
- Disk identifier: 4E7F6927-4CC1-4E8F-BEA2-3A3F13E9449A
- Start End Sectors Size Type
- nvme0n1p1 2048 1050623 1048576 512M EFI System
- nvme0n1p2 1050624 500117503 499066880 238G Linux filesystem
- Disk sda: 29.3 GiB, 31457280000 bytes, 61440000 sectors
- Disk identifier: 0x2c534026
- Boot Start End Sectors Size Id Type
- sda1 * 0 1802239 1802240 880M 0 Empty
- sda2 964 5891 4928 2.4M ef EFI (FAT-12/16/32)
- Disk zram0: 2 GiB, 2084741120 bytes, 508970 sectors
- Disk zram1: 2 GiB, 2084741120 bytes, 508970 sectors
- Disk zram2: 2 GiB, 2084741120 bytes, 508970 sectors
- Disk zram3: 2 GiB, 2084741120 bytes, 508970 sectors
- parted -lm (filtered): _________________________________________________________
- sda:31.5GB:scsi:512:512:msdos:VendorCo ProductCode:;
- 2:494kB:3017kB:2523kB:::esp;
- nvme0n1:256GB:nvme:512:512:gpt:SSSTC CL1-8D256-HP:;
- 1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
- 2:538MB:256GB:256GB:ext4::;
- Free space >10MiB: ______________________________________________________________
- sda: 2.88MiB:30000MiB:29997MiB
- blkid (filtered): ______________________________________________________________
- NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
- sda iso9660 2020-06-13-00-42-55-00 Boot-Repair-Disk 64bit
- ├─sda1 iso9660 2020-06-13-00-42-55-00 2c534026-01 Boot-Repair-Disk 64bit
- └─sda2 vfat D055-8513 2c534026-02 Boot-Repair-Disk 64bit
- nvme0n1
- ├─nvme0n1p1 vfat 8CBD-9F92 8906505f-5771-4d0b-bda2-e0dd9606d484 EFI System Partition
- └─nvme0n1p2 ext4 5b9598dc-89dd-4741-b915-76ab61826b9c a111efef-2675-438f-99a5-27daf100ab22
- Mount points (filtered): _______________________________________________________
- Avail Use% Mounted on
- /dev/nvme0n1p1 470.4M 8% /mnt/boot-sav/nvme0n1p1
- /dev/nvme0n1p2 88.1G 57% /mnt/boot-sav/nvme0n1p2
- /dev/sda 0 100% /cdrom
- Mount options (filtered): ______________________________________________________
- /dev/nvme0n1p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
- /dev/nvme0n1p2 ext4 rw,relatime
- /dev/sda iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048
- ==================== nvme0n1p1/efi/grub/grub.cfg (filtered) ====================
- search.fs_uuid 5b9598dc-89dd-4741-b915-76ab61826b9c root
- set prefix=($root)'/boot/grub'
- configfile $prefix/grub.cfg
- =================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================
- search.fs_uuid 5b9598dc-89dd-4741-b915-76ab61826b9c root
- set prefix=($root)'/boot/grub'
- configfile $prefix/grub.cfg
- =================== nvme0n1p2/boot/grub/grub.cfg (filtered) ====================
- GNU/Linux 5b9598dc-89dd-4741-b915-76ab61826b9c
- GNU/Linux, with Linux 5.15.0-47-generic 5b9598dc-89dd-4741-b915-76ab61826b9c
- GNU/Linux, with Linux 5.15.0-46-generic 5b9598dc-89dd-4741-b915-76ab61826b9c
- ### END /etc/grub.d/30_os-prober ###
- ### END /etc/grub.d/30_uefi-firmware ###
- ======================== nvme0n1p2/etc/fstab (filtered) ========================
- # <file system> <mount point> <type> <options> <dump> <pass>
- # / was on /dev/nvme0n1p2 during installation
- UUID=5b9598dc-89dd-4741-b915-76ab61826b9c / ext4 errors=remount-ro 0 1
- # /boot/efi was on /dev/nvme0n1p1 during installation
- UUID=8CBD-9F92 /boot/efi vfat umask=0077 0 1
- /swapfile none swap sw 0 0
- /dev/disk/by-id/usb-WD_Elements_2621_575852324132313537485446-0:0-part1 /mnt/usb-WD_Elements_2621_575852324132313537485446-0:0-part1 auto nosuid,nodev,nofail,noauto,x-gvfs-show 0 0
- /dev/disk/by-id/wwn-0x5000c500c84d10b8-part1 /mnt/wwn-0x5000c500c84d10b8-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
- /dev/sda /mnt/sda nfts defaults
- ================= nvme0n1p2: Location of files loaded by Grub ==================
- GiB - GB File Fragment(s)
- 0.500980377 = 0.537923584 boot/grub/grub.cfg 1
- 31.636714935 = 33.969664000 boot/vmlinuz 1
- 187.660152435 = 201.498554368 boot/vmlinuz-5.15.0-46-generic 1
- 31.636714935 = 33.969664000 boot/vmlinuz-5.15.0-47-generic 1
- 187.660152435 = 201.498554368 boot/vmlinuz.old 1
- 90.224021912 = 96.877305856 boot/initrd.img 1
- 193.942741394 = 208.244432896 boot/initrd.img-5.15.0-46-generic 1
- 90.224021912 = 96.877305856 boot/initrd.img-5.15.0-47-generic 1
- 193.942741394 = 208.244432896 boot/initrd.img.old 1
- =================== nvme0n1p2: ls -l /etc/grub.d/ (filtered) ===================
- -rwxr-xr-x 1 root root 18683 Apr 15 21:50 10_linux
- -rwxr-xr-x 1 root root 43031 Apr 15 21:50 10_linux_zfs
- -rwxr-xr-x 1 root root 14180 Apr 15 21:50 20_linux_xen
- -rwxr-xr-x 1 root root 13369 Apr 15 21:50 30_os-prober
- -rwxr-xr-x 1 root root 1372 Apr 15 21:50 30_uefi-firmware
- -rwxr-xr-x 1 root root 700 Feb 21 2022 35_fwupd
- -rwxr-xr-x 1 root root 214 Jan 13 2021 40_custom
- -rwxr-xr-x 1 root root 215 Apr 15 21:50 41_custom
- ======================== nvme0n1p2/etc/grub.d/35_fwupd =========================
- #! /bin/sh
- # SPDX-License-Identifier: LGPL-2.1+
- set -e
- [ -d ${pkgdatadir:?} ]
- # shellcheck source=/dev/null
- . "$pkgdatadir/grub-mkconfig_lib"
- if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
- ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
- . /var/lib/fwupd/uefi_capsule.conf
- if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
- echo "Adding Linux Firmware Updater entry" >&2
- cat << EOF
- menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
- EOF
- ${grub_probe:?}
- prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
- cat << EOF
- chainloader ${EFI_PATH}
- }
- EOF
- fi
- fi
- ====================== sda/boot/grub/grub.cfg (filtered) =======================
- Boot-Repair-Disk session
- Boot-Repair-Disk session (failsafe)
- ==================== sda: Location of files loaded by Grub =====================
- GiB - GB File Fragment(s)
- ?? = ?? boot/grub/grub.cfg 1
Advertisement
Add Comment
Please, Sign In to add comment