Update install.sh
This commit is contained in:
parent
06873b4449
commit
47997365a1
17
install.sh
17
install.sh
|
@ -206,14 +206,14 @@ echo "Mounting.." &&
|
|||
mount -o compress=zstd,subvol=@root /dev/mapper/main /mnt &&
|
||||
mkdir /mnt/home &&
|
||||
mount -o compress=zstd,subvol=@home /dev/mapper/main /mnt/home &&
|
||||
mkdir /mnt/.snapshots &&
|
||||
mount -o compress=zstd,subvol=@snapshots /dev/mapper/main /mnt/.snapshots &&
|
||||
#mkdir /mnt/.snapshots &&
|
||||
#mount -o compress=zstd,subvol=@snapshots /dev/mapper/main /mnt/.snapshots &&
|
||||
mkdir /mnt/boot &&
|
||||
mount /dev/$boot /mnt/boot &&
|
||||
echo "Mounting complete." &&
|
||||
echo
|
||||
|
||||
lsblk | grep "$dev"
|
||||
lsblk
|
||||
echo
|
||||
|
||||
# Updating mirrors using reflector.
|
||||
|
@ -223,6 +223,11 @@ reflector --verbose --latest 10 --country Germany --age 24 --protocol https --so
|
|||
echo "Done."
|
||||
echo
|
||||
|
||||
echo "Updating keyring.."
|
||||
pacman -Sy archlinux-keyring --noconfirm &&
|
||||
echo "Done."
|
||||
echo
|
||||
|
||||
# Installing base system.
|
||||
echo "Installing basic packages.."
|
||||
#pacstrap /mnt base base-devel firefox konsole linux linux-firmware linux-zen lvm2 networkmanager nano plasma-desktop sddm sddm-kcm &&
|
||||
|
@ -233,7 +238,7 @@ echo
|
|||
# Generating fstab.
|
||||
echo "Generating fstab."
|
||||
genfstab -Up /mnt > /mnt/etc/fstab &&
|
||||
echo "Installed fstab."
|
||||
echo "Done."
|
||||
echo
|
||||
|
||||
# Setting hostname.
|
||||
|
@ -279,8 +284,8 @@ echo
|
|||
# Editing mkinitcpio.conf.
|
||||
echo "Editing /etc/mkinitcpio.conf."
|
||||
echo
|
||||
sed -i '7s/.*/MODULES=(ext4)/' /mnt/etc/mkinitcpio.conf &&
|
||||
sed -i '52s/.*/HOOKS=(base udev autodetect modconf block keyboard keymap encrypt lvm2 filesystems fsck shutdown)/' /mnt/etc/mkinitcpio.conf &&
|
||||
#sed -i '7s/.*/MODULES=(ext4)/' /mnt/etc/mkinitcpio.conf &&
|
||||
sed -i '52s/.*/HOOKS=(base udev autodetect modconf block keyboard keymap encrypt filesystems fsck shutdown)/' /mnt/etc/mkinitcpio.conf &&
|
||||
echo "Done."
|
||||
echo
|
||||
|
||||
|
|
Loading…
Reference in New Issue