Compare commits
No commits in common. "c400757febeeb4a86e892ba67baffb2d9ed5e60e" and "1c91698dbc133ed7df374f0b1b63595c33048ecd" have entirely different histories.
c400757feb
...
1c91698dbc
1 changed files with 16 additions and 16 deletions
32
install.uefi
32
install.uefi
|
@ -4,9 +4,9 @@
|
||||||
# Einfache Version #
|
# Einfache Version #
|
||||||
####################
|
####################
|
||||||
|
|
||||||
# processor micricode: amd-ucode|intel-ucode
|
# processor manufacturer: amd
|
||||||
MICROCODE="amd-ucode"
|
MICROCODE="amd-ucode"
|
||||||
# kernel: linux|linux-lts|linux-zen
|
# kernel: linux
|
||||||
KERNEL="linux"
|
KERNEL="linux"
|
||||||
# hostname: arch
|
# hostname: arch
|
||||||
HOSTNAME_NEW="arch"
|
HOSTNAME_NEW="arch"
|
||||||
|
@ -16,7 +16,7 @@ ROOTPASSWORD="testen"
|
||||||
USERNAME="eichehome"
|
USERNAME="eichehome"
|
||||||
# userpassword: testen
|
# userpassword: testen
|
||||||
USERPASSWORD="testen"
|
USERPASSWORD="testen"
|
||||||
# graphics card: amd|intel|nvidia
|
# graphics card: amd
|
||||||
GRAPHICS_CARD="amd"
|
GRAPHICS_CARD="amd"
|
||||||
# timezone: Europe/Berlin
|
# timezone: Europe/Berlin
|
||||||
TIMEZONE="Europe/Berlin"
|
TIMEZONE="Europe/Berlin"
|
||||||
|
@ -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 -i /mnt base linux-firmware vim git "${KERNEL}" "${MICROCODE}" #dracut
|
pacstrap /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 -i /mnt base-devel "${KERNEL}-header"
|
pacstrap /mnt base-devel "${KERNEL}-header"
|
||||||
pacstrap -i /mnt opendoas firewalld iptables-nft openssh bash-completion man-db man-pages reflector xdg-user-dirs
|
pacstrap /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 -i /mnt efibootmgr mtools dosfstools
|
pacstrap /mnt efibootmgr mtools dosfstools
|
||||||
|
|
||||||
if [[ "${GRAPHICS_CARD}" == "amd" ]]; then
|
if [[ ${GRAPHICS_CARD} == "amd"]]; then
|
||||||
pacstrap -i /mnt xf86-video-amdgpu
|
pacstrap /mnt xf86-video-amdgpu
|
||||||
elif [[ "${GRAPHICS_CARD}" == "nvidia" ]]; then
|
elif [[ ${GRAPHICS_CARD} == "nvidia"]]; then
|
||||||
pacstrap -i /mnt nvidia nvidia-utils nvidia-settings
|
pacstrap /mnt nvidia nvidia-utils nvidia-settings
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# GNOME installieren
|
# GNOME installieren
|
||||||
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
|
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
|
||||||
|
|
||||||
#################################################################
|
#################################################################
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -157,4 +157,4 @@ arch-chroot /mnt useradd -mG wheel "${USERNAME}"
|
||||||
arch-chroot /mnt chpasswd <<< "${USERNAME}:${USERPASSWORD}"
|
arch-chroot /mnt chpasswd <<< "${USERNAME}:${USERPASSWORD}"
|
||||||
#echo "${USERNAME}:${USERPASSWORD}" | chpasswd
|
#echo "${USERNAME}:${USERPASSWORD}" | chpasswd
|
||||||
|
|
||||||
exit 0
|
exit(0)
|
Loading…
Reference in a new issue