You are not logged in.
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?
Last edited by 860lacov (2021-11-16 12:20:03)
Offline
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.
macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }
Offline
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
Little update.
I did this:
btrfs send | recieve subvolumes
I did genfstab in arch-chroot and bootctl install (after proper partition mounting)
I have full disk encryption so I had to modify my bootloader entry (systemd boot).
System is working properly so it can be done
Offline