lsblksd*, vd*, nvme*
fdisk /dev/sd* delete previous, create sd*1 for
+300MiBand sd*2 for the rest of the sizeor you could do your usuals that are different from this
setting up swap partition if you're using SSD is not good for your SSD's health, use zramen instead
you could use cfdisk for interactive partitioning
Format partitions
mkfs.fat -F 32 /dev/sd*1 # assuming your boot partition is on the first partition of the disk
mkfs.btrfs /dev/sd*2 # assuming your main partitioning is somount the btrfs partition
mount /dev/sd*2 /mnt
cd /mntcreating subvolumes
btrfs su cr @root
btrfs su cr @homeoptional subvolumes
btrfs su cr @rootsnaps
btrfs su cr @homesnapsunmount the btrfs partition
cd
umount -R /mntremount btrfs subvolumes with options
mount -o ssd,noatime,autodefrag,compress=lzo,subvol=@ /dev/sd*2 /mnt
mkdir -p /mnt/home
mount -o ssd,noatime,autodefrag,compress=lzo,subvol=@home /dev/sd*2 /mnt/homemount the optional partitions by your way
mount the boot partition
mkdir -p /mnt/boot # /mnt/boot/efi if EFI
mount /dev/sd*1 /mnt/boot # mount it to ../efi if EFI