Results 1 to 2 of 2

Thread: Autoyast creates small Partitions

  1. #1

    Default Autoyast creates small Partitions

    Hello everyone.

    I am trying to install a SLES 10 with SP1 automatically by using an autoyast configuration file. I read the file from a floppy drive while installing SLES from DVD.

    Unfortunately autoyast fails to create the partitions the way I want it. In order to test autoyast, I created a VM with an 8.0 GB hard drive. I configured autoyast to create 4 partitions, each 2000 MB in size. (/, /home, swap and an empty space for drbd)

    When installing SLES with the autoyast file it creates the 4 partitions with 7.8 MB each!
    Please find my autoinstall configuration file, maybe you can point out my error.

    Thanks and Greetings
    Marcus

    Code:
    <?xml version="1.0"?>
    <!DOCTYPE profile>
    <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
      <partitioning config:type="list">
        <drive>
          <initialize config:type="boolean">true</initialize>
          <partitions config:type="list">
            <partition>
              <crypt>twofish256</crypt>
              <crypt_fs config:type="boolean">false</crypt_fs>
              <filesystem config:type="symbol">ext2</filesystem>
              <format config:type="boolean">true</format>
              <mount>/</mount>
              <partition_id config:type="integer">131</partition_id>
              <partition_nr config:type="integer">1</partition_nr>
              <partition_type>primary</partition_type>
              <resize config:type="boolean">false</resize>
              <size>2000</size>
            </partition>
            <partition>
              <crypt>twofish256</crypt>
              <crypt_fs config:type="boolean">false</crypt_fs>
              <filesystem config:type="symbol">ext2</filesystem>
              <format config:type="boolean">true</format>
              <mount>/home</mount>
              <partition_id config:type="integer">131</partition_id>
              <partition_nr config:type="integer">2</partition_nr>
              <partition_type>primary</partition_type>
              <resize config:type="boolean">false</resize>
              <size>2000</size>
            </partition>
            <partition>
              <crypt>twofish256</crypt>
              <crypt_fs config:type="boolean">false</crypt_fs>
              <filesystem config:type="symbol">swap</filesystem>
              <format config:type="boolean">true</format>
              <mount>swap</mount>
              <partition_id config:type="integer">130</partition_id>
              <partition_nr config:type="integer">3</partition_nr>
              <partition_type>primary</partition_type>
              <resize config:type="boolean">false</resize>
              <size>2000</size>
            </partition>
            <partition>
              <crypt>twofish256</crypt>
              <crypt_fs config:type="boolean">false</crypt_fs>
              <filesystem config:type="symbol">unknown</filesystem>
              <format config:type="boolean">false</format>
              <mount></mount>
              <partition_id config:type="integer">131</partition_id>
              <partition_nr config:type="integer">4</partition_nr>
              <partition_type>primary</partition_type>
              <resize config:type="boolean">false</resize>
              <size>2000</size>
            </partition>
          </partitions>
          <use>all</use>
        </drive>
      </partitioning>
    </profile>

  2. #2

    Default Re: Autoyast creates small Partitions

    Ah okay, I got it myself.
    I entered 2000 for the size, which seems to be for linux the command to use the cylinders 0 to 2000. Since the 8.0 GB hard drive only has around 1050 cylinders or so, my input was faulty. Thus the autoyast installation allocated one cylinder per partition: 7.8 MB.

    Instead of entering 2000 for the size value, I used 2000M which the autoyast installation interpreted correctly as 2000 MB, respectively 1.9 GB.

    In order to use the thread for further questions:
    Is it possible to create a personalized installation disc, containing the autoyast configuration file and customized installation packets? If so, could anyone give me a hint?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •