On 30/03/2023 11.40, Carlos E. R. wrote:
On 2023-03-30 11:34, Manfred Hollstein wrote:
On Thu, 30 Mar 2023, 11:28:57 +0200, Carlos E. R. wrote:
On 2023-03-30 11:16, Andreas Jaeger via openSUSE Factory wrote:
Carlos, why do you need to run mkinitrd yourself? Or do you need to update an RPM package?
RPM packages create the initrd automatically when needed, so a manual invocation should not be needed, I don't remember why I did the last time (last November), but did so. Probably because I did some configuration change.
For example, when adding/removing a filesystem in fstab that is read or something during boot (worst case, a separate /usr). Or when cloning a machine to a new machine. Or when replacing the hard disk. Others I now can't remember.
When kernel fails to boot; then boot a rescue system, mount failed system, chroot, mkinitrd.
Exactly! I just copied /usr/sbin/mkinitrd to /usr/local/sbin/mkinitrd on my systems... ;)
yeah, will do.
FTR, it will continue to be available on GitHub until the SUSE/059 branch: https://github.com/openSUSE/dracut/blob/SUSE/059/suse/mkinitrd-suse.sh