On 30/8/23 09:51, ToddAndMargo via users wrote:
On 8/29/23 10:41, Michael D. Setzer II via users wrote:
> I've found that removing the rescue files from /boot and then doing a
> dnf reinstall kernel-core will do
> it.
>
> Did just run it to make sure, paste has wrapping, but hopefully one
> can follow.
>
> # cd /boot
> # ls -l*rescue*
> -rw-------. 1 root root 118033857 Jun 5 01:53
> initramfs-0-rescue-189711f94e78436d9618b891a8fce70e.img
> -rwxr-xr-x. 1 root root 14332776 Jun 5 01:51
> vmlinuz-0-rescue-189711f94e78436d9618b891a8fce70e
>
> # rm*rescue*
> rm: remove regular file
> 'initramfs-0-rescue-189711f94e78436d9618b891a8fce70e.img'? y
> rm: remove regular file
> 'vmlinuz-0-rescue-189711f94e78436d9618b891a8fce70e'? y
>
> # dnf reinstall kernel-core
> Last metadata expiration check: 0:27:24 ago on Wed 30 Aug 2023
> 03:05:33 AM ChST.
> Dependencies resolved.
> ===============================================================
> ========================================================
> Package Architecture
> Version Repository Size
> ===============================================================
> ========================================================
> Reinstalling:
> kernel-core x86_64
> 6.4.12-100.fc37 updates 15 M
>
> Transaction Summary
> ===============================================================
> ========================================================
>
> Total download size: 15 M
> Installed size: 65 M
> Is this ok [y/N]: y
> Downloading Packages:
> kernel-core-6.4.12-100.fc37.x86_64.rpm 3.4 MB/s | 15 MB 00:04
>
-----------------------------------------------------------------------------------------------------------------------
>
> Total 2.7 MB/s | 15 MB 00:05
> Running transaction check
> Transaction check succeeded.
> Running transaction test
> Transaction test succeeded.
> Running transaction
> Preparing : 1/1
> Reinstalling : kernel-core-6.4.12-100.fc37.x86_64 1/2
> Running scriptlet: kernel-core-6.4.12-100.fc37.x86_64 1/2
> Running scriptlet: kernel-core-6.4.12-100.fc37.x86_64 2/2
> Cleanup : kernel-core-6.4.12-100.fc37.x86_64 2/2
> Running scriptlet: kernel-core-6.4.12-100.fc37.x86_64 2/2
> Verifying : kernel-core-6.4.12-100.fc37.x86_64 1/2
> Verifying : kernel-core-6.4.12-100.fc37.x86_64 2/2
>
> Reinstalled:
> kernel-core-6.4.12-100.fc37.x86_64
>
> Complete!
>
> Takes some time to run, but afterwards.
> # ls -l*rescue*
> -rw-------. 1 root root 123671666 Aug 30 03:35
> initramfs-0-rescue-189711f94e78436d9618b891a8fce70e.img
> -rwxr-xr-x. 1 root root 14384360 Aug 30 03:34
> vmlinuz-0-rescue-189711f94e78436d9618b891a8fce70e
Hi Michael,
Worked perfectly. Excellent directions!
https://imgur.com/lgwFazr.png
If you install the following statement into /etc/default/grub, and
remake the grub menus either with grubby (maybe) or definitely with
grub2-mkconfig, the menu build process it add a rescue entry into the
grub menus for all kernels you have installed.
GRUB_DISABLE_RECOVERY="false"
regards,
Steve
-T
_______________________________________________
users mailing list -- users(a)lists.fedoraproject.org
To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue