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 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.