Guest User

Untitled

a guest
Jan 21st, 2025
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.51 KB | None | 0 0
  1. boot-repair-4ppa2081 [20250119_2220]
  2.  
  3. ============================= Boot Repair Summary ==============================
  4.  
  5.  
  6.  
  7.  
  8.  
  9. modprobe: FATAL: Module efivars not found in directory /lib/modules/6.8.0-38-generic
  10.  
  11. Recommended repair: ____________________________________________________________
  12.  
  13. The default repair of the Boot-Repair utility will purge (in order to fix packages) and reinstall the grub-efi of
  14. sda2,
  15. using the following options: sda1/boot/efi
  16. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file
  17.  
  18.  
  19. Mount /dev/sda1 on /mnt/boot-sav/sda2/boot/efi
  20. chroot /mnt/boot-sav/sda2 apt-get -y update
  21. Purge the GRUB of /dev/sda2
  22. grub-efi available
  23.  
  24.  
  25. The following additional packages will be installed:
  26. grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
  27. grub2-common os-prober
  28. Suggested packages:
  29. multiboot-doc grub-emu xorriso desktop-base
  30. The following NEW packages will be installed:
  31. grub-common grub-efi grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
  32. grub2-common os-prober
  33. 0 upgraded, 7 newly installed, 0 to remove and 334 not upgraded.
  34. DEBCHECK debOK, grub-efi
  35. DEBCHECK debOK
  36. Then type: sudo chroot "/mnt/boot-sav/sda2" dpkg --configure -ansudo chroot "/mnt/boot-sav/sda2" apt-get install -fynsudo chroot "/mnt/boot-sav/sda2" apt-get install -y grub-efi
  37.  
  38. Unhide GRUB boot menu in sda2/etc/default/grub
  39.  
  40. ===================== Reinstall the grub-efi of /dev/sda2 ======================
  41.  
  42. chroot /mnt/boot-sav/sda2 grub-install --version
  43. grub-install (GRUB) 2.12-1ubuntu7.1
  44. modprobe: FATAL: Module efivars not found in directory /lib/modules/6.8.0-38-generic
  45. chroot /mnt/boot-sav/sda2 modprobe efivars
  46.  
  47. chroot /mnt/boot-sav/sda2 efibootmgr -v (filtered) before grub install
  48. EFI variables are not supported on this system.
  49. error trace:
  50.  
  51.  
  52. chroot /mnt/boot-sav/sda2 uname -r
  53. 6.8.0-38-generic
  54.  
  55. chroot /mnt/boot-sav/sda2 grub-install --efi-directory=/boot/efi --target=x86_64-efi
  56. Installing for x86_64-efi platform.
  57. grub-install: warning: EFI variables cannot be set on this system.
  58. grub-install: warning: You will have to complete the GRUB setup manually.
  59. Installation finished. No error reported.
  60. df /dev/sda1
  61. mv /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bkpbootx64.efi
  62. cp /mnt/boot-sav/sda2/boot/efi/efi/ubuntu/grubx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi
  63.  
  64. chroot /mnt/boot-sav/sda2 grub-install --efi-directory=/boot/efi --target=x86_64-efi
  65. Installing for x86_64-efi platform.
  66. grub-install: warning: EFI variables cannot be set on this system.
  67. grub-install: warning: You will have to complete the GRUB setup manually.
  68. Installation finished. No error reported.
  69.  
  70. chroot /mnt/boot-sav/sda2 efibootmgr -v (filtered) after grub install
  71. EFI variables are not supported on this system.
  72. error trace:
  73.  
  74. Warning: NVram is locked (Linuxmint not found in efibootmgr).
  75.  
  76. chroot /mnt/boot-sav/sda2 update-grub
  77. Sourcing file `/etc/default/grub'
  78. Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'
  79. Found linux image: /boot/vmlinuz-6.8.0-38-generic
  80. Found initrd image: /boot/initrd.img-6.8.0-38-generic
  81. Adding boot menu entry for UEFI Firmware Settings ...
  82.  
  83. Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
  84.  
  85. Boot successfully repaired.
  86.  
  87. Locked-NVram detected. Please do not forget to make your UEFI firmware boot on the Linux Mint 22 Wilma (22) entry (sda1/efi/ubuntu/grubx64.efi file) !
  88.  
  89.  
  90. ============================ Boot Info After Repair ============================
  91.  
  92. => No boot loader is installed in the MBR of /dev/sda.
  93.  
  94. sda1: __________________________________________________________________________
  95.  
  96. File system: vfat
  97. Boot sector type: FAT32
  98. Boot sector info: No errors found in the Boot Parameter Block.
  99. Operating System:
  100. Boot files: /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi
  101. /efi/BOOT/fbx64.efi /efi/BOOT/mmx64.efi
  102. /efi/ubuntu/grubx64.efi /efi/ubuntu/mmx64.efi
  103. /efi/ubuntu/shimx64.efi /efi/ubuntu/grub.cfg
  104.  
  105. sda2: __________________________________________________________________________
  106.  
  107. File system: ext4
  108. Boot sector type: -
  109. Boot sector info:
  110. Operating System: Linux Mint 22
  111. Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
  112.  
  113. sdb: ___________________________________________________________________________
  114.  
  115. File system: iso9660
  116. Boot sector type: Unknown
  117. Boot sector info:
  118. Mounting failed: mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
  119. dmesg(1) may have more information after failed mount system call.
  120.  
  121.  
  122. ================================ 1 OS detected =================================
  123.  
  124. OS#1 (linux): Linux Mint 22 Wilma (22) on sda2
  125.  
  126. ================================ Host/Hardware =================================
  127.  
  128. CPU architecture: 64-bit
  129. Video: HD Graphics 5500 from Intel Corporation
  130. Live-session OS is Linuxmint 64-bit (Linux Mint 22, wilma, x86_64)
  131.  
  132. ===================================== UEFI =====================================
  133.  
  134. BIOS/UEFI firmware: J5ET64WW (1.35 )(1.35) from LENOVO
  135. The firmware is EFI-compatible, and is set in EFI-mode for this live-session.
  136. SecureBoot disabled (confirmed by mokutil).
  137. BootCurrent: 000D
  138. Timeout: 0 seconds
  139. BootOrder: 0014,000A,000D,0009,000B,000C,0008,0007,000E,0013
  140. Boot0000 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
  141. Boot0001 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
  142. Boot0002 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
  143. Boot0003 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
  144. Boot0004 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
  145. Boot0005 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
  146. Boot0006 MEBx Hot Key FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
  147. Boot0007* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
  148. Boot0008* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
  149. Boot0009* ATAPI CD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35401)
  150. Boot000A* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
  151. Boot000B* ATA HDD1 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f601)
  152. Boot000C* ATA HDD2 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f602)
  153. Boot000D* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
  154. Boot000E* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
  155. Boot000F* IDER BOOT CDROM PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,1,0)
  156. Boot0010* IDER BOOT Floppy PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,0,0)
  157. Boot0011* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
  158. Boot0012* ATAPI CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
  159. Boot0013* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
  160. Boot0014* Ubuntu HD(1,GPT,8931cc57-d1c8-47dd-ac97-309eafc8f092,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
  161.  
  162. df697393036a90b6a84d524ce39ec945 sda1/BOOT/bkpbootx64.efi
  163. df697393036a90b6a84d524ce39ec945 sda1/BOOT/bootx64.efi
  164. 39bc76ff6662f4fbe9aa116e4c997b41 sda1/BOOT/fbx64.efi
  165. 4ba5a5aad43c197e9fb58b76b404d287 sda1/BOOT/mmx64.efi
  166. df697393036a90b6a84d524ce39ec945 sda1/ubuntu/grubx64.efi
  167. 4ba5a5aad43c197e9fb58b76b404d287 sda1/ubuntu/mmx64.efi
  168. 07e25dcaf57c776875f78fa36827c58e sda1/ubuntu/shimx64.efi
  169.  
  170. ============================= Drive/Partition Info =============================
  171.  
  172. Disks info: ____________________________________________________________________
  173.  
  174. sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, no-wind, 2048 sectors * 512 bytes
  175.  
  176. Partitions info (1/3): _________________________________________________________
  177.  
  178. sda1 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
  179. sda2 : is-os, 64, apt-get, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
  180.  
  181. Partitions info (2/3): _________________________________________________________
  182.  
  183. sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, vfat
  184. sda2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
  185.  
  186. Partitions info (3/3): _________________________________________________________
  187.  
  188. sda1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
  189. sda2 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
  190.  
  191. fdisk -l (filtered): ___________________________________________________________
  192.  
  193. Disk sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
  194. Disk identifier: 489DFE0D-D3BE-468B-9F9F-3E136509DF19
  195. Start End Sectors Size Type
  196. sda1 2048 1050623 1048576 512M EFI System
  197. sda2 1050624 976771071 975720448 465.3G Linux filesystem
  198. Disk sdb: 7.65 GiB, 8210350080 bytes, 16035840 sectors
  199. Disk identifier: 0xb1a1dab8
  200. Boot Start End Sectors Size Id Type
  201. sdb1 * 2048 16035839 16033792 7.6G c W95 FAT32 (LBA)
  202.  
  203. parted -lm (filtered): _________________________________________________________
  204.  
  205. sda:500GB:scsi:512:4096:gpt:ATA ST500LM021-1KJ15:;
  206. 1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
  207. 2:538MB:500GB:500GB:ext4::;
  208. sdb:8210MB:scsi:512:512:msdos:hp v125w:;
  209. 1:1049kB:8210MB:8209MB:fat32::boot, lba;
  210.  
  211. blkid (filtered): ______________________________________________________________
  212.  
  213. NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
  214. sda
  215. ├─sda1 vfat 8B26-A8CE 8931cc57-d1c8-47dd-ac97-309eafc8f092 EFI System Partition
  216. └─sda2 ext4 92323a7f-4afd-4325-89bd-90a07b264e42 9ef9c6b5-8499-494c-b195-9435679023f0
  217. sdb iso9660 2024-07-21-12-46-00-00 Linux Mint 22 Cinnamon 64-bit
  218. └─sdb1 vfat B990-3DFC b1a1dab8-01 PINK - BOOT
  219.  
  220. Mount points (filtered): _______________________________________________________
  221.  
  222. Avail Use% Mounted on
  223. /dev/sda1 500.7M 2% /mnt/boot-sav/sda1
  224. /dev/sda2 424.4G 2% /mnt/boot-sav/sda2
  225. /dev/sdb1 627.9M 92% /cdrom
  226. efivarfs 40.6K 29% /sys/firmware/efi/efivars
  227.  
  228. Mount options (filtered): ______________________________________________________
  229.  
  230. /dev/sda1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
  231. /dev/sda2 ext4 rw,relatime
  232. /dev/sdb1 vfat ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
  233.  
  234. ===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
  235.  
  236. search.fs_uuid 92323a7f-4afd-4325-89bd-90a07b264e42 root hd0,gpt2
  237. set prefix=($root)'/boot/grub'
  238. configfile $prefix/grub.cfg
  239.  
  240. ====================== sda2/boot/grub/grub.cfg (filtered) ======================
  241.  
  242. Ubuntu 92323a7f-4afd-4325-89bd-90a07b264e42
  243. ### END /etc/grub.d/30_os-prober ###
  244. UEFI Firmware Settings uefi-firmware
  245. ### END /etc/grub.d/30_uefi-firmware ###
  246.  
  247. ========================== sda2/etc/fstab (filtered) ===========================
  248.  
  249. # <file system> <mount point> <type> <options> <dump> <pass>
  250. # / was on /dev/sda2 during installation
  251. UUID=92323a7f-4afd-4325-89bd-90a07b264e42 / ext4 errors=remount-ro 0 1
  252. # /boot/efi was on /dev/sda1 during installation
  253. UUID=8B26-A8CE /boot/efi vfat umask=0077 0 1
  254. /swapfile none swap sw 0 0
  255.  
  256. ======================= sda2/etc/default/grub (filtered) =======================
  257.  
  258. GRUB_DEFAULT=0
  259. GRUB_TIMEOUT_STYLE=menu
  260. GRUB_TIMEOUT=10
  261. GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
  262. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  263. GRUB_CMDLINE_LINUX=""
  264. GRUB_DISABLE_OS_PROBER=false
  265.  
  266. ==================== sda2: Location of files loaded by Grub ====================
  267.  
  268. GiB - GB File Fragment(s)
  269. ?? = ?? boot/grub/grub.cfg 1
  270. 5.671142578 = 6.089342976 boot/vmlinuz 1
  271. 5.671142578 = 6.089342976 boot/vmlinuz-6.8.0-38-generic 1
  272. 7.397144318 = 7.942623232 boot/initrd.img 2
  273. 7.397144318 = 7.942623232 boot/initrd.img-6.8.0-38-generic 2
  274. 7.397144318 = 7.942623232 boot/initrd.img.old 2
  275.  
  276. ===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
  277.  
  278. -rwxr-xr-x 1 root root 18133 Sep 11 13:15 10_linux
  279. -rwxr-xr-x 1 root root 43202 Sep 11 13:15 10_linux_zfs
  280. -rwxr-xr-x 1 root root 14513 Sep 11 13:15 20_linux_xen
  281. -rwxr-xr-x 1 root root 786 Sep 11 13:15 25_bli
  282. -rwxr-xr-x 1 root root 13120 Sep 11 13:15 30_os-prober
  283. -rwxr-xr-x 1 root root 1174 Sep 11 13:15 30_uefi-firmware
  284. -rwxr-xr-x 1 root root 214 Sep 11 13:15 40_custom
  285. -rwxr-xr-x 1 root root 215 Sep 11 13:15 41_custom
  286. sprunge.us ko ()
Advertisement
Add Comment
Please, Sign In to add comment