diff --git a/README.md b/README.md index fe9041b..d988028 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -pacman-key --init && pacman-key --populate archlinux && pacman -Sy git --noconfirm && git clone https://git.xkrs.ru/astraleuro/arch-install.git && cd arch-install +mount -t nfs -o nfsvers=4 192.168.11.105:/srv/pacman-cache /var/cache/pacman/pkg && pacman-key --init && pacman-key --populate archlinux && pacman -Sy git --noconfirm && git clone https://git.xkrs.ru/astraleuro/arch-install.git && cd arch-install mount -t nfs -o nfsvers=4 192.168.11.105:/srv/pacman-cache /var/cache/pacman/pkg diff --git a/final.sh b/final.sh index 4d4a94b..8a3798c 100755 --- a/final.sh +++ b/final.sh @@ -1,6 +1,14 @@ #!/bin/bash source .env +mount -o remount,size=4G /run/archiso/cowspace + +complele_install_script_generator() { + cat <<- 'SCRIPT_EOF' + #!/bin/bash + pacman -Syu nvidia-utils + SCRIPT_EOF +} # === DISKS PREPARE === disks_prepare() { @@ -67,7 +75,7 @@ install_system() { _DATA_PARTUUID=$(blkid -s PARTUUID -o value /dev/${_SYS_DEV}3) _HEADER_PARTUUID=$(blkid -s PARTUUID -o value /dev/${_HEADER_DEV}1) - pacstrap -c -K /mnt base base-devel linux linux-firmware btrfs-progs mdadm nano sof-firmware intel-ucode nvidia-utils iwd dhcpcd vim cryptsetup networkmanager openssh efibootmgr git ly + pacstrap -c -K /mnt base base-devel linux linux-firmware btrfs-progs mdadm nano sof-firmware intel-ucode iwd dhcpcd vim cryptsetup networkmanager openssh efibootmgr git ly genfstab -U /mnt >> /mnt/etc/fstab arch-chroot /mnt /bin/bash < /boot/loader/entries/arch.conf # Правим хуки - sed -i 's/^HOOKS=(.*/HOOKS=(base systemd autodetect microcode modconf kms keyboard keymap sd-vconsole block sd-encrypt filesystems fsck)/' /etc/mkinitcpio.conf + sed -i 's/^HOOKS=(.*/HOOKS=(base systemd autodetect microcode modconf kms keyboard sd-vconsole block sd-encrypt filesystems fsck)/' /etc/mkinitcpio.conf mkinitcpio -P @@ -114,4 +122,4 @@ echo "DONE! " #umount -R /mnt #cryptsetup close cryptroot #mdadm --stop /dev/md0 -reboot +#reboot