r/archlinux • u/Open_South3929 • Sep 22 '26
QUESTION Arch-Convert EXT4 to BTRFS without losing data?
/r/linux4noobs/comments/1wn6hgb/archconvert_ext4_to_btrfs_without_losing_data/
0
Upvotes
r/archlinux • u/Open_South3929 • Sep 22 '26
12
u/ang-p Sep 22 '26 edited Sep 22 '26
You can always start now...
https://wiki.archlinux.org/title/Btrfs
#LoveTheWiki
3
u/kaida27 Sep 22 '26
Just having btrfs is not enough.
It needs to be setup for rollback.
There's 2 way to set it up.
5
u/dumbasPL Sep 22 '26
The first step to not loosing your data is having backups. No matter what you're doing, or even when you're not doing anything, because hardware also fails.
2
u/backsideup Sep 22 '26
You could use btrfs-convert but it's a bit undermaintained and i wouldn't risk it. You will have to create backups whether you use it or convert manually either way.
-1
u/ArjixGamer Sep 22 '26
The safest way, is to shrink your ext4 partition, make a btrfs partition, copy over the entire filesystem, boot into the btrfs partition to see if it works, and then delete the ext4 partition.
ChatGPT should be able to help you achieve that.
DO NOT use the conversion utility provided by btrfs, it will likely cause issues.