I accidently created a partition, now I can't add any new ones behind cause of partition table structure.
Tried to move the (primary) partition to the end of the disk, but parted seems to not support xfs. Is there a trick or workaround available?
How can i convert a primary partition to a logical one?
[done] Move a partition with xfs
- damNageHack
- Posts: 663
- Joined: 24. Sep 2009, 17:07
[done] Move a partition with xfs
Last edited by damNageHack on 25. Jan 2010, 10:59, edited 1 time in total.

This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
Re: Move a partition with xfs
You need some additional software to make gparted support all kind of partitions. There's somewhere a menu where you can exactly look up that support (I don't remember the exact name though).
For xfs you need xfsprogs or similar. I couldn't shrink xfs though.
For xfs you need xfsprogs or similar. I couldn't shrink xfs though.
- damNageHack
- Posts: 663
- Joined: 24. Sep 2009, 17:07
Re: Move a partition with xfs
Shador wrote:For xfs you need xfsprogs or similar. I couldn't shrink xfs though.
That was not my question at all.gapan wrote:It's impossible to shrink xfs partitions, it's not supported.


But it is good to know here, anyway. Thanks.

This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
Re: Move a partition with xfs
It is if your moving involves shrinking.
The answer to:
The answer to:
is you can't.damNageHack wrote:How can i convert a primary partition to a logical one?
Re: Move a partition with xfs
I'm quite sure I did so already. I think, I had a primary partition free to create an extended one and moved a primary one into that extended one.gapan wrote:is you can't.damNageHack wrote:How can i convert a primary partition to a logical one?

Re: Move a partition with xfs
That's not converting. Cheater.Shador wrote:I'm quite sure I did so already. I think, I had a primary partition free to create an extended one and moved a primary one into that extended one.

Re: Move a partition with xfs
I expected you'd say this.gapan wrote:That's not converting. Cheater.Shador wrote:I'm quite sure I did so already. I think, I had a primary partition free to create an extended one and moved a primary one into that extended one.

- damNageHack
- Posts: 663
- Joined: 24. Sep 2009, 17:07
Re: Move a partition with xfs
I see no problem with increasing and shrinking of partitions.
Therefore I create a new partition, mount both partitions, old and new, and did
My problem is that I can not use the remaining free space of the disk cause there are already four partitions in the table (2x primary, 1x logical, 1x primary, in that order).
Therefore I create a new partition, mount both partitions, old and new, and did
. That is all and completely independent from both used filesystems.cp -a old/* new/
My problem is that I can not use the remaining free space of the disk cause there are already four partitions in the table (2x primary, 1x logical, 1x primary, in that order).

This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
Re: Move a partition with xfs
Yes, of course, that's a solution, but it's undesirable for bigger partitions as it requires copying all data first. shrinking would just have to shrink the partition and if necessary move some blocks.damNageHack wrote:I see no problem with increasing and shrinking of partitions.
Therefore I create a new partition, mount both partitions, old and new, and did. That is all and completely independent from both used filesystems.cp -a old/* new/
Can you post fdisk output instead of some list that doesn't tell which actual physical order lays behind your layout.damNageHack wrote:My problem is that I can not use the remaining free space of the disk cause there are already four partitions in the table (2x primary, 1x logical, 1x primary, in that order).
Last edited by Shador on 23. Jan 2010, 21:11, edited 1 time in total.