My Favorites

Close

Please to see your favorites.

  • Bookmark
  • Email Document
  • Printer Friendly
  • Favorite
  • Rating:

Disk initialization does not work in AutoYaST

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

Environment


SUSE Linux Enterprise Server 10 SP1

Situation

You want to make an automated installation via AutoYaST and need to clean all existing partitions from the disk, because it contains e.g. windows partitions. Until SLES 10 SP1 you have used the option

<initialize config:type="boolean">true</initialize>

in AutoYaST, but this does not work anymore.

Resolution

This is a bug in AutoYaST. We are currently investigating this and will release an update soon.

As a workaround you can initialize the disk via a pre-install script.

If not already in your AutoYaST profile add a section

<scripts>
</scripts>

and in this section add the following

<pre-scripts config:type="list">
<script>
<filename>cleandisk.sh</filename>
<interpreter>shell</interpreter>
<source><![CDATA[
#!/bin/bash
parted -s <device>rm 1
parted -s <device>rm 2
parted -s <device>rm 3
parted -s <device>rm 4
]]></source>
</script>
</pre-scripts>
But be aware, when you do a semi automatic installation, where the user has to accept the configuration, the disk is initialized BEFORE the user gets asked !


Update:

This issue is fixed, please use

ftp://ftp.suse.com/pub/people/ug/autoyast/sles10sp1_root_fix_v0.4


to create a yast2-update structure and include it to your auto-install.

Change Log

2009-04-22      tami      initial version

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/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:3664970
  • Creation Date:14-SEP-07
  • Modified Date:27-APR-12
    • SUSESUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback

< Back to Support Search

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