On 2023-09-20, Neil Bothwick <n...@digimed.co.uk> wrote: > On Wed, 20 Sep 2023 20:24:17 -0000 (UTC), Grant Edwards wrote: > >> For example, I have a 500GB partition containing an ext4 filesystem >> starting at sector 2048 (1MiB). I want to move that filesystem so that >> it starts at sector 3*2048 (3MiB). >> >> Can that be done in-place? >> >> Or should I just back up the filesystem to a second drive and start >> from scratch? > > Given that you'd want to backup before such an operation anyway,
It's a machine with very limited uses, so I'd probably only back up /etc and /root. Reinstalling probably wouldn't take too much longer than backing up and restoring /. > you may as well then restore from that backup. I'm sure it will be a > lot quicker than GParted's moving all the data around. That depends on how long it takes me to decide on tar vs. rsync and what the appropriate options are. After 40 years using Unix, you'd think I'd know that (or have it written down somewhere). :) That said, I think I will go with the backup, repartition, restore method. It's been many, many years since I used GParted, and I can probably have the whole job done from the command-line before I can figure out how the GParted GUI works.