Move to new drive with BTRFS

Hi hope this is the right sub, I did not find a better fit.

What do I want to do?
I am using Manjaro KDE on a laptop. My current SATA-SSD is quite exhausted and I do have a spare m.2 slot that supports nvme. Since I use Timeshift I figured I try BTRFS with the nice boot from snapshot capability in grub. This way I get the needed bigger space (bigger drive) and I can use it more efficiently (no snapshot partition).

This is my partition scheme:

sda           8:0    0 465,8G  0 disk 
├─sda1        8:1    0   512M  0 part /boot/efi
├─sda2        8:2    0  78,1G  0 part snapshots
├─sda3        8:3    0  22,3G  0 part [SWAP]
├─sda4        8:4    0 296,5G  0 part /home
└─sda5        8:5    0  68,4G  0 part /

The order is messed up, which is also a thing I want to fix with this endeavor.

What is the plan?

  1. Install Manjaro KDE on the new drive
  2. Move the the current Manjaro installation to the new drive
  3. Remove the old Manjaro installation from grub
  4. Format the old drive and use it as storage

What did I do so far?
I managed to install Manjaro on the new drive, here is the partitioning scheme:

nvme0n1     259:0    0 931,5G  0 disk 
├─nvme0n1p1 259:1    0   300M  0 part 
├─nvme0n1p2 259:2    0 914,3G  0 part 
└─nvme0n1p3 259:3    0  16,9G  0 part 

Moving the old / and /home to the nvme seams wrong, because it will overwrite the fstab (and probably other files I dont know about) and will make it unusable. What is the best way to accomplish goal nr 2? the solution i found are always ext to ext.

Check Arch Wiki for btrf send-receive feature.

I did it looks like a btrfs to btrfs operation to me. Is the proposed plan even feasible, or is there a better way to do this?

You can find good Information about Btrfs in the wiki

search for:

Move a volume

1 Like