Auto installation with LVM on root fails

This document (3523475) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 10 SP1


You try install a System with autoyast, but during the first system boot (YaST stage 2) the boot fails with following message:
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.


To workaround this issue you can include a special script into your autoyast.xml file.The script must be chrootand the chrooted option as to be false (for more information refer to the autoinstall documentation). It fixes the mkinitrd bug during installation.

# 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

NOTE: You may need to run mkinitrd as follows in addition to the workaround:

mkinitrd -f lvm2


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

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center