[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Follow-up on last IRC meeting (ie: 12 Aug 2020)



>>>>> On Fri, 14 Aug 2020 09:45:43 +0200, Bastian Blank <waldi@debian.org> said:

    > Yes.  GPT got a copy of it's header at the beginning and the end.  You
    > can expand the whole thing and the tools will relocate the header on the
    > end correctly, but you can't shorten it.
One approach might be to delete the partion and recreate it (with the
same UUID). This is described here
https://superuser.com/questions/660309/live-resize-of-a-gpt-partition-on-linux

Search for this:
sgdisk -d 1 -n 1:2048:0 -c 1: -u 1:E485F29F-A1F4-4953-9DD8-799EAEA0119B -t 1:0700 /dev/xvda

If we have the partition uuid and the start sector, we can recreate
the partition and both the GPT should be clean.
-- 
regards Thomas


Reply to: