Jump to: navigation, search

Tested on openSUSE

Recommended articles

This article is an example for writing SDB articles.


Your system won't boot and you have been told you need to regenerate your initrd via chroot.


This article describes several solutions:

with YaST2

Start YaST2, select ... Then click "Test", and if the test was successful, "Ok". Complete the configuration with "Finish".

on the command line

First, login as root. Alternatively, either execute sudo - first, or prepend sudo to each of the following commands:

mount /dev/<root-device-name> /mnt
mount -o bind /dev /mnt/dev
mount -o bind /run /mnt/run
mount -o bind /proc /mnt/proc
mount -o bind /sys /mnt/sys
chroot /mnt
mount -a
mount -o bind /sys/firmware/efi/efivars /mnt/sys/firmware/efi/efivars
dracut `` 5.3.18-150400.59.46-default

Be sure in the last above command to use the actual version of your kernel for which a new initrd is required. When done, Ctrl-D to exit chroot, then reboot to test your work.

See also

Related articles

External links