On Wed, Jul 23, 2014 at 11:53 AM, Daniel Spannbauer firstname.lastname@example.org wrote:
create=false only works if there was a partition before the installation.
but what if the Disk is brand-new? Or if the disk was partitioned with a different way? Then I have to wipe the complete disk to get my partitioning on that disk.
So, I have only to reformat my disk if the partitioning is not as I want it....
Ok, I misunderstood your initial mail. What you are trying to do isn't easily possible AFAIK.
1. The brand-new case is pretty simple. In that case, you don't have to worry about keeping the partition, you just create a complete layout. 2. The case where you have a known layout and just want to keep that one partition is our case, I have attached the relevant snippets of our profile. (You can even decide during install if /scratch should be kept; the machines get the profile snippets via rules.xml.) A similar case is the one where in your known partition layout you resize your existing partitions and then add your permanently-kept partition (I've never done it, but IIRC it's one of the examples in the docs). 3. The hard case is the whatever-existing layout. - I would assume this doesn't work automatically with non-interactive AutoYAST, because the partitioning is only easy to keep if the layout is already known (see attached files). - So if you only have one or a few existing layouts (f.e. they were all created from the same AutoYAST profile(s)) then you should be fine, this is the "easy" (it is a bit of work…) case #2 above. - If you have a large number of existing layouts, this becomes unmanageable and I would assume reinstalling them as case #1 would be easier. But I might be wrong, this is just how I would try to do it. Merging/streamlining/converging the different cases might be beneficial in the long run, if reinstalling and possible downtime is an option. - Another option might be to use the y2confirm boot parameter during AutoYAST install and then resize and add manually (or to do that from the installed system).