How to Chroot in Rescue Mode
This document (7018126) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 11
Situation
Resolution
mount /dev/<device name> /mnt
cat /proc/partitions
lvdisplay
ls /mnt
for i in proc sys dev; do mount --rbind /$i /mnt/$i ; done
mount --rbind /proc /mnt/proc mount --rbind /sys /mnt/sys mount --rbind /dev /mnt/dev
chroot /mnt
mount -a
If the initrd has been damaged, this can be recreated with:
mkinitrd
Cause
There are several possible causes for that behavior.
Additional Information
When using multipath with lvm, you should start multipathd before using lvm. If you do not, lvm may not detect the physical volumes needed to mount filesystems due to the lvm filter.
Disclaimer
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:7018126
- Creation Date: 06-Oct-2016
- Modified Date:12-Aug-2022
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com