Mailinglist Archive: opensuse-autoinstall (51 mails)
| < Previous | Next > |
Re: [opensuse-autoinstall] Automatic partitioning different from proposal
- From: Mike Marion <mmarion@xxxxxxxxxxxx>
- Date: Thu, 9 Jul 2009 17:08:31 -0700
- Message-id: <20090710000830.GA20198@xxxxxxxxxxxxxxxxxxxx>
On Thu, Jul 09, 2009 at 04:02:56PM -0700, Leonardo L. P. da Mata wrote:
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-autoinstall+help@xxxxxxxxxxxx
| < Previous | Next > |