#Help moving and managing partitions

30 messages · Page 1 of 1 (latest)

stray harness
#

I recently moved my archlinux installation to a larger disk which i had no issues with, and now im trying to expand my partitions.
im currently using gparted which im having some problems with.
im trying to make the unallocated space be usable for both p2 and p3 which is what I need help with

little yarrow
#

extending p3 to unallocated should be no problem. Note sure about how to extend p2

#

I think you'd have to move p3 to the right

stray harness
#

yea i read that online, but I physically cant, like it doesnt let me

#

it only lets me expand and retract from the right

stray harness
little yarrow
#

is this from a live iso? Or from your arch?

stray harness
#

from my arch

midnight jolt
little yarrow
#

you need to boot into live iso

#

can't move it while you use it

midnight jolt
#

that yeah, moving needs the filesystem not be mounted

#

but shrinking and expanding does not depending on the filesystem

stray harness
#

alright ill reboot into a live iso

midnight jolt
#

honestly if you use btrfs, should stick with subvols instead of partitions unless you have a very specific reason

stray harness
#

im not really familiar with any of this

#

how do subvolumes work?

midnight jolt
#

they are essetially special folders in btrfs that is still part of the same partition/filesystem
that you can also mount with the subvol=/subvol/path mount option

little yarrow
#

you didn't have to separate / and /home, but it can still be useful. If your system breaks you can just install a new one on / and keep your home

midnight jolt
#
  ➜ findmnt -t btrfs -o TARGET,SOURCE /dev/nvme0n1p3
TARGET           SOURCE
/                /dev/nvme0n1p3[/@]
/var/log         /dev/nvme0n1p3[/@log]
/swap            /dev/nvme0n1p3[/@swap]
/home            /dev/nvme0n1p3[/@home]
/var/lib/flatpak /dev/nvme0n1p3[/@flatpak]
/.snapshots      /dev/nvme0n1p3[/@.snapshots]

for example

#

the /@ subvol is mounted to /
/@home to /home

all are still part of nvme0n1p3

little yarrow
#

what's the benefit of that?

stray harness
#

so basically an extension of the partition?

midnight jolt
#

btrfs snapshots are per subvolume
and for semi-seperation

little yarrow
midnight jolt
#

so if there weren't seperate subvols, you'd be uselessly snapshotting unneeded stuff

stray harness
#

how do i make a subvol for p2 then?

midnight jolt
#

btrfs subvol create

#

preferably you'd have these at the toplevel