Mailinglist Archive: opensuse-autoinstall (52 mails)

< Previous Next >
[suse-autoinstall] keeping partitions
  • From: Thomas Holzapfel <tom@xxxxxxxxxxxxxxxxxxx>
  • Date: Mon, 5 Dec 2005 12:29:52 +0000 (UTC)
  • Message-id: <439432BB.4030103@xxxxxxxxxxxxxxxxxxx>
Hi,
I'm using autoyast to install SuSE 10.0 on a set of systems. Keeping partitions seems to be a problem.

The partitiontable looks like

Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 4 32098+ 83 Linux
/dev/sda2 5 1279 10241437+ 7 HPFS/NTFS
/dev/sda3 1280 2554 10241437+ 7 HPFS/NTFS
/dev/sda4 2555 14593 96703267+ f W95 Ext'd (LBA)
/dev/sda5 2555 2558 32098+ 83 Linux
/dev/sda6 2559 3323 6144831 83 Linux
/dev/sda7 3324 4088 6144831 83 Linux
/dev/sda8 4089 4216 1028128+ 82 Linux swap
/dev/sda9 4217 8041 30724281 83 Linux
/dev/sda10 8042 13141 40965718+ 7 HPFS/NTFS
/dev/sda11 13142 14593 11663158+ c W95 FAT32 (LBA)

What I want to do is to keep all the partitions, just to format the boot- and root- partition of the new system (/dev/sda1 , /dev/sda6) and to set some mount points.

In a first attempt the relevant part of my config file was

<partitioning config:type="list">
<drive>
<device>/dev/sda</device>
<initialize config:type="boolean">false</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">false</create>
<format config:type="boolean">true</format>
<filesystem config:type="symbol">ext2</filesystem>
<partition_nr config:type="integer">1</partition_nr>
<mount>/boot</mount>
</partition>
<partition>
<create config:type="boolean">false</create>
<format config:type="boolean">false</format>
<filesystem config:type="symbol">ext2</filesystem>
<partition_nr config:type="integer">5</partition_nr>
<mount>/export/suse/9.3/boot</mount>
</partition>
<partition>
<create config:type="boolean">false</create>
<format config:type="boolean">true</format>
<filesystem config:type="symbol">reiser</filesystem>
<partition_nr config:type="integer">6</partition_nr>
<mount>/</mount>
</partition>
<partition>
<create config:type="boolean">false</create>
<format config:type="boolean">false</format>
<filesystem config:type="symbol">reiser</filesystem>
<partition_nr config:type="integer">7</partition_nr>
<mount>/export/suse/9.3/root</mount>
</partition>
<partition>
<create config:type="boolean">false</create>
<format config:type="boolean">false</format>
<filesystem config:type="symbol">reiser</filesystem>
<partition_nr config:type="integer">9</partition_nr>
<mount>/local</mount>
</partition>
<partition>
<create config:type="boolean">false</create>
<format config:type="boolean">false</format>
<filesystem config:type="symbol">fat</filesystem>
<partition_nr config:type="integer">11</partition_nr>
<mount>/transfer</mount>
</partition>
</partitions>
</drive>
</partitioning>

In the "Create partition plans" stage I got the error message "Error while configuring partitions. Try again."

After a series of try and error, nearly all works fine with the following modifications in the config file:

<partitioning config:type="list">
<drive>
<device>/dev/sda</device>
<initialize config:type="boolean">false</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<format config:type="boolean">true</format>
<filesystem config:type="symbol">ext2</filesystem>
<partition_nr config:type="integer">1</partition_nr>
<mount>/boot</mount>
</partition>
...
<!--
<partition>
<create config:type="boolean">false</create>
<format config:type="boolean">false</format>
<filesystem config:type="symbol">ext2</filesystem>
<partition_nr config:type="integer">5</partition_nr>
<mount>/export/suse/9.3/boot</mount>
</partition>
-->
...
</partitions>
</drive>
<use>1</use>
</partitioning>

Using the directive above to set the mount point of partition nr 5 results in the same error message "Error while configuring partitions. Try again."
Any ideas to fix that problem rather than setting the mount point manually?

Is it possible to prevent autoyast from setting the mount points
to ntfs-partitions?


-- thanks, Thomas Holzapfel Institut fuer Wasserbau und Wasserwirtschaft RWTH Aachen



< Previous Next >
Follow Ups