Renumbering GPT partitions in Linux

Parted doesn’t provide an easy way to renumber your partitions after you delete one and fdisk doesn’t support GPT. Fortunately gdisk can do this relatively easily:

sudo gdisk /dev/sdc
p (print/show)
s (sort)
p (print/show)
w (write)
q (quit)

 

Leave a Reply

Your email address will not be published.


6 × = thirty six

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>