Re: Don't delete a partition, if it doesn't exist...create it.

Daniel Spannbauer <[email protected]> Wed, 23 Jul 2014 11:53:33 +0200
Newsgroups gmane.linux.suse.autoinstall
Message-ID <[email protected]>
Am 07/19/2014 11:00 AM, schrieb 686f6c6d:
> On Wed, Jun 25, 2014 at 3:42 PM, Daniel Spannbauer <[email protected]> wrote:
>> We want a partition on the system to store some settings in it which
>> should not be deleted at a new installation.
>>
>> If the partition is not there it should be created.
>> Doesn't matter if the partition is at the beginning or the end of the
>> harddisk.
> 
> Sorry, been meaning to answer for weeks. It is possible, hope you have
> found it yourself in the meantime…
> You can just set a partition to be kept with initialize=false for the
> drive (http://doc.opensuse.org/projects/autoyast/configuration.html#idm139795988123840)
> and create=false, format=false for the partition(s) in question
> (http://doc.opensuse.org/projects/autoyast/configuration.html#idm139795988095376).
> 
> We use it to keep our /scratch. If you want, I can give you the
> snippet of our live (12.3) profile next week.
> 


Hmmm,

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....

Regards

Daniel


-- 
Daniel Spannbauer                         Systemadministration
marco Systemanalyse und Entwicklung GmbH  Tel   +49 8333 9233-27 Fax -11
Rechbergstr. 4-6, D 87727 Babenhausen     Mobil +49 171 4033220
http://www.marco.de/                      Email [email protected]
Geschäftsführer Martin Reuter             HRB 171775 Amtsgericht München
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]