mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
parent
122765f95a
commit
42483ab941
1 changed files with 5 additions and 0 deletions
|
@ -80,12 +80,17 @@ sudo cryptsetup config $rootName --label luks
|
|||
sudo mkswap /dev/lvm/swap # swap partition
|
||||
sudo mkfs.btrfs -L root /dev/lvm/root # /root partition
|
||||
|
||||
# 0. Mount the filesystems.
|
||||
sudo swapon /dev/lvm/swap
|
||||
sudo mount /dev/lvm/root /mnt
|
||||
|
||||
# Create Subvolumes
|
||||
sudo btrfs subvolume create /mnt/@
|
||||
sudo btrfs subvolume create /mnt/@home
|
||||
|
||||
# Unmount root
|
||||
sudo umount /mnt
|
||||
|
||||
# Mount the subvolumes.
|
||||
sudo mount -o noatime,commit=120,compress=zstd:10,subvol=@ /dev/lvm/root /mnt
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue