Auto installation with LVM on root fails
This document (3523475) is provided subject to the disclaimer at the end of this document.
Environment
Situation
Waiting for device /dev// to appear: ......... not found exiting to /bin/sh
$ _The issue is a bug in mkinitrd which fails to parse some output correctly. It only happens when the disc does not contain any partitions or LVM informations from a older/previous installation. If the disc has LVM partitions already that are to be removed during the new installation this bug does not appear. The issue has been reported to engineering.
Resolution
#!/bin/bash
# save a copy of the original mkinitrd
cp /mnt/sbin/mkinitrd /mnt/sbin/mkinitrd.orig
# now patch mkinitrd in place
sed -i -e 's/Minor: \$minor/Minor: \$minor\$/' /mnt/sbin/mkinitrd
exit 0
The following is an example of a portion of an autoyast.xml file that works around the issue.
Additional Information
mkinitrd -f lvm2
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:3523475
- Creation Date: 10-Aug-2007
- Modified Date:06-Mar-2021
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com