How to setup a chroot environment using the rescue system in order to re-create the initrd
This document (7018376) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Desktop 12
This document will outline the steps needed to perform the necessary tasks on SLES 12 or SLES 15 based systems.
For SLES 10 and 11 systems review TID#3134230 How to access LVM partitions when system is booted with rescue CD
mount /dev/rootdev /mnt# Use the relevant devicename for the system.
mount /dev/bootdev /mnt
mount /dev/var /mnt/var
mount -o bind /proc /mnt/proc
mount -o bind /sys /mnt/sys
mount -o bind /dev /mnt/dev
mount -o bind /run /mnt/run
14. Unmount everything in mnt:
15. Unmount mnt:
16. Reboot the system:
Typically, a driver or module is missing in the initrd and a new initrd needs to be created with the mkinitrd command.
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7018376
- Creation Date: 09-Dec-2016
- Modified Date:04-Feb-2021
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: firstname.lastname@example.org