[opensuse-autoinstall] Automatic partitioning different from proposal
Hello, i'm trying to do the automatic partitioning with autoyast, my system has in order: /boot 100M swap 1G /work 100G / 20G /home 80G i need to format all partitions except the /work, is that possible? I've read that "Repartitioning using only some of the existing partitions can be accomplished only if the region selected to be partitioned exists at the end of the device and only with neighboring partitions. This means that you cannot repartition a region which contains a partition that should not be touched in the middle. " http://www.suse.de/~ug/autoyast_doc/CreateProfile.Partitioning.html The /work partition should be moved for the begging or the the end of the disk, I'm right? Thanks. -- Leonardo Luiz Padovani da Mata barroca@gmail.com "May the force be with you, always" "Nerd Pride... eu tenho. Voce tem?" -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On Thu, Jul 09, 2009 at 04:02:56PM -0700, Leonardo L. P. da Mata wrote:
i need to format all partitions except the /work, is that possible?
If you just want to do the mkfs on them and not resize, that can be done.. I've done it. This is what I use to re-format all but a /local partition we use (this is the full xml pulled in via rules.xml): <?xml version="1.0"?> <!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> <partitioning_advanced> <fstab> <!-- Read data from existing fstab, don't format filesystem on /local/mnt or /local/scratch --> <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> <partition> <format config:type="boolean">false</format> <mount>/local</mount> </partition> </partitions> </fstab> </partitioning_advanced> </profile> -- Mike Marion-Unix SysAdmin/Staff IT Engineer-http://www.qualcomm.com _Colonel Slade_: "There is nothing like the sight of an amputated spirit. There is no prosthetic for that." - From _Scent of a Woman_ -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Friday 10 July 2009 Leonardo L. P. da Mata wrote:
/boot 100M swap 1G /work 100G / 20G /home 80G
i need to format all partitions except the /work, is that possible?
if you have an existing fstab on your root partition, you can use partitioning_advanced like suggested by Mike Marion. On openSUSE 11.2 just the existing fstab file is enough. On pre-openSUSE 11.2 releases you need a complete installed system. If you don't have that, you can achieve the same by <partition> <create config:type="boolean">false</create> <format config:type="boolean">true</format> <mount>/boot</mount> <partition_nr config:type="integer">1</partition_nr> </partition> ... <partition> <create config:type="boolean">false</create> <format config:type="boolean">false</format> <mount>/work</mount> <partition_nr config:type="integer">3</partition_nr> </partition> ... in the normal partitioning section. The partition_nr is important to be correct -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (3)
-
Leonardo L. P. da Mata
-
Mike Marion
-
Uwe Gansert