0
I need to move (shift) an ext4 partition on my disk in a headless Linux machine, like this:
Before:
[######### Partition #########][- Free space -]
After:
[- Free space -][######### Partition #########]
This task is straightforward when using GParted
, however any advices I've found for headless hosts consist of installing a VNC server and Gparted with all of its dependencies. I can not believe that there is no unix-way console tool for moving partitions around or a manual for doing the same with dd
or something similar. Any thoughts please?
@CristianCiupitu great, that's what I was looking for. Indeed, I should have asked at Superuser. Can you please post your comment as an answer so I could mark it accepted? – None – 2015-05-06T13:03:58.020
I'm glad that you found what you were looking for. Thank you for the intention of giving me some points, but there's no need for it, since I believe that this question belongs on Super User and voted accordingly (you can probably vote for this too since it's your own question). – Cristian Ciupitu – 2015-05-06T13:29:21.547