Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [liveuser@localhost-live ~]$ sudo su
- [root@localhost-live liveuser]# mkdir /mnt/sysimage
- [root@localhost-live liveuser]# mount /dev/sda3 /mnt/sysimage/
- [root@localhost-live liveuser]# mount /dev/sda1 /mnt/sysimage/boot/efi/
- [root@localhost-live liveuser]# mount -o bind /proc /mnt/sysimage/proc/
- [root@localhost-live liveuser]# mount -o bind /sys /mnt/sysimage/sys/
- [root@localhost-live liveuser]# mount -o bind /dev /mnt/sysimage/dev/
- [root@localhost-live liveuser]# mount -o bind /run /mnt/sysimage/run/
- [root@localhost-live liveuser]# chroot /mnt/sysimage/
- [root@localhost-live /]# dnf reinstall shim-\* grub2-efi-\* grub2-common
- Fedora 36 - x86_64 - Updates 25 kB/s | 18 kB 00:00
- Fedora 36 - x86_64 - Updates 656 kB/s | 1.7 MB 00:02
- Fedora Modular 36 - x86_64 - Updates 19 kB/s | 17 kB 00:00
- Fedora Modular 36 - x86_64 - Updates 38 kB/s | 76 kB 00:01
- Last metadata expiration check: 0:00:01 ago on Wed 25 May 2022 10:48:33 PM CEST.
- Dependencies resolved.
- =======================================================================================================================================================================
- Package Architecture Version Repository Size
- =======================================================================================================================================================================
- Reinstalling:
- grub2-common noarch 1:2.06-40.fc36 updates 907 k
- grub2-efi-ia32 x86_64 1:2.06-40.fc36 updates 1.3 M
- grub2-efi-ia32-cdboot x86_64 1:2.06-40.fc36 updates 1.3 M
- grub2-efi-x64 x86_64 1:2.06-40.fc36 updates 1.3 M
- grub2-efi-x64-cdboot x86_64 1:2.06-40.fc36 updates 1.3 M
- shim-ia32 x86_64 15.4-5 fedora 419 k
- shim-x64 x86_64 15.4-5 fedora 466 k
- Transaction Summary
- =======================================================================================================================================================================
- Total download size: 7.0 M
- Installed size: 28 M
- Is this ok [y/N]: y
- Downloading Packages:
- (1/7): shim-ia32-15.4-5.x86_64.rpm 333 kB/s | 419 kB 00:01
- (2/7): grub2-common-2.06-40.fc36.noarch.rpm 551 kB/s | 907 kB 00:01
- (3/7): shim-x64-15.4-5.x86_64.rpm 272 kB/s | 466 kB 00:01
- (4/7): grub2-efi-ia32-2.06-40.fc36.x86_64.rpm 1.3 MB/s | 1.3 MB 00:01
- (5/7): grub2-efi-ia32-cdboot-2.06-40.fc36.x86_64.rpm 769 kB/s | 1.3 MB 00:01
- (6/7): grub2-efi-x64-2.06-40.fc36.x86_64.rpm 774 kB/s | 1.3 MB 00:01
- (7/7): grub2-efi-x64-cdboot-2.06-40.fc36.x86_64.rpm 1.0 MB/s | 1.3 MB 00:01
- -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
- Total 1.4 MB/s | 7.0 MB 00:04
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
- Preparing : 1/1
- Reinstalling : grub2-common-1:2.06-40.fc36.noarch 1/14
- Reinstalling : grub2-efi-ia32-1:2.06-40.fc36.x86_64 2/14
- Reinstalling : grub2-efi-x64-1:2.06-40.fc36.x86_64 3/14
- Reinstalling : shim-x64-15.4-5.x86_64 4/14
- Reinstalling : shim-ia32-15.4-5.x86_64 5/14
- Reinstalling : grub2-efi-ia32-cdboot-1:2.06-40.fc36.x86_64 6/14
- Reinstalling : grub2-efi-x64-cdboot-1:2.06-40.fc36.x86_64 7/14
- Cleanup : grub2-efi-x64-cdboot-1:2.06-40.fc36.x86_64 8/14
- Cleanup : grub2-efi-ia32-cdboot-1:2.06-40.fc36.x86_64 9/14
- Cleanup : shim-x64-15.4-5.x86_64 10/14
- Cleanup : grub2-efi-x64-1:2.06-40.fc36.x86_64 11/14
- Cleanup : shim-ia32-15.4-5.x86_64 12/14
- Cleanup : grub2-efi-ia32-1:2.06-40.fc36.x86_64 13/14
- Cleanup : grub2-common-1:2.06-40.fc36.noarch 14/14
- Running scriptlet: grub2-common-1:2.06-40.fc36.noarch 14/14
- Verifying : shim-ia32-15.4-5.x86_64 1/14
- Verifying : shim-ia32-15.4-5.x86_64 2/14
- Verifying : shim-x64-15.4-5.x86_64 3/14
- Verifying : shim-x64-15.4-5.x86_64 4/14
- Verifying : grub2-common-1:2.06-40.fc36.noarch 5/14
- Verifying : grub2-common-1:2.06-40.fc36.noarch 6/14
- Verifying : grub2-efi-ia32-1:2.06-40.fc36.x86_64 7/14
- Verifying : grub2-efi-ia32-1:2.06-40.fc36.x86_64 8/14
- Verifying : grub2-efi-ia32-cdboot-1:2.06-40.fc36.x86_64 9/14
- Verifying : grub2-efi-ia32-cdboot-1:2.06-40.fc36.x86_64 10/14
- Verifying : grub2-efi-x64-1:2.06-40.fc36.x86_64 11/14
- Verifying : grub2-efi-x64-1:2.06-40.fc36.x86_64 12/14
- Verifying : grub2-efi-x64-cdboot-1:2.06-40.fc36.x86_64 13/14
- Verifying : grub2-efi-x64-cdboot-1:2.06-40.fc36.x86_64 14/14
- Reinstalled:
- 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
- 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
- Complete!
- [root@localhost-live /]# dracut --force --kver 5.17.5-300.fc36.x86_64
- [root@localhost-live /]# dnf reinstall kernel\*
- Last metadata expiration check: 0:03:58 ago on Wed 25 May 2022 10:48:33 PM CEST.
- Dependencies resolved.
- =======================================================================================================================================================================
- Package Architecture Version Repository Size
- =======================================================================================================================================================================
- Reinstalling:
- kernel x86_64 5.17.5-300.fc36 fedora 163 k
- kernel-core x86_64 5.17.5-300.fc36 fedora 46 M
- kernel-headers x86_64 5.17.6-300.fc36 updates 1.3 M
- kernel-modules x86_64 5.17.5-300.fc36 fedora 53 M
- kernel-modules-extra x86_64 5.17.5-300.fc36 fedora 3.4 M
- Transaction Summary
- =======================================================================================================================================================================
- Total download size: 104 M
- Installed size: 150 M
- Is this ok [y/N]: y
- Downloading Packages:
- (1/5): kernel-5.17.5-300.fc36.x86_64.rpm 340 kB/s | 163 kB 00:00
- (2/5): kernel-modules-extra-5.17.5-300.fc36.x86_64.rpm 532 kB/s | 3.4 MB 00:06
- (3/5): kernel-headers-5.17.6-300.fc36.x86_64.rpm 356 kB/s | 1.3 MB 00:03
- (4/5): kernel-modules-5.17.5-300.fc36.x86_64.rpm 1.6 MB/s | 53 MB 00:33
- (5/5): kernel-core-5.17.5-300.fc36.x86_64.rpm 1.2 MB/s | 46 MB 00:39
- -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
- Total 2.5 MB/s | 104 MB 00:41
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
- Preparing : 1/1
- Reinstalling : kernel-core-5.17.5-300.fc36.x86_64 1/10
- Running scriptlet: kernel-core-5.17.5-300.fc36.x86_64 1/10
- Reinstalling : kernel-modules-5.17.5-300.fc36.x86_64 2/10
- Running scriptlet: kernel-modules-5.17.5-300.fc36.x86_64 2/10
- Reinstalling : kernel-5.17.5-300.fc36.x86_64 3/10
- Reinstalling : kernel-modules-extra-5.17.5-300.fc36.x86_64 4/10
- Running scriptlet: kernel-modules-extra-5.17.5-300.fc36.x86_64 4/10
- Reinstalling : kernel-headers-5.17.6-300.fc36.x86_64 5/10
- Cleanup : kernel-modules-extra-5.17.5-300.fc36.x86_64 6/10
- Running scriptlet: kernel-modules-extra-5.17.5-300.fc36.x86_64 6/10
- Cleanup : kernel-5.17.5-300.fc36.x86_64 7/10
- Running scriptlet: kernel-5.17.5-300.fc36.x86_64 7/10
- Cleanup : kernel-modules-5.17.5-300.fc36.x86_64 8/10
- Running scriptlet: kernel-modules-5.17.5-300.fc36.x86_64 8/10
- Running scriptlet: kernel-core-5.17.5-300.fc36.x86_64 9/10
- Cleanup : kernel-core-5.17.5-300.fc36.x86_64 9/10
- Cleanup : kernel-headers-5.17.6-300.fc36.x86_64 10/10
- Running scriptlet: kernel-core-5.17.5-300.fc36.x86_64 10/10
- Running scriptlet: kernel-modules-5.17.5-300.fc36.x86_64 10/10
- Running scriptlet: kernel-headers-5.17.6-300.fc36.x86_64 10/10
- Verifying : kernel-5.17.5-300.fc36.x86_64 1/10
- Verifying : kernel-5.17.5-300.fc36.x86_64 2/10
- Verifying : kernel-core-5.17.5-300.fc36.x86_64 3/10
- Verifying : kernel-core-5.17.5-300.fc36.x86_64 4/10
- Verifying : kernel-modules-5.17.5-300.fc36.x86_64 5/10
- Verifying : kernel-modules-5.17.5-300.fc36.x86_64 6/10
- Verifying : kernel-modules-extra-5.17.5-300.fc36.x86_64 7/10
- Verifying : kernel-modules-extra-5.17.5-300.fc36.x86_64 8/10
- Verifying : kernel-headers-5.17.6-300.fc36.x86_64 9/10
- Verifying : kernel-headers-5.17.6-300.fc36.x86_64 10/10
- Reinstalled:
- 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
- kernel-modules-extra-5.17.5-300.fc36.x86_64
- Complete!
- [root@localhost-live /]# grub2-mkconfig -o /boot/grub2/grub.cfg
- Generating grub configuration file ...
- Adding boot menu entry for UEFI Firmware Settings ...
- done
- [root@localhost-live /]# dnf repolist
- repo id repo name
- 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/
- fedora Fedora 36 - x86_64
- fedora-cisco-openh264 Fedora 36 openh264 (From Cisco) - x86_64
- fedora-modular Fedora Modular 36 - x86_64
- rpmfusion-free RPM Fusion for Fedora 36 - Free
- rpmfusion-free-updates RPM Fusion for Fedora 36 - Free - Updates
- rpmfusion-nonfree RPM Fusion for Fedora 36 - Nonfree
- rpmfusion-nonfree-updates RPM Fusion for Fedora 36 - Nonfree - Updates
- updates Fedora 36 - x86_64 - Updates
- updates-modular Fedora Modular 36 - x86_64 - Updates
- [root@localhost-live /]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement