mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
Merge branch 'revert-122765f9' into 'main'
Revert "Update install.sh" See merge request ahoneybun/nyxi-installer!9
This commit is contained in:
commit
bda7ed2fe6
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 mkswap /dev/lvm/swap # swap partition
|
||||||
sudo mkfs.btrfs -L root /dev/lvm/root # /root partition
|
sudo mkfs.btrfs -L root /dev/lvm/root # /root partition
|
||||||
|
|
||||||
|
# 0. Mount the filesystems.
|
||||||
sudo swapon /dev/lvm/swap
|
sudo swapon /dev/lvm/swap
|
||||||
|
sudo mount /dev/lvm/root /mnt
|
||||||
|
|
||||||
# Create Subvolumes
|
# Create Subvolumes
|
||||||
sudo btrfs subvolume create /mnt/@
|
sudo btrfs subvolume create /mnt/@
|
||||||
sudo btrfs subvolume create /mnt/@home
|
sudo btrfs subvolume create /mnt/@home
|
||||||
|
|
||||||
|
# Unmount root
|
||||||
|
sudo umount /mnt
|
||||||
|
|
||||||
# Mount the subvolumes.
|
# Mount the subvolumes.
|
||||||
sudo mount -o noatime,commit=120,compress=zstd:10,subvol=@ /dev/lvm/root /mnt
|
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