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 #
|
||||
####################
|
||||
|
||||
# processor micricode: amd-ucode|intel-ucode
|
||||
# processor manufacturer: amd
|
||||
MICROCODE="amd-ucode"
|
||||
# kernel: linux|linux-lts|linux-zen
|
||||
# kernel: linux
|
||||
KERNEL="linux"
|
||||
# hostname: arch
|
||||
HOSTNAME_NEW="arch"
|
||||
|
@ -16,7 +16,7 @@ ROOTPASSWORD="testen"
|
|||
USERNAME="eichehome"
|
||||
# userpassword: testen
|
||||
USERPASSWORD="testen"
|
||||
# graphics card: amd|intel|nvidia
|
||||
# graphics card: amd
|
||||
GRAPHICS_CARD="amd"
|
||||
# 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
|
||||
|
||||
pacstrap -i /mnt base linux-firmware vim git "${KERNEL}" "${MICROCODE}" #dracut
|
||||
pacstrap /mnt base linux-firmware vim git "${KERNEL}" "${MICROCODE}" #dracut
|
||||
#arch-chroot /mnt
|
||||
|
||||
# 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}"
|
||||
#echo root:"${ROOTPASSWORD}" | chpasswd
|
||||
|
||||
pacstrap -i /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 base-devel "${KERNEL}-header"
|
||||
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
|
||||
|
||||
pacstrap -i /mnt efibootmgr mtools dosfstools
|
||||
pacstrap /mnt efibootmgr mtools dosfstools
|
||||
|
||||
if [[ "${GRAPHICS_CARD}" == "amd" ]]; then
|
||||
pacstrap -i /mnt xf86-video-amdgpu
|
||||
elif [[ "${GRAPHICS_CARD}" == "nvidia" ]]; then
|
||||
pacstrap -i /mnt nvidia nvidia-utils nvidia-settings
|
||||
if [[ ${GRAPHICS_CARD} == "amd"]]; then
|
||||
pacstrap /mnt xf86-video-amdgpu
|
||||
elif [[ ${GRAPHICS_CARD} == "nvidia"]]; then
|
||||
pacstrap /mnt nvidia nvidia-utils nvidia-settings
|
||||
fi
|
||||
|
||||
# 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 bluetooth
|
||||
|
||||
if [[ "${GRAPHICS_CARD}" == "amd" ]]; then
|
||||
if [[ ${GRAPHICS_CARD} == "amd" ]]; then
|
||||
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
|
||||
elif [[ "${GRAPHICS_CARD}" == "nvidia" ]]; then
|
||||
elif [[ ${GRAPHICS_CARD} == "nvidia" ]]; then
|
||||
sed -i 's/MODULES=()/MODULES=(nvidia)/' /mnt/etc/mkinitcpio.conf #Nvidia
|
||||
fi
|
||||
|
||||
|
@ -157,4 +157,4 @@ arch-chroot /mnt useradd -mG wheel "${USERNAME}"
|
|||
arch-chroot /mnt chpasswd <<< "${USERNAME}:${USERPASSWORD}"
|
||||
#echo "${USERNAME}:${USERPASSWORD}" | chpasswd
|
||||
|
||||
exit 0
|
||||
exit(0)
|
Loading…
Reference in a new issue