I tried to make it work, doing a Ubuntu ISO chroot (I used Cubic software), I saw the part where the Btrfs subvolts are created and tried to modify them, obviously not having the skills in an advanced way, I'm not managed to make it work.
I ran it manually after installation:
mount -t btrfs -o options /dev/sda1 /mnt
btrfs subvol create /mnt/@swapfile
chattr +C /mnt/@swapfile
then I created the swapfile inside the subvol "@swapfile":
fallocate -l 512M /mnt/@swapfile/swapfile
chmod 600 /mnt/@swapfile/swapfile
chattr +C /mnt/@swapfile/swapfile
Then I edit fstab:
UUID=b383c3a8-39dd-4edd-98e1-0217a87d266a /swap btrfs defaults,subvol=@swap 0 0
/swap/swapfile none swap sw 0 0
Are these the files to make these changes?
/usr/lib/partman/mount.d/70btrfs
/usr/lib/partman/mount.d/70btrfs
/usr/lib/partman/finish.d
I tried to make it work, doing a Ubuntu ISO chroot (I used Cubic software), I saw the part where the Btrfs subvolts are created and tried to modify them, obviously not having the skills in an advanced way, I'm not managed to make it work.
I ran it manually after installation:
mount -t btrfs -o options /dev/sda1 /mnt
btrfs subvol create /mnt/@swapfile
chattr +C /mnt/@swapfile
then I created the swapfile inside the subvol "@swapfile": swapfile swapfile swapfile
fallocate -l 512M /mnt/@swapfile/
chmod 600 /mnt/@swapfile/
chattr +C /mnt/@swapfile/
Then I edit fstab: 39dd-4edd- 98e1-0217a87d26 6a /swap btrfs defaults, subvol= @swap 0 0
UUID=b383c3a8-
/swap/swapfile none swap sw 0 0
Are these the files to make these changes? partman/ mount.d/ 70btrfs partman/ mount.d/ 70btrfs partman/ finish. d
/usr/lib/
/usr/lib/
/usr/lib/