Virtual guest install fails with 'File contains no section headers' error

Solution Verified - Updated -

Issue

  • The virt-install command line utility fails with the following error:
    • virt-install --location=http://192.168.1.1/ks/cfg/org/1/label/rhel5-x86_64-server [...]
      ERROR    File contains no section headers.
      file: /var/tmp/virtinst-.treeinfo.jIpalp, line: 5
      'install\n' 
      
  • Using virt-manager to install a guest fails with the following error:
    • Unable to complete install: 'File contains no section headers.
      file: /var/lib/libvirt/boot/virtinst-.treeinfo.WV23ds, line: 5
      'install\n''
      [...]
      MissingSectionHeaderError: File contains no section headers.
      file: /var/lib/libvirt/boot/virtinst-.treeinfo.WV23ds, line: 5
      'install\n'
      

Environment

  • Red Hat Enterprise Linux

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