Guest User

Untitled

a guest
Sep 21st, 2022
265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.94 KB | None | 0 0
  1. boot-repair-4ppa200 [20220921_1936]
  2.  
  3. ============================= Boot Repair Summary ==============================
  4.  
  5.  
  6.  
  7.  
  8.  
  9. grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
  10. grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
  11. No nvme0n1p2/etc/default/grub
  12.  
  13. Recommended repair: ____________________________________________________________
  14.  
  15. The default repair of the Boot-Repair utility will reinstall the grub-efi of
  16. nvme0n1p2,
  17. using the following options: nvme0n1p1/boot/efi
  18. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file
  19.  
  20.  
  21. Mount nvme0n1p1 on /mnt/boot-sav/nvme0n1p2/boot/efi
  22.  
  23. ===================== Reinstall the grub-efi of nvme0n1p2 ======================
  24.  
  25. chroot /mnt/boot-sav/nvme0n1p2 grub-install --version
  26. grub-install (GRUB) 2.06-2ubuntu7
  27. modprobe: FATAL: Module efivars not found in directory /lib/modules/5.3.0-28-generic
  28. chroot /mnt/boot-sav/nvme0n1p2 modprobe efivars
  29.  
  30. chroot /mnt/boot-sav/nvme0n1p2 efibootmgr -v before grub install
  31. BootCurrent: 0009
  32. Timeout: 2 seconds
  33. BootOrder: 0004,0007,0000,0002,0009
  34. 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
  35. Boot0001 ubuntu HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIubuntushimx64.efi)
  36. Boot0002 Linux Firmware Updater HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIubuntufwupdx64.efi)
  37. Boot0003 ubuntu HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIubuntushimx64.efi)
  38. Boot0004* ubuntu HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIubuntushimx64.efi)
  39. Boot0007* UEFI: SSSTC CL1-8D256-HP, Partition 1 HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIbootbootx64.efi)..BO
  40. Boot0009* UEFI: VendorCoProductCode 2.00, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x2c534026,0x3c4,0x1340)..BO
  41.  
  42. chroot /mnt/boot-sav/nvme0n1p2 uname -r
  43. 5.3.0-28-generic
  44.  
  45. chroot /mnt/boot-sav/nvme0n1p2 grub-install --efi-directory=/boot/efi --target=x86_64-efi
  46. Installing for x86_64-efi platform.
  47. grub-install: warning: EFI variables cannot be set on this system.
  48. grub-install: warning: You will have to complete the GRUB setup manually.
  49. Installation finished. No error reported.
  50. df /dev/nvme0n1p1
  51. mv /mnt/boot-sav/nvme0n1p2/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/nvme0n1p2/boot/efi/EFI/Boot/bkpbootx64.efi
  52. cp /mnt/boot-sav/nvme0n1p2/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/nvme0n1p2/boot/efi/EFI/Boot/bootx64.efi
  53.  
  54. chroot /mnt/boot-sav/nvme0n1p2 grub-install --efi-directory=/boot/efi --target=x86_64-efi
  55. Installing for x86_64-efi platform.
  56. grub-install: warning: EFI variables cannot be set on this system.
  57. grub-install: warning: You will have to complete the GRUB setup manually.
  58. Installation finished. No error reported.
  59.  
  60. chroot /mnt/boot-sav/nvme0n1p2 efibootmgr -v after grub install
  61. BootCurrent: 0009
  62. Timeout: 2 seconds
  63. BootOrder: 0004,0007,0000,0002,0009
  64. 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
  65. Boot0001 ubuntu HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIubuntushimx64.efi)
  66. Boot0002 Linux Firmware Updater HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIubuntufwupdx64.efi)
  67. Boot0003 ubuntu HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIubuntushimx64.efi)
  68. Boot0004* ubuntu HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIubuntushimx64.efi)
  69. Boot0007* UEFI: SSSTC CL1-8D256-HP, Partition 1 HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFIbootbootx64.efi)..BO
  70. Boot0009* UEFI: VendorCoProductCode 2.00, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x2c534026,0x3c4,0x1340)..BO
  71. Warning: NVram was not modified.
  72.  
  73. chroot /mnt/boot-sav/nvme0n1p2 update-grub
  74. Sourcing file `/etc/default/grub.d/init-select.cfg'
  75. Generating grub configuration file ...
  76. Found linux image: /boot/vmlinuz-5.15.0-47-generic
  77. Found initrd image: /boot/initrd.img-5.15.0-47-generic
  78. Found linux image: /boot/vmlinuz-5.15.0-46-generic
  79. Found initrd image: /boot/initrd.img-5.15.0-46-generic
  80. Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
  81. Warning: os-prober will be executed to detect other bootable partitions.
  82. Its output will be used to detect bootable binaries on them and create new boot entries.
  83. grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your device.map.
  84.  
  85. Unhide GRUB boot menu in nvme0n1p2/boot/grub/grub.cfg
  86.  
  87. Boot successfully repaired.
  88.  
  89. You can now reboot your computer.
  90. Please do not forget to make your UEFI firmware boot on the Ubuntu 22.04.1 LTS entry (nvme0n1p1/efi/ubuntu/grubx64.efi file) !
  91.  
  92.  
  93. ============================ Boot Info After Repair ============================
  94.  
  95. => No boot loader is installed in the MBR of /dev/nvme0n1.
  96.  
  97. nvme0n1p1: _____________________________________________________________________
  98.  
  99. File system: vfat
  100. Boot sector type: FAT32
  101. Boot sector info: No errors found in the Boot Parameter Block.
  102. Operating System:
  103. Boot files: /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi
  104. /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi
  105. /efi/grub/grubx64.efi /efi/grub/mmx64.efi
  106. /efi/grub/shimx64.efi /efi/ubuntu/fwupdx64.efi
  107. /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
  108. /efi/ubuntu/shimx64.efi /efi/grub/grub.cfg
  109. /efi/ubuntu/grub.cfg
  110.  
  111. nvme0n1p2: _____________________________________________________________________
  112.  
  113. File system: ext4
  114. Boot sector type: -
  115. Boot sector info:
  116. Operating System: Ubuntu 22.04.1 LTS
  117. Boot files: /boot/grub/grub.cfg /etc/fstab
  118.  
  119. sda: ___________________________________________________________________________
  120.  
  121. File system: iso9660
  122. Boot sector type: Unknown
  123. Boot sector info:
  124. Operating System:
  125. Boot files: /boot/grub/grub.cfg
  126.  
  127.  
  128. ================================ 1 OS detected =================================
  129.  
  130. OS#1: Ubuntu 22.04.1 LTS on nvme0n1p2
  131.  
  132. ================================ Host/Hardware =================================
  133.  
  134. CPU architecture: 64-bit
  135. Video: Skylake GT2 [HD Graphics 520] from Intel Corporation
  136. Live-session OS is Ubuntu 64-bit (Boot-Repair-Disk 64bit 20200604, bionic, x86_64)
  137.  
  138. ===================================== UEFI =====================================
  139.  
  140. BIOS/UEFI firmware: 1.35.3 from Dell Inc.
  141. The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
  142. SecureBoot disabled - SecureBoot disabled - Please report this message to [email protected].
  143. BootCurrent: 0009
  144. Timeout: 2 seconds
  145. BootOrder: 0004,0007,0000,0002,0009
  146. 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
  147. Boot0001 ubuntu HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
  148. Boot0002 Linux Firmware Updater HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(\EFI\ubuntu\fwupdx64.efi)
  149. Boot0003 ubuntu HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
  150. Boot0004* ubuntu HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
  151. Boot0007* UEFI: SSSTC CL1-8D256-HP, Partition 1 HD(1,GPT,8906505f-5771-4d0b-bda2-e0dd9606d484,0x800,0x100000)/File(EFI\boot\bootx64.efi)..BO
  152. Boot0009* UEFI: VendorCoProductCode 2.00, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x2c534026,0x3c4,0x1340)..BO
  153.  
  154. 728124f6ec8e22fbdbe7034812c81b95 nvme0n1p1/BOOT/bkpbootx64.efi
  155. 728124f6ec8e22fbdbe7034812c81b95 nvme0n1p1/BOOT/bootx64.efi
  156. c152ec201c37b6e97bbc2207e49d1271 nvme0n1p1/BOOT/fbx64.efi
  157. fdafb5eece6caeccb788c946a28e6872 nvme0n1p1/BOOT/mmx64.efi
  158. f62c28d9b477b6a1a7b1c991b2b6637d nvme0n1p1/grub/grubx64.efi
  159. fdafb5eece6caeccb788c946a28e6872 nvme0n1p1/grub/mmx64.efi
  160. 728124f6ec8e22fbdbe7034812c81b95 nvme0n1p1/grub/shimx64.efi
  161. ba531a1a29f69774c1eafa2c96110e04 nvme0n1p1/ubuntu/fwupdx64.efi
  162. f62c28d9b477b6a1a7b1c991b2b6637d nvme0n1p1/ubuntu/grubx64.efi
  163. fdafb5eece6caeccb788c946a28e6872 nvme0n1p1/ubuntu/mmx64.efi
  164. 728124f6ec8e22fbdbe7034812c81b95 nvme0n1p1/ubuntu/shimx64.efi
  165.  
  166. ============================= Drive/Partition Info =============================
  167.  
  168. Disks info: ____________________________________________________________________
  169.  
  170. nvme0n1 : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
  171.  
  172. Partitions info (1/3): _________________________________________________________
  173.  
  174. nvme0n1p1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
  175. nvme0n1p2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub1, grub-install, no-grubenv, update-grub, farbios
  176.  
  177. Partitions info (2/3): _________________________________________________________
  178.  
  179. nvme0n1p1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
  180. nvme0n1p2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
  181.  
  182. Partitions info (3/3): _________________________________________________________
  183.  
  184. nvme0n1p1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, nvme0n1
  185. nvme0n1p2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, nvme0n1
  186.  
  187. fdisk -l (filtered): ___________________________________________________________
  188.  
  189. Disk nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
  190. Disk identifier: 4E7F6927-4CC1-4E8F-BEA2-3A3F13E9449A
  191. Start End Sectors Size Type
  192. nvme0n1p1 2048 1050623 1048576 512M EFI System
  193. nvme0n1p2 1050624 500117503 499066880 238G Linux filesystem
  194. Disk sda: 29.3 GiB, 31457280000 bytes, 61440000 sectors
  195. Disk identifier: 0x2c534026
  196. Boot Start End Sectors Size Id Type
  197. sda1 * 0 1802239 1802240 880M 0 Empty
  198. sda2 964 5891 4928 2.4M ef EFI (FAT-12/16/32)
  199. Disk zram0: 2 GiB, 2084741120 bytes, 508970 sectors
  200. Disk zram1: 2 GiB, 2084741120 bytes, 508970 sectors
  201. Disk zram2: 2 GiB, 2084741120 bytes, 508970 sectors
  202. Disk zram3: 2 GiB, 2084741120 bytes, 508970 sectors
  203.  
  204. parted -lm (filtered): _________________________________________________________
  205.  
  206. sda:31.5GB:scsi:512:512:msdos:VendorCo ProductCode:;
  207. 2:494kB:3017kB:2523kB:::esp;
  208. nvme0n1:256GB:nvme:512:512:gpt:SSSTC CL1-8D256-HP:;
  209. 1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
  210. 2:538MB:256GB:256GB:ext4::;
  211.  
  212. Free space >10MiB: ______________________________________________________________
  213.  
  214. sda: 2.88MiB:30000MiB:29997MiB
  215.  
  216. blkid (filtered): ______________________________________________________________
  217.  
  218. NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
  219. sda iso9660 2020-06-13-00-42-55-00 Boot-Repair-Disk 64bit
  220. ├─sda1 iso9660 2020-06-13-00-42-55-00 2c534026-01 Boot-Repair-Disk 64bit
  221. └─sda2 vfat D055-8513 2c534026-02 Boot-Repair-Disk 64bit
  222. nvme0n1
  223. ├─nvme0n1p1 vfat 8CBD-9F92 8906505f-5771-4d0b-bda2-e0dd9606d484 EFI System Partition
  224. └─nvme0n1p2 ext4 5b9598dc-89dd-4741-b915-76ab61826b9c a111efef-2675-438f-99a5-27daf100ab22
  225.  
  226. Mount points (filtered): _______________________________________________________
  227.  
  228. Avail Use% Mounted on
  229. /dev/nvme0n1p1 470.4M 8% /mnt/boot-sav/nvme0n1p1
  230. /dev/nvme0n1p2 88.1G 57% /mnt/boot-sav/nvme0n1p2
  231. /dev/sda 0 100% /cdrom
  232.  
  233. Mount options (filtered): ______________________________________________________
  234.  
  235. /dev/nvme0n1p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
  236. /dev/nvme0n1p2 ext4 rw,relatime
  237. /dev/sda iso9660 ro,noatime,nojoliet,check=s,map=n,blocksize=2048
  238.  
  239. ==================== nvme0n1p1/efi/grub/grub.cfg (filtered) ====================
  240.  
  241. search.fs_uuid 5b9598dc-89dd-4741-b915-76ab61826b9c root
  242. set prefix=($root)'/boot/grub'
  243. configfile $prefix/grub.cfg
  244.  
  245. =================== nvme0n1p1/efi/ubuntu/grub.cfg (filtered) ===================
  246.  
  247. search.fs_uuid 5b9598dc-89dd-4741-b915-76ab61826b9c root
  248. set prefix=($root)'/boot/grub'
  249. configfile $prefix/grub.cfg
  250.  
  251. =================== nvme0n1p2/boot/grub/grub.cfg (filtered) ====================
  252.  
  253. GNU/Linux 5b9598dc-89dd-4741-b915-76ab61826b9c
  254. GNU/Linux, with Linux 5.15.0-47-generic 5b9598dc-89dd-4741-b915-76ab61826b9c
  255. GNU/Linux, with Linux 5.15.0-46-generic 5b9598dc-89dd-4741-b915-76ab61826b9c
  256. ### END /etc/grub.d/30_os-prober ###
  257. ### END /etc/grub.d/30_uefi-firmware ###
  258.  
  259. ======================== nvme0n1p2/etc/fstab (filtered) ========================
  260.  
  261. # <file system> <mount point> <type> <options> <dump> <pass>
  262. # / was on /dev/nvme0n1p2 during installation
  263. UUID=5b9598dc-89dd-4741-b915-76ab61826b9c / ext4 errors=remount-ro 0 1
  264. # /boot/efi was on /dev/nvme0n1p1 during installation
  265. UUID=8CBD-9F92 /boot/efi vfat umask=0077 0 1
  266. /swapfile none swap sw 0 0
  267. /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
  268. /dev/disk/by-id/wwn-0x5000c500c84d10b8-part1 /mnt/wwn-0x5000c500c84d10b8-part1 auto nosuid,nodev,nofail,x-gvfs-show 0 0
  269. /dev/sda /mnt/sda nfts defaults
  270.  
  271. ================= nvme0n1p2: Location of files loaded by Grub ==================
  272.  
  273. GiB - GB File Fragment(s)
  274. 0.500980377 = 0.537923584 boot/grub/grub.cfg 1
  275. 31.636714935 = 33.969664000 boot/vmlinuz 1
  276. 187.660152435 = 201.498554368 boot/vmlinuz-5.15.0-46-generic 1
  277. 31.636714935 = 33.969664000 boot/vmlinuz-5.15.0-47-generic 1
  278. 187.660152435 = 201.498554368 boot/vmlinuz.old 1
  279. 90.224021912 = 96.877305856 boot/initrd.img 1
  280. 193.942741394 = 208.244432896 boot/initrd.img-5.15.0-46-generic 1
  281. 90.224021912 = 96.877305856 boot/initrd.img-5.15.0-47-generic 1
  282. 193.942741394 = 208.244432896 boot/initrd.img.old 1
  283.  
  284. =================== nvme0n1p2: ls -l /etc/grub.d/ (filtered) ===================
  285.  
  286. -rwxr-xr-x 1 root root 18683 Apr 15 21:50 10_linux
  287. -rwxr-xr-x 1 root root 43031 Apr 15 21:50 10_linux_zfs
  288. -rwxr-xr-x 1 root root 14180 Apr 15 21:50 20_linux_xen
  289. -rwxr-xr-x 1 root root 13369 Apr 15 21:50 30_os-prober
  290. -rwxr-xr-x 1 root root 1372 Apr 15 21:50 30_uefi-firmware
  291. -rwxr-xr-x 1 root root 700 Feb 21 2022 35_fwupd
  292. -rwxr-xr-x 1 root root 214 Jan 13 2021 40_custom
  293. -rwxr-xr-x 1 root root 215 Apr 15 21:50 41_custom
  294.  
  295. ======================== nvme0n1p2/etc/grub.d/35_fwupd =========================
  296.  
  297. #! /bin/sh
  298. # SPDX-License-Identifier: LGPL-2.1+
  299. set -e
  300. [ -d ${pkgdatadir:?} ]
  301. # shellcheck source=/dev/null
  302. . "$pkgdatadir/grub-mkconfig_lib"
  303. if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
  304. ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
  305. . /var/lib/fwupd/uefi_capsule.conf
  306. if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
  307. echo "Adding Linux Firmware Updater entry" >&2
  308. cat << EOF
  309. menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
  310. EOF
  311. ${grub_probe:?}
  312. prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
  313. cat << EOF
  314. chainloader ${EFI_PATH}
  315. }
  316. EOF
  317. fi
  318. fi
  319.  
  320. ====================== sda/boot/grub/grub.cfg (filtered) =======================
  321.  
  322. Boot-Repair-Disk session
  323. Boot-Repair-Disk session (failsafe)
  324.  
  325. ==================== sda: Location of files loaded by Grub =====================
  326.  
  327. GiB - GB File Fragment(s)
  328. ?? = ?? boot/grub/grub.cfg 1
Advertisement
Add Comment
Please, Sign In to add comment