mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Two new sections.
This commit is contained in:
parent
494f05f193
commit
488c4b511e
1 changed files with 9 additions and 1 deletions
10
easy-arch.sh
10
easy-arch.sh
|
|
@ -63,6 +63,7 @@ btrfs su cr /mnt/@swap
|
||||||
|
|
||||||
# Mounting the newly created subvolumes.
|
# Mounting the newly created subvolumes.
|
||||||
umount /mnt
|
umount /mnt
|
||||||
|
echo "Mounting the newly created subvolumes."
|
||||||
mount -o compress=zstd,subvol=@ $BTRFS /mnt
|
mount -o compress=zstd,subvol=@ $BTRFS /mnt
|
||||||
mkdir -p /mnt/{home,.snapshots,/var/log,swap,boot}
|
mkdir -p /mnt/{home,.snapshots,/var/log,swap,boot}
|
||||||
mount -o compress=zstd,subvol=@home $BTRFS /mnt/home
|
mount -o compress=zstd,subvol=@home $BTRFS /mnt/home
|
||||||
|
|
@ -70,4 +71,11 @@ mount -o compress=zstd,subvol=@snapshots $BTRFS /mnt/.snapshots
|
||||||
mount -o nodatacow,subvol=@var_log $BTRFS /mnt/var/log
|
mount -o nodatacow,subvol=@var_log $BTRFS /mnt/var/log
|
||||||
mount -o nodatacow,subvol=@swap $BTRFS /mnt/swap
|
mount -o nodatacow,subvol=@swap $BTRFS /mnt/swap
|
||||||
mount $ESP /mnt/boot
|
mount $ESP /mnt/boot
|
||||||
echo "Done."
|
|
||||||
|
# Pacstrap (setting up a base sytem onto the new root).
|
||||||
|
echo "Installing the base sytem."
|
||||||
|
pacstrap /mnt base linux linux-firmware btrfs-progs neovim networkmanager
|
||||||
|
|
||||||
|
# Fstab generation.
|
||||||
|
echo "Generating a new fstab."
|
||||||
|
genfstab -U /mnt >> /mnt/etc/fstab
|
||||||
Loading…
Add table
Add a link
Reference in a new issue