[opensuse-autoinstall] autoyast and partitions
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 ? -- : ` _..-=-=-=-.._.--. Dsant, from Lyon, France `-._ ___,..-'" -~~` __') forum@votreservice.com jgs `'"---'"`>>"'~~"~"~~>>'` =====================```========```======== -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
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/~ug/autoyast_doc/configuration.html#CreateProfile.Gene...) Best regards Robert -- Robert Klein UNIX Operations Max Planck-Institut für Polymerforschung Anschrift: Ackermannweg 10, 55218 Mainz -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
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. -- Mike Marion-Unix SysAdmin/Sr. Staff IT Engineer-http://www.qualcomm.com Grandpa: "Quick! We have to kill the boy!" Marge: "How'd you know he's a vampire?" Grandpa: "He's a vampire?!? Ahhh...." [runs away] ==> Simpsons -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org
participants (3)
-
Dsant
-
Mike Marion
-
Robert Klein