public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] How to move ext4 partition
Date: Wed, 20 Sep 2023 22:16:47 +0100	[thread overview]
Message-ID: <20230920221647.5e3f00e7@digimed.co.uk> (raw)
In-Reply-To: <uefkdh$mk9$1@ciao.gmane.io>

[-- Attachment #1: Type: text/plain, Size: 774 bytes --]

On Wed, 20 Sep 2023 20:24:17 -0000 (UTC), Grant Edwards wrote:

> However, GParted apparently does. Can GParted move an ext4 filesystem
> to a destination location that overlaps its starting location?
> 
> 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, 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.


-- 
Neil Bothwick

He who laughs last thinks slowest!

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2023-09-20 21:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-20 20:24 [gentoo-user] How to move ext4 partition Grant Edwards
2023-09-20 21:16 ` Neil Bothwick [this message]
2023-09-20 21:28   ` [gentoo-user] " Grant Edwards
2023-09-20 21:57     ` Victor Ivanov
2023-09-20 22:12       ` Frank Steinmetzger
2023-09-20 23:03         ` Grant Edwards
2023-09-21  9:20         ` Victor Ivanov
2023-09-20 22:58       ` Grant Edwards
2023-09-21  9:32         ` Victor Ivanov
2023-09-21 20:23           ` Grant Edwards
2023-09-21 21:39             ` Jack
2023-09-21 22:17               ` Grant Edwards
2023-09-20 23:03     ` Neil Bothwick
2023-09-20 21:37   ` [gentoo-user] " Wol
2023-09-20 22:39     ` [gentoo-user] " Grant Edwards
2023-09-22  6:48       ` Wols Lists
2023-09-23 12:16         ` Håkon Alstadheim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230920221647.5e3f00e7@digimed.co.uk \
    --to=neil@digimed.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox