mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-10-18 09:21:50 +00:00
Merge #662 Update upgrading-fedora-offline.adoc, add instructions to regenerate rescue kernel (Issue #654)
This commit is contained in:
commit
0d0209108b
1 changed files with 25 additions and 0 deletions
|
@ -279,6 +279,31 @@ After you verify the list of broken symlinks you can delete them like shown belo
|
|||
sudo symlinks -r -d /usr
|
||||
----
|
||||
|
||||
[[sect-update-rescue-kernel]]
|
||||
=== Update rescue kernel
|
||||
|
||||
The rescue kernel and initramfs are generated by Anaconda during system install.
|
||||
initramfs will be updated when the kernel is updated, but the rescue kernel may not be.
|
||||
Whether the rescue kernel is updated depends on the system configuration.
|
||||
|
||||
If the rescue kernel is out-of-date, then issue the following commands to regenerate it.
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
sudo rm /boot/*rescue*
|
||||
sudo kernel-install add "$(uname -r)" "/lib/modules/$(uname -r)/vmlinuz"
|
||||
----
|
||||
|
||||
The rescue kernel regeneration process can be automated by installing the `dracut-config-rescue` package.
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
sudo dnf install dracut-config-rescue
|
||||
----
|
||||
|
||||
Once installed, the rescue kernel will be regenerated as long as dracut is the initrd generator.
|
||||
See `/usr/lib/kernel/install.d/51-dracut-rescue.install` for details.
|
||||
|
||||
[[sect-resolving-post-upgrade-issues]]
|
||||
== Resolving post-upgrade issues
|
||||
|
||||
|
|
Loading…
Reference in a new issue