If I use TeraByte OS Deployment Tool Suite and list HD 0, it shows all the partitions, but the partition ID is not in ascending order.
Instead of 01 02 03 04, it's 02 01 03 04.
I get the same result with Diskpart. Diskpart calls it Partition #.
David helped me with...
set part num
...last year. I had a computer that didn't support BIU. I can't recall using "entrynum". I thought it was oldID, newID.
I assume the entrynum is the GPT number (partition slot) in Reorder GPT. How do you find this number if you can't use BIU?
set part num hdnum partid entrynum
It works only for MBR and GPT drives (not for EMBR), and entrynum is the partid minus 1.
In fact, the partid is the entry slot plus 1.
I had a similar issues and the interface is a bit wierd in my opinion.
The third parameter isn't the ID, it's the num. Which is basicly the same thing however it's 0 based instead of 1.
So let's say you want to switch 1 and 2 you'd do the following:
// Since your working with single digits there is no need to use the hex notation
// First move 1 away
// Disk 0, partitionId 1 To partitionId 11
// As you can see for partitionId 11, I actually used num 10 (num = ID - 1)
set part num 0 1 10
// Now we move 2 to 1
// Disk 0, partitionId 2 To partitionId 1, I actually used num 0 (num = ID - 1)
set part num 0 2 0
// Now we move 11 to 2
// Keep in mind the temporary num 10 is ID 11
// Disk 0, partitionId 11 To partitionId 2, I actually used num 1 (num = ID - 1)
set part num 0 11 1
Hope this clarify it a bit. The TeraByte tools are a bit quirky but in my experience they work well in a consistant manner.