Cannot restore a ReaR backup: ERROR: Partition number '' of partition is not a valid number

Solution Verified - Updated -

Issue

  • When using a GPT partition, trying to restore a ReaR backup may fail with the following error

    ERROR: Partition number '' of partition is not a valid number
    ERRO: Partition is numbered ''. More than 128 partition is not supported
    Aborting due to an error, check log for details 
    
  • When creating the ReaR rescue image (using rear mkrescue or rear mkbackup), the ReaR log file shows the following line

    sed: -e expression #1, char 12: unknown option to `s'
    

Environment

  • Red Hat Enterprise Linux 6 & 7
  • rear
  • GPT partitions

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.