Advertisement
Guest User

Untitled

a guest
May 25th, 2022
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.99 KB | None | 0 0
  1. [liveuser@localhost-live ~]$ sudo su
  2. [root@localhost-live liveuser]# mkdir /mnt/sysimage
  3. [root@localhost-live liveuser]# mount /dev/sda3 /mnt/sysimage/
  4. [root@localhost-live liveuser]# mount /dev/sda1 /mnt/sysimage/boot/efi/
  5. [root@localhost-live liveuser]# mount -o bind /proc /mnt/sysimage/proc/
  6. [root@localhost-live liveuser]# mount -o bind /sys /mnt/sysimage/sys/
  7. [root@localhost-live liveuser]# mount -o bind /dev /mnt/sysimage/dev/
  8. [root@localhost-live liveuser]# mount -o bind /run /mnt/sysimage/run/
  9. [root@localhost-live liveuser]# chroot /mnt/sysimage/
  10. [root@localhost-live /]# dnf reinstall shim-\* grub2-efi-\* grub2-common
  11. Fedora 36 - x86_64 - Updates 25 kB/s | 18 kB 00:00
  12. Fedora 36 - x86_64 - Updates 656 kB/s | 1.7 MB 00:02
  13. Fedora Modular 36 - x86_64 - Updates 19 kB/s | 17 kB 00:00
  14. Fedora Modular 36 - x86_64 - Updates 38 kB/s | 76 kB 00:01
  15. Last metadata expiration check: 0:00:01 ago on Wed 25 May 2022 10:48:33 PM CEST.
  16. Dependencies resolved.
  17. =======================================================================================================================================================================
  18. Package Architecture Version Repository Size
  19. =======================================================================================================================================================================
  20. Reinstalling:
  21. grub2-common noarch 1:2.06-40.fc36 updates 907 k
  22. grub2-efi-ia32 x86_64 1:2.06-40.fc36 updates 1.3 M
  23. grub2-efi-ia32-cdboot x86_64 1:2.06-40.fc36 updates 1.3 M
  24. grub2-efi-x64 x86_64 1:2.06-40.fc36 updates 1.3 M
  25. grub2-efi-x64-cdboot x86_64 1:2.06-40.fc36 updates 1.3 M
  26. shim-ia32 x86_64 15.4-5 fedora 419 k
  27. shim-x64 x86_64 15.4-5 fedora 466 k
  28.  
  29. Transaction Summary
  30. =======================================================================================================================================================================
  31.  
  32. Total download size: 7.0 M
  33. Installed size: 28 M
  34. Is this ok [y/N]: y
  35. Downloading Packages:
  36. (1/7): shim-ia32-15.4-5.x86_64.rpm 333 kB/s | 419 kB 00:01
  37. (2/7): grub2-common-2.06-40.fc36.noarch.rpm 551 kB/s | 907 kB 00:01
  38. (3/7): shim-x64-15.4-5.x86_64.rpm 272 kB/s | 466 kB 00:01
  39. (4/7): grub2-efi-ia32-2.06-40.fc36.x86_64.rpm 1.3 MB/s | 1.3 MB 00:01
  40. (5/7): grub2-efi-ia32-cdboot-2.06-40.fc36.x86_64.rpm 769 kB/s | 1.3 MB 00:01
  41. (6/7): grub2-efi-x64-2.06-40.fc36.x86_64.rpm 774 kB/s | 1.3 MB 00:01
  42. (7/7): grub2-efi-x64-cdboot-2.06-40.fc36.x86_64.rpm 1.0 MB/s | 1.3 MB 00:01
  43. -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
  44. Total 1.4 MB/s | 7.0 MB 00:04
  45. Running transaction check
  46. Transaction check succeeded.
  47. Running transaction test
  48. Transaction test succeeded.
  49. Running transaction
  50. Preparing : 1/1
  51. Reinstalling : grub2-common-1:2.06-40.fc36.noarch 1/14
  52. Reinstalling : grub2-efi-ia32-1:2.06-40.fc36.x86_64 2/14
  53. Reinstalling : grub2-efi-x64-1:2.06-40.fc36.x86_64 3/14
  54. Reinstalling : shim-x64-15.4-5.x86_64 4/14
  55. Reinstalling : shim-ia32-15.4-5.x86_64 5/14
  56. Reinstalling : grub2-efi-ia32-cdboot-1:2.06-40.fc36.x86_64 6/14
  57. Reinstalling : grub2-efi-x64-cdboot-1:2.06-40.fc36.x86_64 7/14
  58. Cleanup : grub2-efi-x64-cdboot-1:2.06-40.fc36.x86_64 8/14
  59. Cleanup : grub2-efi-ia32-cdboot-1:2.06-40.fc36.x86_64 9/14
  60. Cleanup : shim-x64-15.4-5.x86_64 10/14
  61. Cleanup : grub2-efi-x64-1:2.06-40.fc36.x86_64 11/14
  62. Cleanup : shim-ia32-15.4-5.x86_64 12/14
  63. Cleanup : grub2-efi-ia32-1:2.06-40.fc36.x86_64 13/14
  64. Cleanup : grub2-common-1:2.06-40.fc36.noarch 14/14
  65. Running scriptlet: grub2-common-1:2.06-40.fc36.noarch 14/14
  66. Verifying : shim-ia32-15.4-5.x86_64 1/14
  67. Verifying : shim-ia32-15.4-5.x86_64 2/14
  68. Verifying : shim-x64-15.4-5.x86_64 3/14
  69. Verifying : shim-x64-15.4-5.x86_64 4/14
  70. Verifying : grub2-common-1:2.06-40.fc36.noarch 5/14
  71. Verifying : grub2-common-1:2.06-40.fc36.noarch 6/14
  72. Verifying : grub2-efi-ia32-1:2.06-40.fc36.x86_64 7/14
  73. Verifying : grub2-efi-ia32-1:2.06-40.fc36.x86_64 8/14
  74. Verifying : grub2-efi-ia32-cdboot-1:2.06-40.fc36.x86_64 9/14
  75. Verifying : grub2-efi-ia32-cdboot-1:2.06-40.fc36.x86_64 10/14
  76. Verifying : grub2-efi-x64-1:2.06-40.fc36.x86_64 11/14
  77. Verifying : grub2-efi-x64-1:2.06-40.fc36.x86_64 12/14
  78. Verifying : grub2-efi-x64-cdboot-1:2.06-40.fc36.x86_64 13/14
  79. Verifying : grub2-efi-x64-cdboot-1:2.06-40.fc36.x86_64 14/14
  80.  
  81. Reinstalled:
  82. grub2-common-1:2.06-40.fc36.noarch grub2-efi-ia32-1:2.06-40.fc36.x86_64 grub2-efi-ia32-cdboot-1:2.06-40.fc36.x86_64 grub2-efi-x64-1:2.06-40.fc36.x86_64
  83. grub2-efi-x64-cdboot-1:2.06-40.fc36.x86_64 shim-ia32-15.4-5.x86_64 shim-x64-15.4-5.x86_64
  84.  
  85. Complete!
  86. [root@localhost-live /]# dracut --force --kver 5.17.5-300.fc36.x86_64
  87. [root@localhost-live /]# dnf reinstall kernel\*
  88. Last metadata expiration check: 0:03:58 ago on Wed 25 May 2022 10:48:33 PM CEST.
  89. Dependencies resolved.
  90. =======================================================================================================================================================================
  91. Package Architecture Version Repository Size
  92. =======================================================================================================================================================================
  93. Reinstalling:
  94. kernel x86_64 5.17.5-300.fc36 fedora 163 k
  95. kernel-core x86_64 5.17.5-300.fc36 fedora 46 M
  96. kernel-headers x86_64 5.17.6-300.fc36 updates 1.3 M
  97. kernel-modules x86_64 5.17.5-300.fc36 fedora 53 M
  98. kernel-modules-extra x86_64 5.17.5-300.fc36 fedora 3.4 M
  99.  
  100. Transaction Summary
  101. =======================================================================================================================================================================
  102.  
  103. Total download size: 104 M
  104. Installed size: 150 M
  105. Is this ok [y/N]: y
  106. Downloading Packages:
  107. (1/5): kernel-5.17.5-300.fc36.x86_64.rpm 340 kB/s | 163 kB 00:00
  108. (2/5): kernel-modules-extra-5.17.5-300.fc36.x86_64.rpm 532 kB/s | 3.4 MB 00:06
  109. (3/5): kernel-headers-5.17.6-300.fc36.x86_64.rpm 356 kB/s | 1.3 MB 00:03
  110. (4/5): kernel-modules-5.17.5-300.fc36.x86_64.rpm 1.6 MB/s | 53 MB 00:33
  111. (5/5): kernel-core-5.17.5-300.fc36.x86_64.rpm 1.2 MB/s | 46 MB 00:39
  112. -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
  113. Total 2.5 MB/s | 104 MB 00:41
  114. Running transaction check
  115. Transaction check succeeded.
  116. Running transaction test
  117. Transaction test succeeded.
  118. Running transaction
  119. Preparing : 1/1
  120. Reinstalling : kernel-core-5.17.5-300.fc36.x86_64 1/10
  121. Running scriptlet: kernel-core-5.17.5-300.fc36.x86_64 1/10
  122. Reinstalling : kernel-modules-5.17.5-300.fc36.x86_64 2/10
  123. Running scriptlet: kernel-modules-5.17.5-300.fc36.x86_64 2/10
  124. Reinstalling : kernel-5.17.5-300.fc36.x86_64 3/10
  125. Reinstalling : kernel-modules-extra-5.17.5-300.fc36.x86_64 4/10
  126. Running scriptlet: kernel-modules-extra-5.17.5-300.fc36.x86_64 4/10
  127. Reinstalling : kernel-headers-5.17.6-300.fc36.x86_64 5/10
  128. Cleanup : kernel-modules-extra-5.17.5-300.fc36.x86_64 6/10
  129. Running scriptlet: kernel-modules-extra-5.17.5-300.fc36.x86_64 6/10
  130. Cleanup : kernel-5.17.5-300.fc36.x86_64 7/10
  131. Running scriptlet: kernel-5.17.5-300.fc36.x86_64 7/10
  132. Cleanup : kernel-modules-5.17.5-300.fc36.x86_64 8/10
  133. Running scriptlet: kernel-modules-5.17.5-300.fc36.x86_64 8/10
  134. Running scriptlet: kernel-core-5.17.5-300.fc36.x86_64 9/10
  135. Cleanup : kernel-core-5.17.5-300.fc36.x86_64 9/10
  136. Cleanup : kernel-headers-5.17.6-300.fc36.x86_64 10/10
  137. Running scriptlet: kernel-core-5.17.5-300.fc36.x86_64 10/10
  138. Running scriptlet: kernel-modules-5.17.5-300.fc36.x86_64 10/10
  139. Running scriptlet: kernel-headers-5.17.6-300.fc36.x86_64 10/10
  140. Verifying : kernel-5.17.5-300.fc36.x86_64 1/10
  141. Verifying : kernel-5.17.5-300.fc36.x86_64 2/10
  142. Verifying : kernel-core-5.17.5-300.fc36.x86_64 3/10
  143. Verifying : kernel-core-5.17.5-300.fc36.x86_64 4/10
  144. Verifying : kernel-modules-5.17.5-300.fc36.x86_64 5/10
  145. Verifying : kernel-modules-5.17.5-300.fc36.x86_64 6/10
  146. Verifying : kernel-modules-extra-5.17.5-300.fc36.x86_64 7/10
  147. Verifying : kernel-modules-extra-5.17.5-300.fc36.x86_64 8/10
  148. Verifying : kernel-headers-5.17.6-300.fc36.x86_64 9/10
  149. Verifying : kernel-headers-5.17.6-300.fc36.x86_64 10/10
  150.  
  151. Reinstalled:
  152. kernel-5.17.5-300.fc36.x86_64 kernel-core-5.17.5-300.fc36.x86_64 kernel-headers-5.17.6-300.fc36.x86_64 kernel-modules-5.17.5-300.fc36.x86_64
  153. kernel-modules-extra-5.17.5-300.fc36.x86_64
  154.  
  155. Complete!
  156. [root@localhost-live /]# grub2-mkconfig -o /boot/grub2/grub.cfg
  157. Generating grub configuration file ...
  158. Adding boot menu entry for UEFI Firmware Settings ...
  159. done
  160. [root@localhost-live /]# dnf repolist
  161. repo id repo name
  162. brave-browser-rpm-release.s3.brave.com_x86_64_ created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/
  163. fedora Fedora 36 - x86_64
  164. fedora-cisco-openh264 Fedora 36 openh264 (From Cisco) - x86_64
  165. fedora-modular Fedora Modular 36 - x86_64
  166. rpmfusion-free RPM Fusion for Fedora 36 - Free
  167. rpmfusion-free-updates RPM Fusion for Fedora 36 - Free - Updates
  168. rpmfusion-nonfree RPM Fusion for Fedora 36 - Nonfree
  169. rpmfusion-nonfree-updates RPM Fusion for Fedora 36 - Nonfree - Updates
  170. updates Fedora 36 - x86_64 - Updates
  171. updates-modular Fedora Modular 36 - x86_64 - Updates
  172. [root@localhost-live /]#
  173.  
  174.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement