Advertisement
Guest User

Grub rescue

a guest
Nov 14th, 2021
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.55 KB | None | 0 0
  1. boot-repair-4ppa130 [20211114_2034]
  2.  
  3. ============================= Boot Repair Summary ==============================
  4.  
  5.  
  6.  
  7. sda may have broken partition table.
  8. sda may have broken partition table.
  9.  
  10. Recommended repair: ____________________________________________________________
  11.  
  12. The default repair of the Boot-Repair utility will reinstall the grub2 of
  13. sdb1 into the MBR of sdb.
  14. Additional repair will be performed: unhide-bootmenu-10s
  15.  
  16.  
  17.  
  18. Unhide GRUB boot menu in sdb1/etc/default/grub
  19.  
  20. ========================= Reinstall the grub2 of sdb1 ==========================
  21.  
  22. grub-install --version
  23. grub-install (GRUB) 2.02-2ubuntu8.21+zorin1
  24.  
  25. ==> Reinstall the GRUB of sdb1 into the MBR of sdb
  26.  
  27. grub-install /dev/sdb
  28. Installing for i386-pc platform.
  29. Installation finished. No error reported.
  30.  
  31. update-grub
  32. Sourcing file `/etc/default/grub'
  33. Generating grub configuration file ...
  34. Found theme: /usr/share/grub/themes/zorin/theme.txt
  35. Found linux image: /boot/vmlinuz-5.4.0-90-generic
  36. Found initrd image: /boot/initrd.img-5.4.0-90-generic
  37. Found linux image: /boot/vmlinuz-5.4.0-47-generic
  38. Found initrd image: /boot/initrd.img-5.4.0-47-generic
  39. Found memtest86+ image: /boot/memtest86+.elf
  40. Found memtest86+ image: /boot/memtest86+.bin
  41.  
  42. Unhide GRUB boot menu in sdb1/boot/grub/grub.cfg
  43.  
  44. Boot successfully repaired.
  45.  
  46. You can now reboot your computer.
  47.  
  48.  
  49. ============================ Boot Info After Repair ============================
  50.  
  51. => Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
  52. the same hard drive for core.img. core.img is at this location and looks
  53. for (,msdos1)/boot/grub. It also embeds following components:
  54.  
  55. modules
  56. ---------------------------------------------------------------------------
  57. fshelp ext2 part_msdos biosdisk
  58. ---------------------------------------------------------------------------
  59. => Grub2 (v2.00) is installed in the MBR of /dev/sdb and looks at sector 1 of
  60. the same hard drive for core.img. core.img is at this location and looks
  61. for (,msdos1)/boot/grub. It also embeds following components:
  62.  
  63. modules
  64. ---------------------------------------------------------------------------
  65. fshelp ext2 part_msdos biosdisk
  66. ---------------------------------------------------------------------------
  67.  
  68. sdb1: __________________________________________________________________________
  69.  
  70. File system: ext4
  71. Boot sector type: -
  72. Boot sector info:
  73. Operating System: Zorin OS 15.3
  74. Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
  75. /boot/grub/i386-pc/core.img
  76.  
  77.  
  78. ================================ 1 OS detected =================================
  79.  
  80. OS#1: The OS now in use - Zorin OS 15.3 CurrentSession on sdb1
  81.  
  82. ============================ Architecture/Host Info ============================
  83.  
  84. CPU architecture: 64-bit
  85. BOOT_IMAGE of the installed session in use:
  86. /boot/vmlinuz-5.4.0-90-generic root=UUID=91b9f31b-9920-4bd7-a108-2313a44464ea ro initrd=/casper/initrd.lz4 quiet splash vt.handoff=1
  87.  
  88.  
  89. ===================================== UEFI =====================================
  90.  
  91. This installed-session is not in EFI-mode.
  92. EFI in dmesg.
  93. [ 0.014751] ACPI: UEFI 0x00000000BAFE7000 00003E (v01 DELL QA09 00000002 PTL 00000002)
  94. [ 0.014754] ACPI: UEFI 0x00000000BAFE6000 000042 (v01 PTL COMBUF 00000001 PTL 00000001)
  95. [ 0.014763] ACPI: UEFI 0x00000000BAFE3000 000256 (v01 DELL QA09 00000002 PTL 00000002)
  96. [ 0.014775] ACPI: Reserving UEFI table memory at [mem 0xbafe7000-0xbafe703d]
  97. [ 0.014776] ACPI: Reserving UEFI table memory at [mem 0xbafe6000-0xbafe6041]
  98. [ 0.014778] ACPI: Reserving UEFI table memory at [mem 0xbafe3000-0xbafe3255]
  99.  
  100.  
  101.  
  102. ============================= Drive/Partition Info =============================
  103.  
  104. Disks info: ____________________________________________________________________
  105.  
  106. sdb : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
  107.  
  108. Partitions info (1/3): _________________________________________________________
  109.  
  110. sdb1 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, farbios
  111.  
  112. Partitions info (2/3): _________________________________________________________
  113.  
  114. sdb1 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot
  115.  
  116. Partitions info (3/3): _________________________________________________________
  117.  
  118. sdb1 : not-sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sdb
  119.  
  120. fdisk -l (filtered): ___________________________________________________________
  121.  
  122. Disk sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
  123. Disk identifier: 0xccadeeee
  124. Disk sdb: 119.2 GiB, 128035676160 bytes, 250069680 sectors
  125. Disk identifier: 0x62742c44
  126. Boot Start End Sectors Size Id Type
  127. sdb1 * 2048 250068991 250066944 119.2G 83 Linux
  128.  
  129. parted -lm (filtered): _________________________________________________________
  130.  
  131. sda:500GB:scsi:512:4096:msdos:ATA HGST HTS545050A7:;
  132. sdb:128GB:scsi:512:512:msdos:ATA SPCC Solid State:;
  133. 1:1049kB:128GB:128GB:ext4::boot;
  134.  
  135. blkid (filtered): ______________________________________________________________
  136.  
  137. NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
  138. sda
  139. sdb
  140. └─sdb1 ext4 91b9f31b-9920-4bd7-a108-2313a44464ea 62742c44-01
  141.  
  142. df (filtered): _________________________________________________________________
  143.  
  144. Avail Use% Mounted on
  145. sdb1 101.7G 8% /
  146.  
  147. Mount options: __________________________________________________________________
  148.  
  149. sdb1 rw,relatime,errors=remount-ro
  150.  
  151. ====================== sdb1/boot/grub/grub.cfg (filtered) ======================
  152.  
  153. Zorin 91b9f31b-9920-4bd7-a108-2313a44464ea
  154. Zorin, with Linux 5.4.0-90-generic 91b9f31b-9920-4bd7-a108-2313a44464ea
  155. Zorin, with Linux 5.4.0-47-generic 91b9f31b-9920-4bd7-a108-2313a44464ea
  156. ### END /etc/grub.d/30_os-prober ###
  157. ### END /etc/grub.d/30_uefi-firmware ###
  158.  
  159. ========================== sdb1/etc/fstab (filtered) ===========================
  160.  
  161. # <file system> <mount point> <type> <options> <dump> <pass>
  162. # / was on /dev/sdb1 during installation
  163. UUID=91b9f31b-9920-4bd7-a108-2313a44464ea / ext4 errors=remount-ro 0 1
  164. /swapfile none swap sw 0 0
  165.  
  166. ======================= sdb1/etc/default/grub (filtered) =======================
  167.  
  168. GRUB_DEFAULT=0
  169. GRUB_TIMEOUT_STYLE=hidden
  170. GRUB_TIMEOUT=10
  171. GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  172. GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  173. GRUB_CMDLINE_LINUX="initrd=/casper/initrd.lz4"
  174. GRUB_THEME=/usr/share/grub/themes/zorin/theme.txt
  175.  
  176. ==================== sdb1: Location of files loaded by Grub ====================
  177.  
  178. GiB - GB File Fragment(s)
  179. 96.243549347 = 103.340724224 boot/grub/grub.cfg 1
  180. 96.420207977 = 103.530409984 boot/grub/i386-pc/core.img 1
  181. 4.524410248 = 4.858048512 boot/vmlinuz-5.4.0-47-generic 2
  182. 5.962913513 = 6.402629632 boot/vmlinuz-5.4.0-90-generic 1
  183. 5.962913513 = 6.402629632 vmlinuz 1
  184. 4.524410248 = 4.858048512 vmlinuz.old 2
  185. 7.531894684 = 8.087310336 boot/initrd.img-5.4.0-47-generic 1
  186. 2.430660248 = 2.609901568 boot/initrd.img-5.4.0-90-generic 4
  187. 2.430660248 = 2.609901568 initrd.img 4
  188. 7.531894684 = 8.087310336 initrd.img.old 1
  189.  
  190. ===================== sdb1: ls -l /etc/grub.d/ (filtered) ======================
  191.  
  192. -rwxr-xr-x 1 root root 12798 सितम्ब 2 2020 10_linux
  193. -rwxr-xr-x 1 root root 11298 सितम्ब 2 2020 20_linux_xen
  194. -rwxr-xr-x 1 root root 12059 सितम्ब 2 2020 30_os-prober
  195. -rwxr-xr-x 1 root root 1418 सितम्ब 2 2020 30_uefi-firmware
  196. -rwxr-xr-x 1 root root 214 सितम्ब 2 2020 40_custom
  197. -rwxr-xr-x 1 root root 216 सितम्ब 2 2020 41_custom
  198.  
  199.  
  200. ========= Devices which don't seem to have a corresponding hard drive ==========
  201.  
  202. sdc
  203. paste2.org ko (http://paste2.org/)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement