Kickstart installation fails with an error message "ArithmeticError: Could not align to closest sector"

Solution Verified - Updated -

Issue

  • Installing Red Hat Enterprise Linux 6.4 using kickstart profile.
  • Installation halts with the following error message.
10:02:27,159 CRITICAL: anaconda 13.21.195 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.6/site-packages/parted/alignment.py", line 102, in alignNearest
    return self.__alignment.align_nearest(geom.getPedGeometry(), sector)
  File "/usr/lib64/python2.6/site-packages/parted/decorators.py", line 31, in localeC
    ret = fn(*args, **kwds)
  File "<string>", line 2, in alignNearest
  File "/usr/lib/anaconda/storage/partitioning.py", line 804, in addPartition
    end = disklabel.endAlignment.alignNearest(free, end)
  File "/usr/lib/anaconda/storage/partitioning.py", line 1124, in allocatePartitions
    _part.req_size)
  File "/usr/lib/anaconda/storage/partitioning.py", line 953, in doPartitioning
    allocatePartitions(storage, disks, partitions, free)
  File "/usr/lib/anaconda/storage/partitioning.py", line 250, in doAutoPartition
    exclusiveDisks=anaconda.id.storage.clearPartDisks)
  File "/usr/lib/anaconda/dispatch.py", line 210, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/dispatch.py", line 233, in currentStep
    self.gotoNext()
  File "/usr/lib/anaconda/text.py", line 602, in run
    (step, instance) = anaconda.dispatch.currentStep()
  File "/usr/bin/anaconda", line 1132, in <module>
    anaconda.intf.run(anaconda)
ArithmeticError: Could not align to closest sector
  • We are facing partitioning issues while installation through kickstart.

Environment

  • Red Hat Enterprise Linux 6.4
  • Kickstart Installation

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.