If I use autoyast and xml file, without any partitions rules, will the existing partitions be safe ?
That is, will I be asked about partition scheme ? Or will partitions be erased automatically ?
Hi,
On 04/15/2014 03:09 PM, Dsant wrote:
If I use autoyast and xml file, without any partitions rules, will the existing partitions be safe ?
That is, will I be asked about partition scheme ? Or will partitions be erased automatically ?
Dunno what happens if you only leave the partition section out. YaST probably tries to install the system in unused disk space and use existing swap partitions.
If you want to be asked about partitions, that is, you want to get the YaST partition proposal screen, put a proposals section in the general section:
<general> ... <proposals config:type="list"> <proposal>partitions_proposal</proposal> </proposals> ... </general>
Cf. section 4.1 of the autoYaST manual (http://users.suse.com/%7Eug/autoyast_doc/configuration.html#CreateProfile.Ge...)
Best regards Robert
On Tue, Apr 15, 2014 at 03:09:21PM +0200, Dsant wrote:
That is, will I be asked about partition scheme ? Or will partitions be erased automatically ?
If you simply want to re-use partitions, use the <partitioning_advanced> bits.
Here's an example... <partitioning_advanced> <fstab> <!-- Read data from existing fstab, don't format filesystem on /local --> <use_existing_fstab config:type="boolean">true</use_existing_fstab> <!-- All partitions found in fstab wil be formatted and mounted by default unless we do the following to save them --> <partitions config:type="list"> <partition> <format config:type="boolean">true</format> <mount>/</mount> </partition> <partition> <format config:type="boolean">true</format> <mount>/var</mount> </partition> <partition> <format config:type="boolean">true</format> <mount>/boot</mount> </partition> </partitions> </fstab> </partitioning_advanced>
This one re-uses the existing partition map but does reformat /, /var, and /boot but leaves any other partitions (mostly we have a /local path we want to leave as is) and mounts them.
autoinstall@lists.opensuse.org