You are not logged in.

#1 2021-04-08 07:23:09

860lacov
Member
Registered: 2020-05-02
Posts: 189

Is this the proper way to move Arch to bigger disk?

I have Arch installed on SSD.

Btrfs

3 subvolumes:
@, @home, @cache

mountpionts:
/ /home /var/cache

I'm thinking about:
Formatting disk as btrfs
btrfs send | recieve snapshots of my subvolumes
edit fstab to match uuids of the new drive or mount new drive with prefered btrfs options, arch-chroot into the system and regenerate fstab.
Install grub on new drive

Should that be sufficient?

Offline

#2 2021-04-08 07:59:41

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 1,122
Website

Re: Is this the proper way to move Arch to bigger disk?

I don't know btrfs too well. The way I'd do it, that'll work on any unixoid filesystem would be to partition and format the new disk accordingly and then cp the mounted old file system tree to the mounted new one.

Offline

#3 2021-04-08 15:01:38

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 5,809
Website

Re: Is this the proper way to move Arch to bigger disk?

You may have to also regenerate the initramfs so that the autodetect hook can pick up the new hardware and add any required modules.

Offline

Board footer

Powered by FluxBB