Packetinstallation interaktiv gemacht wegen Konflikten und Syntax der If-Verzweigungen korrigiert.
This commit is contained in:
parent
5916a89fa7
commit
95d2ecfb7a
1 changed files with 12 additions and 12 deletions
24
install.uefi
24
install.uefi
|
@ -44,7 +44,7 @@ mount /dev/vda1 /mnt/boot
|
||||||
|
|
||||||
#ln -sf /run/systemd/resolve/stub-resolv.conf /mnt/etc/resolv.conf # tmpfiles.d macht das
|
#ln -sf /run/systemd/resolve/stub-resolv.conf /mnt/etc/resolv.conf # tmpfiles.d macht das
|
||||||
|
|
||||||
pacstrap /mnt base linux-firmware vim git "${KERNEL}" "${MICROCODE}" #dracut
|
pacstrap -i /mnt base linux-firmware vim git "${KERNEL}" "${MICROCODE}" #dracut
|
||||||
#arch-chroot /mnt
|
#arch-chroot /mnt
|
||||||
|
|
||||||
# ln -sf "/usr/share/zoneinfo/${TIMEZONE}" /etc/localtime -> L /etc/localtime - - - - "/usr/share/zoneinfo/${TIMEZONE}"
|
# ln -sf "/usr/share/zoneinfo/${TIMEZONE}" /etc/localtime -> L /etc/localtime - - - - "/usr/share/zoneinfo/${TIMEZONE}"
|
||||||
|
@ -75,20 +75,20 @@ EOF
|
||||||
arch-chroot /mnt chpasswd <<< "root:${ROOTPASSWORD}"
|
arch-chroot /mnt chpasswd <<< "root:${ROOTPASSWORD}"
|
||||||
#echo root:"${ROOTPASSWORD}" | chpasswd
|
#echo root:"${ROOTPASSWORD}" | chpasswd
|
||||||
|
|
||||||
pacstrap /mnt base-devel "${KERNEL}-header"
|
pacstrap -i /mnt base-devel "${KERNEL}-header"
|
||||||
pacstrap /mnt opendoas firewalld iptables-nft openssh bash-completion man-db man-pages reflector xdg-user-dirs
|
pacstrap -i /mnt opendoas firewalld iptables-nft openssh bash-completion man-db man-pages reflector xdg-user-dirs
|
||||||
#pacman -S iwd dialog reflector xdg-user-dirs xdg-utils inetutils ldns bash-completion openssh rsync iptables-nft ipset firewalld lynx man-db man-pages texinfo opendoas pacman-contrib rebuild-detector
|
#pacman -S iwd dialog reflector xdg-user-dirs xdg-utils inetutils ldns bash-completion openssh rsync iptables-nft ipset firewalld lynx man-db man-pages texinfo opendoas pacman-contrib rebuild-detector
|
||||||
|
|
||||||
pacstrap /mnt efibootmgr mtools dosfstools
|
pacstrap -i /mnt efibootmgr mtools dosfstools
|
||||||
|
|
||||||
if [[ ${GRAPHICS_CARD} == "amd"]]; then
|
if [[ "${GRAPHICS_CARD}" == "amd" ]]; then
|
||||||
pacstrap /mnt xf86-video-amdgpu
|
pacstrap -i /mnt xf86-video-amdgpu
|
||||||
elif [[ ${GRAPHICS_CARD} == "nvidia"]]; then
|
elif [[ "${GRAPHICS_CARD}" == "nvidia" ]]; then
|
||||||
pacstrap /mnt nvidia nvidia-utils nvidia-settings
|
pacstrap -i /mnt nvidia nvidia-utils nvidia-settings
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# GNOME installieren
|
# GNOME installieren
|
||||||
pacstrap /mnt gnome gnome-extras gdm avahi bluez bluez-utils pipewire pipewire-audio pipewire-alsa pipewire-pulse pipewire-jack pipewire-zeroconf pipewire-v4l2 pipewire-docs pipewire-roc helvum wireplumber gstreamer gst-plugin-pipewire gst-libav gst-plugins-good gst-plugins-base xdg-desktop-portal-gnome networkmanager modemmanager networkmanager-openconnect networkmanager-openvpn networkmanager-pptp networkmanager-vpnc power-profiles-daemon plymouth libreoffice-fresh-de
|
pacstrap -i /mnt gnome gnome-extras gdm avahi bluez bluez-utils pipewire pipewire-audio pipewire-alsa pipewire-pulse pipewire-jack pipewire-zeroconf pipewire-v4l2 pipewire-docs pipewire-roc helvum wireplumber gstreamer gst-plugin-pipewire gst-libav gst-plugins-good gst-plugins-base xdg-desktop-portal-gnome networkmanager modemmanager networkmanager-openconnect networkmanager-openvpn networkmanager-pptp networkmanager-vpnc power-profiles-daemon plymouth libreoffice-fresh-de
|
||||||
|
|
||||||
#################################################################
|
#################################################################
|
||||||
|
|
||||||
|
@ -125,11 +125,11 @@ arch-chroot /mnt systemctl enable gdm
|
||||||
arch-chroot /mnt systemctl enable avahi-daemon
|
arch-chroot /mnt systemctl enable avahi-daemon
|
||||||
arch-chroot /mnt systemctl enable bluetooth
|
arch-chroot /mnt systemctl enable bluetooth
|
||||||
|
|
||||||
if [[ ${GRAPHICS_CARD} == "amd" ]]; then
|
if [[ "${GRAPHICS_CARD}" == "amd" ]]; then
|
||||||
sed -i 's/MODULES=()/MODULES=(amdgpu)/' /mnt/etc/mkinitcpio.conf #AMD
|
sed -i 's/MODULES=()/MODULES=(amdgpu)/' /mnt/etc/mkinitcpio.conf #AMD
|
||||||
elif [[ ${GRAPHICS_CARD} == "intel" ]]; then
|
elif [[ "${GRAPHICS_CARD}" == "intel" ]]; then
|
||||||
sed -i 's/MODULES=()/MODULES=(i915)/' /mnt/etc/mkinitcpio.conf #Intel
|
sed -i 's/MODULES=()/MODULES=(i915)/' /mnt/etc/mkinitcpio.conf #Intel
|
||||||
elif [[ ${GRAPHICS_CARD} == "nvidia" ]]; then
|
elif [[ "${GRAPHICS_CARD}" == "nvidia" ]]; then
|
||||||
sed -i 's/MODULES=()/MODULES=(nvidia)/' /mnt/etc/mkinitcpio.conf #Nvidia
|
sed -i 's/MODULES=()/MODULES=(nvidia)/' /mnt/etc/mkinitcpio.conf #Nvidia
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue