0

If I have a linux partition that I'd like to change the size of (either expand or shrink), how would I go about doing that without using a Live CD/USB stick or gparted (or something similar like lextend)? I'm particularly interested in how to change the size of a partition of a filesystem that I'm working from (i.e. booting in Mint and changing the partition size of the Mint partition).

I'd prefer to do all of the work from the terminal.

tk30
  • 1
  • 1
  • Have you tried gparted? – SDsolar Jun 19 '17 at 23:00
  • +1 for gparted, but if you must use the terminal here's a good [Q&A on using parted](https://askubuntu.com/questions/24027/how-can-i-resize-an-ext-root-partition-at-runtime) – pcdev Jun 20 '17 at 00:11
  • @SDSolar I'm aware of gparted and I'd like to not use it – tk30 Jun 20 '17 at 17:16
  • @pcdev oh awesome. Thanks. That's exactly the kind of thing I'm looking for. – tk30 Jun 20 '17 at 17:17
  • See my answers to [this question](https://superuser.com/questions/630411/why-is-it-not-possible-to-resize-move-mounted-non-logical-partitions-at-runtim) and to [this one.](https://superuser.com/questions/660309/live-resize-of-a-gpt-partition-on-linux) – Rod Smith Jun 20 '17 at 17:20

0 Answers0