mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
Update install.sh
This commit is contained in:
parent
78823f9515
commit
c4e8d5c46d
1 changed files with 6 additions and 3 deletions
|
@ -69,15 +69,18 @@ sudo swapon $swapName
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
# 1. Create directory to mount partitions and subvolume
|
# 1. Create directory to mount partitions and subvolume
|
||||||
sudo mkdir /mnt/boot/
|
sudo mkdir /mnt/boot/
|
||||||
# sudo mkdir /mnt/home/
|
sudo mkdir /mnt/home/
|
||||||
|
|
||||||
# 2. Mount the subvolumes.
|
# 2. Mount the subvolumes.
|
||||||
sudo mount -o noatime,commit=120,compress=zstd:10,space_cache,subvol=@ $rootName /mnt
|
sudo mount -o noatime,commit=120,compress=zstd:10,space_cache,subvol=@ $rootName /mnt
|
||||||
# sudo mount -o noatime,commit=120,compress=zstd:10,space_cache,subvol=@home $rootName /mnt/home
|
sudo mount -o noatime,commit=120,compress=zstd:10,space_cache,subvol=@home $rootName /mnt/home
|
||||||
|
|
||||||
# 3. Mount the EFI partition.
|
# 3. Mount the EFI partition.
|
||||||
sudo mount $efiName /mnt/boot
|
sudo mount $efiName /mnt/boot
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue