Advertisement
Guest User

Untitled

a guest
Dec 9th, 2022
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.06 KB | None | 0 0
  1. boot-repair-4ppa130-zorin1 [20221209_1948]
  2.  
  3. ============================= Boot Repair Summary ==============================
  4.  
  5.  
  6.  
  7. /usr/share/boot-sav/bs-cmd_terminal.sh: line 177: warning: command substitution: ignored null byte in input
  8.  
  9. Recommended repair: ____________________________________________________________
  10.  
  11. The default repair of the Boot-Repair utility will reinstall the grub-efi-amd64-signed of
  12. sda2,
  13. using the following options: sda1/boot/efi,
  14. Additional repair will be performed: unhide-bootmenu-10s use-standard-efi-file restore-efi-backups
  15.  
  16.  
  17. /boot/efi added in sda2/fstab
  18. rm /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
  19. mv /mnt/boot-sav/sda1/efi/Boot/bkpbootx64.efi /mnt/boot-sav/sda1/efi/Boot/bootx64.efi
  20. Mount sda1 on /mnt/boot-sav/sda2/boot/efi
  21.  
  22. ================= Reinstall the grub-efi-amd64-signed of sda2 ==================
  23.  
  24. grub-install --version
  25. grub-install (GRUB) 2.04-1ubuntu26.13+zorin1
  26.  
  27. efibootmgr -v from chroot before grub install
  28. BootCurrent: 0001
  29. Timeout: 0 seconds
  30. BootOrder: 0003,2001,2002,2003
  31. Boot0001* USB HDD: Generic Flash Disk PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x47c3846e,0x258,0x2140)RC
  32. Boot0002* Unknown Device: HD(1,GPT,c585f334-610e-4ebd-9732-df9277e2e6a9,0x1000,0x1e747f)/File(EFIBootgrubx64.efi)RC
  33. Boot0003* ubuntu HD(1,GPT,df4db2c3-7fce-4ff8-bfb3-ab087983404a,0x800,0x100000)/File(EFIubuntushimx64.efi)
  34. Boot2001* EFI USB Device RC
  35. Boot2002* EFI DVD/CDROM RC
  36. Boot2003* EFI Network RC
  37.  
  38. uname -r
  39. 5.13.0-30-generic
  40.  
  41. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
  42. Installing for x86_64-efi platform.
  43. Installation finished. No error reported.
  44. df /dev/sda1
  45. mv /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bkpbootx64.efi
  46. cp /mnt/boot-sav/sda2/boot/efi/EFI/ubuntu/shimx64.efi /mnt/boot-sav/sda2/boot/efi/EFI/Boot/bootx64.efi
  47.  
  48. grub-install --efi-directory=/boot/efi --target=x86_64-efi --uefi-secure-boot
  49. Installing for x86_64-efi platform.
  50. Installation finished. No error reported.
  51.  
  52. efibootmgr -v from chroot after grub install
  53. BootCurrent: 0001
  54. Timeout: 0 seconds
  55. BootOrder: 0003,2001,2002,2003
  56. Boot0001* USB HDD: Generic Flash Disk PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x47c3846e,0x258,0x2140)RC
  57. Boot0002* Unknown Device: HD(1,GPT,c585f334-610e-4ebd-9732-df9277e2e6a9,0x1000,0x1e747f)/File(EFIBootgrubx64.efi)RC
  58. Boot0003* ubuntu HD(1,GPT,df4db2c3-7fce-4ff8-bfb3-ab087983404a,0x800,0x100000)/File(EFIubuntushimx64.efi)
  59. Boot2001* EFI USB Device RC
  60. Boot2002* EFI DVD/CDROM RC
  61. Boot2003* EFI Network RC
  62. Error: NVram is locked (Zorin not found in efibootmgr).
  63.  
  64. chroot /mnt/boot-sav/sda2 update-grub
  65. Sourcing file `/etc/default/grub'
  66. Sourcing file `/etc/default/grub.d/init-select.cfg'
  67. Generating grub configuration file ...
  68. Found theme: /usr/share/grub/themes/zorin/theme.txt
  69. Found linux image: /boot/vmlinuz-5.13.0-30-generic
  70. Found initrd image: /boot/initrd.img-5.13.0-30-generic
  71. grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map.
  72. Adding boot menu entry for UEFI Firmware Settings
  73.  
  74. Unhide GRUB boot menu in sda2/boot/grub/grub.cfg
  75.  
  76. An error occurred during the repair.
  77.  
  78. Locked-NVram detected.
  79.  
  80.  
  81. ============================ Boot Info After Repair ============================
  82.  
  83. => No boot loader is installed in the MBR of /dev/sda.
  84.  
  85. sda1: __________________________________________________________________________
  86.  
  87. File system: vfat
  88. Boot sector type: FAT32
  89. Boot sector info: No errors found in the Boot Parameter Block.
  90. Operating System:
  91. Boot files: /efi/BOOT/bkpbootx64.efi /efi/BOOT/bootx64.efi
  92. /efi/BOOT/fbx64.efi /efi/BOOT/grubx64.efi
  93. /efi/BOOT/mmx64.efi /efi/ubuntu/grubx64.efi
  94. /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
  95. /efi/ubuntu/grub.cfg
  96.  
  97. sda2: __________________________________________________________________________
  98.  
  99. File system: ext4
  100. Boot sector type: -
  101. Boot sector info:
  102. Operating System: Zorin OS 16.1
  103. Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
  104.  
  105. sdb: ___________________________________________________________________________
  106.  
  107. File system: iso9660
  108. Boot sector type: Unknown
  109. Boot sector info:
  110. Mounting failed: mount: /mnt/BootInfo/FD/sdb: /dev/sdb already mounted or mount point busy.
  111.  
  112.  
  113. ================================ 1 OS detected =================================
  114.  
  115. OS#1: Zorin OS 16.1 (16) on sda2
  116.  
  117. ============================ Architecture/Host Info ============================
  118.  
  119. CPU architecture: 64-bit
  120. Live-session OS is Zorin 64-bit (Zorin OS 16.1, focal, x86_64)
  121.  
  122.  
  123. ===================================== UEFI =====================================
  124.  
  125. BIOS is EFI-compatible, and is setup in EFI-mode for this live-session.
  126. SecureBoot disabled.
  127.  
  128. efibootmgr -v
  129. BootCurrent: 0001
  130. Timeout: 0 seconds
  131. BootOrder: 0003,2001,2002,2003
  132. Boot0001* USB HDD: Generic Flash Disk PciRoot(0x0)/Pci(0x14,0x0)/USB(0,0)/HD(1,MBR,0x47c3846e,0x258,0x2140)RC
  133. Boot0002* Unknown Device: HD(1,GPT,c585f334-610e-4ebd-9732-df9277e2e6a9,0x1000,0x1e747f)/File(\EFI\Boot\grubx64.efi)RC
  134. Boot0003* ubuntu HD(1,GPT,df4db2c3-7fce-4ff8-bfb3-ab087983404a,0x800,0x100000)/File(\EFI\ubuntu\shimx64.efi)
  135. Boot2001* EFI USB Device RC
  136. Boot2002* EFI DVD/CDROM RC
  137. Boot2003* EFI Network RC
  138. This session has been detected as 'live' because df -Th / contains overlay
  139.  
  140. 728124f6ec8e22fbdbe7034812c81b95 sda1/BOOT/bkpbootx64.efi
  141. 728124f6ec8e22fbdbe7034812c81b95 sda1/BOOT/bootx64.efi
  142. 85fa9d77b929ec4231aba29476574eb6 sda1/BOOT/fbx64.efi
  143. fa1bf1a7f90a852abe0bdbd089b7f1b0 sda1/BOOT/grubx64.efi
  144. 469e608783843a701d172242f016c79c sda1/BOOT/mmx64.efi
  145. fa1bf1a7f90a852abe0bdbd089b7f1b0 sda1/ubuntu/grubx64.efi
  146. 469e608783843a701d172242f016c79c sda1/ubuntu/mmx64.efi
  147. 728124f6ec8e22fbdbe7034812c81b95 sda1/ubuntu/shimx64.efi
  148.  
  149.  
  150. ============================= Drive/Partition Info =============================
  151.  
  152. Disks info: ____________________________________________________________________
  153.  
  154. sda : is-GPT, no-BIOSboot, has---ESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
  155.  
  156. Partitions info (1/3): _________________________________________________________
  157.  
  158. sda1 : no-os, 32, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far
  159. sda2 : is-os, 64, apt-get, signed grub-pc grub-efi , grub2, grub-install, grubenv-ok, update-grub, farbios
  160.  
  161. Partitions info (2/3): _________________________________________________________
  162.  
  163. sda1 : is---ESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
  164. sda2 : isnotESP, fstab-has-goodEFI, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
  165.  
  166. Partitions info (3/3): _________________________________________________________
  167.  
  168. sda1 : not-sepboot, no-boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, std-grub.d, sda
  169. sda2 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
  170.  
  171. fdisk -l (filtered): ___________________________________________________________
  172.  
  173. Disk sda: 223.58 GiB, 240057409536 bytes, 468862128 sectors
  174. Disk identifier: B47979EF-035E-41D9-851C-338D3C16D06F
  175. Start End Sectors Size Type
  176. sda1 2048 1050623 1048576 512M EFI System
  177. sda2 1050624 468860927 467810304 223.1G Linux filesystem
  178. Disk sdb: 7.51 GiB, 8053063680 bytes, 15728640 sectors
  179. Disk identifier: 0x47c3846e
  180. Boot Start End Sectors Size Id Type
  181. sdb1 * 0 5973119 5973120 2.9G 0 Empty
  182. sdb2 600 9111 8512 4.2M ef EFI (FAT-12/16/32)
  183. sdb3 5976064 15728639 9752576 4.7G 83 Linux
  184.  
  185. parted -lm (filtered): _________________________________________________________
  186.  
  187. sda:240GB:scsi:512:512:gpt:ATA SSD 240GB:;
  188. 1:1049kB:538MB:537MB:fat32:EFI System Partition:boot, esp;
  189. 2:538MB:240GB:240GB:ext4::;
  190. sdb:8053MB:scsi:512:512:msdos:Generic Flash Disk:;
  191. 2:307kB:4665kB:4358kB:::esp;
  192. 3:3060MB:8053MB:4993MB:ext4::;
  193.  
  194. blkid (filtered): ______________________________________________________________
  195.  
  196. NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
  197. sda
  198. ├─sda1 vfat C6A0-8015 df4db2c3-7fce-4ff8-bfb3-ab087983404a EFI System Partition
  199. └─sda2 ext4 bfe4eb6d-0519-4acf-962b-e7f62f935b49 22f2fadb-7bc2-4b7d-b6cc-2d775f812e93
  200. sdb iso9660 2022-03-07-20-29-50-00 Zorin OS 16.1 Core 64bit
  201. ├─sdb1 iso9660 2022-03-07-20-29-50-00 47c3846e-01 Zorin OS 16.1 Core 64bit
  202. ├─sdb2 vfat B38D-23B5 47c3846e-02
  203. └─sdb3 ext4 d5c9301a-7aa5-4b9d-89ad-f04833662ff6 47c3846e-03 writable
  204.  
  205. df (filtered): _________________________________________________________________
  206.  
  207. Avail Use% Mounted on
  208. disk/by-label/writable[/install-logs-2022-12-09.2/crash] 4.2G 0% /var/crash
  209. disk/by-label/writable[/install-logs-2022-12-09.2/log] 4.2G 0% /var/log
  210. sda1 503.2M 2% /mnt/boot-sav/sda1
  211. sda2 199.6G 4% /mnt/boot-sav/sda2
  212. sdb1 0 100% /cdrom
  213.  
  214. Mount options: __________________________________________________________________
  215.  
  216. disk/by-label/writable[/install-logs-2022-12-09.2/crash] rw,relatime
  217. disk/by-label/writable[/install-logs-2022-12-09.2/log] rw,relatime
  218. sda1 rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
  219. sda2 rw,relatime
  220. sdb1 ro,noatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8
  221.  
  222. ===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================
  223.  
  224. search.fs_uuid bfe4eb6d-0519-4acf-962b-e7f62f935b49 root hd0,gpt2
  225. set prefix=($root)'/boot/grub'
  226. configfile $prefix/grub.cfg
  227.  
  228. ====================== sda2/boot/grub/grub.cfg (filtered) ======================
  229.  
  230. Zorin bfe4eb6d-0519-4acf-962b-e7f62f935b49
  231. Zorin, with Linux 5.13.0-30-generic bfe4eb6d-0519-4acf-962b-e7f62f935b49
  232. ### END /etc/grub.d/30_os-prober ###
  233. UEFI Firmware Settings uefi-firmware
  234. ### END /etc/grub.d/30_uefi-firmware ###
  235.  
  236. ========================== sda2/etc/fstab (filtered) ===========================
  237.  
  238. # <file system> <mount point> <type> <options> <dump> <pass>
  239. # / was on /dev/sda2 during installation
  240. UUID=bfe4eb6d-0519-4acf-962b-e7f62f935b49 / ext4 errors=remount-ro 0 1
  241. # /boot/efi was on /dev/sda1 during installation
  242. /swapfile none swap sw 0 0
  243. UUID=C6A0-8015 /boot/efi vfat defaults 0 1
  244.  
  245. ======================= sda2/etc/default/grub (filtered) =======================
  246.  
  247. GRUB_DEFAULT=0
  248. GRUB_TIMEOUT_STYLE=hidden
  249. GRUB_TIMEOUT=10
  250. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  251. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  252. GRUB_CMDLINE_LINUX=""
  253. GRUB_THEME=/usr/share/grub/themes/zorin/theme.txt
  254.  
  255. ==================== sda2: Location of files loaded by Grub ====================
  256.  
  257. GiB - GB File Fragment(s)
  258. 0.500980377 = 0.537923584 boot/grub/grub.cfg 1
  259. 4.836910248 = 5.193592832 boot/vmlinuz 2
  260. 4.836910248 = 5.193592832 boot/vmlinuz-5.13.0-30-generic 2
  261. 5.311569214 = 5.703254016 boot/initrd.img 2
  262. 5.311569214 = 5.703254016 boot/initrd.img-5.13.0-30-generic 2
  263. 5.311569214 = 5.703254016 boot/initrd.img.old 2
  264.  
  265. ===================== sda2: ls -l /etc/grub.d/ (filtered) ======================
  266.  
  267. -rwxr-xr-x 1 root root 18141 Aug 20 2021 10_linux
  268. -rwxr-xr-x 1 root root 42349 Aug 20 2021 10_linux_zfs
  269. -rwxr-xr-x 1 root root 12894 Aug 20 2021 20_linux_xen
  270. -rwxr-xr-x 1 root root 12059 Aug 20 2021 30_os-prober
  271. -rwxr-xr-x 1 root root 1424 Aug 20 2021 30_uefi-firmware
  272. -rwxr-xr-x 1 root root 214 Aug 20 2021 40_custom
  273. -rwxr-xr-x 1 root root 216 Aug 20 2021 41_custom
  274.  
  275.  
  276. ======================== Unknown MBRs/Boot Sectors/etc =========================
  277.  
  278. Unknown BootLoader on sdb
  279.  
  280. 00000000 33 ed 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |3...............|
  281. 00000010 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 |................|
  282. 00000020 33 ed fa 8e d5 bc 00 7c fb fc 66 31 db 66 31 c9 |3......|..f1.f1.|
  283. 00000030 66 53 66 51 06 57 8e dd 8e c5 52 be 00 7c bf 00 |fSfQ.W....R..|..|
  284. 00000040 06 b9 00 01 f3 a5 ea 4b 06 00 00 52 b4 41 bb aa |.......K...R.A..|
  285. 00000050 55 31 c9 30 f6 f9 cd 13 72 16 81 fb 55 aa 75 10 |U1.0....r...U.u.|
  286. 00000060 83 e1 01 74 0b 66 c7 06 f3 06 b4 42 eb 15 eb 02 |...t.f.....B....|
  287. 00000070 31 c9 5a 51 b4 08 cd 13 5b 0f b6 c6 40 50 83 e1 |1.ZQ....[...@P..|
  288. 00000080 3f 51 f7 e1 53 52 50 bb 00 7c b9 04 00 66 a1 b0 |?Q..SRP..|...f..|
  289. 00000090 07 e8 44 00 0f 82 80 00 66 40 80 c7 02 e2 f2 66 |..D.....f@.....f|
  290. 000000a0 81 3e 40 7c fb c0 78 70 75 09 fa bc ec 7b ea 44 |.>@|..xpu....{.D|
  291. 000000b0 7c 00 00 e8 83 00 69 73 6f 6c 69 6e 75 78 2e 62 ||.....isolinux.b|
  292. 000000c0 69 6e 20 6d 69 73 73 69 6e 67 20 6f 72 20 63 6f |in missing or co|
  293. 000000d0 72 72 75 70 74 2e 0d 0a 66 60 66 31 d2 66 03 06 |rrupt...f`f1.f..|
  294. 000000e0 f8 7b 66 13 16 fc 7b 66 52 66 50 06 53 6a 01 6a |.{f...{fRfP.Sj.j|
  295. 000000f0 10 89 e6 66 f7 36 e8 7b c0 e4 06 88 e1 88 c5 92 |...f.6.{........|
  296. 00000100 f6 36 ee 7b 88 c6 08 e1 41 b8 01 02 8a 16 f2 7b |.6.{....A......{|
  297. 00000110 cd 13 8d 64 10 66 61 c3 e8 1e 00 4f 70 65 72 61 |...d.fa....Opera|
  298. 00000120 74 69 6e 67 20 73 79 73 74 65 6d 20 6c 6f 61 64 |ting system load|
  299. 00000130 20 65 72 72 6f 72 2e 0d 0a 5e ac b4 0e 8a 3e 62 | error...^....>b|
  300. 00000140 04 b3 07 cd 10 3c 0a 75 f1 cd 18 f4 eb fd 00 00 |.....<.u........|
  301. 00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
  302. *
  303. 000001b0 98 23 00 00 00 00 00 00 6e 84 c3 47 00 00 80 00 |.#......n..G....|
  304. 000001c0 01 00 00 b6 e0 fb 00 00 00 00 80 24 5b 00 00 fe |...........$[...|
  305. 000001d0 ff ff ef fe ff ff 58 02 00 00 40 21 00 00 00 fd |......X...@!....|
  306. 000001e0 4b 73 83 0f fc d3 00 30 5b 00 00 d0 94 00 00 00 |Ks.....0[.......|
  307. 000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
  308. 00000200
  309.  
  310.  
  311. =============================== StdErr Messages ================================
  312.  
  313. File descriptor 63 (pipe:[146349]) leaked on lvs invocation. Parent PID 56417: /bin/bash
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement