Anaconda crashes during partitioning with the error "TypeError: cannot concatenate 'str' and 'NoneType' objects", why ?

Solution Verified - Updated -

Issue

  • Anaconda crashes while installing the machine with the following partitioning details.
    zerombr
    clearpart --all --initlabel
    bootloader --driveorder=cciss/c0d0,sda

    part /boot  --size=250 --onbiosdisk=80
    part / --size=1 --grow --onbiosdisk=80
  • Anaconda crashes with an un-handled exception.
    self.handler.handlers[cmd](cmdArgs)
    File "/usr/lib/anaconda/kickstart.py", line 530, in doPartition
    if not hds.has_key(pd.disk) and hds.has_key('mapper/'+pd.disk):
    TypeError: cannot concatenate 'str' and 'NoneType' objects
    install exited abnormally [1/1]
    sending termination signals...done

Environment

  • Red Hat Enterprise Linux (RHEL) 5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content