<h1 id="noprimarypartitionslotsavailable">No primary partition slots available</h1> <hr /> <h2 id="problem">Problem</h2> <p>While restoring an image-based backup as Azure VM you face the error message: “No primary partitions slots available”.</p> <p><img src="https://kb2.cloudberrylab.com/content/images/425cf928-fbf7-4925-98c0-b117bc0e5124.png" alt="" /></p> <hr /> <h2 id="cause">Cause</h2> <p><a href="img src="https://docs.microsoft.com/en-us/windows/desktop/fileio/basic-and-dynamic-disks#master-boot-record" alt="" /">Basic MBR disk</a> supports 4 primary partitions only.</p> <p><img src="/content/images/4f833fbc-b371-49f2-a531-da3369eb19ca.png" alt="" /></p> <hr /> <h2 id="suggestionsandresolution">Suggestions and Resolution</h2> <p>Split partitions onto several disks. If you have several physical disks in backup, you have to restore them separately. </p> <h3 id="step1restorebootpartitionsasazurevirtualmachinefirstfourpartitions">Step 1. Restore boot partitions as Azure Virtual Machine (First four partitions)</h3> <p>1.1 Click Restore to Azure VM to execute the Restore Wizard.</p> <p><img src="/content/images/3d715daf-b2ca-46d3-bb4b-3ccafdc6f6ac.png" alt="" /></p> <p>1.2 Click Next.</p> <p><img src="/content/images/18005085-48fe-4f2f-b376-10a849bc816f.png" alt="" /></p> <p>1.3 Select the storage where VMware Virtual Machine backup is located.</p> <p><img src="/content/images/ce2888b0-55b3-4e99-bb1e-7a7511764fd8.png" alt="" /></p> <p>1.4 Select "Run restore once" or "Save restore plan".</p> <p><img src="/content/images/7d03d2da-cf08-4378-8a28-adc379a98595.png" alt="" /></p> <p>1.5 Select <strong>Restore as Azure Virtual Machine</strong> on Azure Data Type page. Click <strong>Next</strong>.</p> <p><img src="/content/images/944cef60-73d1-416d-8292-a31c6741d320.png" alt="" /></p> <p>1.6 Specify Azure Virtual Machine Instance details. Click <strong>Next</strong>.</p> <p><img src="/content/images/019703a2-7c9a-4843-aa90-7a76a90ca395.png" alt="" /></p> <p>1.7 Select first four partitions. Click <strong>Next</strong>.</p> <div class="hint hint-info"><i class="el-icon-info"></i> <p>If you have several phisical disks in backup, you have to select partitions for boot disk (usually Disk 0).</p></div> <p><img src="/content/images/f3976bea-6c9f-424d-8b6f-48c2de740803.png" alt="" /></p> <p>1.8 Complete wizard and run restore plan.</p> <h3 id="step2restoredatapartitionsasazuredatadisk">Step 2. Restore data partitions as Azure Data Disk</h3> <p>2.1 Select <strong>Restore as Azure Data Disk</strong> on Azure Data Type page. Click <strong>Next</strong>.</p> <p><img src="/content/images/cd4e0d83-5e64-423e-93b3-e2408b6eaa74.png" alt="" /></p> <p>2.2 Specify Azure Data Disk details. Click <strong>Next</strong>.</p> <p><img src="/content/images/ceeeee3a-7983-4aaf-9046-10476273355d.png" alt="" /></p> <p>2.3 Select the rest of partitons which were not restored at "Restore as Azure Virtual Machine" step. </p> <div class="hint hint-info"><i class="el-icon-info"></i> <p>If there are more than 4 partitions left, you have to select four partitions, complete restore and repeat Step 2 for the rest.</p></div> <p><img src="/content/images/9603200c-0f60-4890-98a9-b305f10cbb03.png" alt="" /></p> <p>2.4 Complete wizard and run restore plan.</p>