Compare commits

..

4 commits

2 changed files with 44 additions and 13 deletions

View file

@ -15,15 +15,15 @@ echo "::1 localhost" >> /etc/hosts
echo "127.0.1.1 arch.localedomain arch" >> /etc/hosts echo "127.0.1.1 arch.localedomain arch" >> /etc/hosts
echo root:test | chpasswd echo root:test | chpasswd
git clone https://aur.archlinux.org/paru-bin #git clone https://aur.archlinux.org/paru-bin
cd paru-bin #cd paru-bin
makepkg -si #makepkg -si
cd / #cd /
#AUR #AUR
pacman -S base-devel linux-headers linux-lts-headers pacman -S base-devel linux-headers linux-lts-headers
paru -S zramd #paru -S zramd
# bind = dnsutils (dig, etc.) # bind = dnsutils (dig, etc.)
pacman -S dialog reflector xdg-user-dirs xdg-utils inetutils bind bash-completion openssh rsync iptables-nft ipset firewalld lynx pacman -S dialog reflector xdg-user-dirs xdg-utils inetutils bind bash-completion openssh rsync iptables-nft ipset firewalld lynx
@ -31,7 +31,7 @@ pacman -S dialog reflector xdg-user-dirs xdg-utils inetutils bind bash-completio
pacman -S efibootmgr mtools dosfstools pacman -S efibootmgr mtools dosfstools
#pacman -S grub os-prober efibootmgr mtools dosfstools sof-firmware os-prober #pacman -S grub os-prober efibootmgr mtools dosfstools sof-firmware os-prober
pacman -S iwd plasma kde-applications sddm bluez bluez-utils cups hplip alsa-utils pipewire pipewire-docs pipewire-alsa pipewire-pulse pipewire-jack helvum pavucontrol pacman -S iwd plasma plasma-wayland-session kde-applications sddm bluez bluez-utils cups hplip alsa-utils pipewire pipewire-docs pipewire-alsa pipewire-pulse pipewire-jack helvum pavucontrol packagekit-qt5
#Power #Power
pacman -S acpi acpi_call tlp pacman -S acpi acpi_call tlp
@ -55,14 +55,18 @@ systemctl enable bluetooth
sed -i 's/MODULES=()/MODULES=(amdgpu)/' /etc/mkinitcpio.conf sed -i 's/MODULES=()/MODULES=(amdgpu)/' /etc/mkinitcpio.conf
mkinitcpio -p linux mkinitcpio -p linux
mkinitcpio -p linux-ltp
bootctl install bootctl install
# Bootloaderconfig # Bootloaderconfig
sed -i 's/#\(timeout\)\s[0-9]/\1 5/' /boot/loader/loader.conf echo "timeout 5" > /boot/loader/loader.conf
sed -i 's/#\(console\)/\1/' /boot/loader/loader.conf echo "console max" >> /boot/loader/loader.conf
sed -i 's/keep/max/' /boot/loader/loader.conf echo "default arch.conf" >> /boot/loader/loader.conf
sed -i 's/\(default\s\).*/\1arch.conf/' /boot/loader/loader.conf #sed -i 's/#\(timeout\)\s[0-9]/\1 5/' /boot/loader/loader.conf
#sed -i 's/#\(console\)/\1/' /boot/loader/loader.conf
#sed -i 's/keep/max/' /boot/loader/loader.conf
#sed -i 's/\(default\s\).*/\1arch.conf/' /boot/loader/loader.conf
# Entry Arch # Entry Arch
echo "title Arch Linux" >> /boot/loader/entries/arch.conf echo "title Arch Linux" >> /boot/loader/entries/arch.conf
@ -72,7 +76,34 @@ echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch.conf
# Intel # Intel
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch.conf # echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch.conf
echo "initrd /initramfs-linux.img" >> /boot/loader/entries/arch.conf echo "initrd /initramfs-linux.img" >> /boot/loader/entries/arch.conf
echo 'options root="LABEL=arch" rw' >> /boot/loader/entries/arch.conf echo "options root=LABEL=arch rootflags=subvol=@ rw" >> /boot/loader/entries/arch.conf
# Entry Arch LTS
echo "title Arch Linux LTS" >> /boot/loader/entries/arch-lts.conf
echo "linux /vmlinuz-linux-lts" >> /boot/loader/entries/arch-lts.conf
# AMD
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-lts.conf
# Intel
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-lts.conf
echo "initrd /initramfs-linux-lts.img" >> /boot/loader/entries/arch-lts.conf
echo "options root=LABEL=arch rootflags=subvol=@ rw" >> /boot/loader/entries/arch-lts.conf
# Entry Arch Fallback
echo "title Arch Linux Fallback" > /boot/loader/entries/arch-fallback.conf
echo "linux /vmlinuz-linux" >> /boot/loader/entries/arch-fallback.conf
# AMD
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-fallback.conf
# Intel
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-fallback.conf
echo "initrd /initramfs-linux-fallback.img" >> /boot/loader/entries/arch-fallback.conf
echo "options root=LABEL=arch rootflags=subvol=@" >> /boot/loader/entries/arch-fallback.conf
# Entry Arch LTS Fallback
echo "title Arch Linux LTS Fallback" > /boot/loader/entries/arch-fallback.conf
echo "linux /vmlinuz-linux-lts" >> /boot/loader/entries/arch-lts-fallback.conf
# AMD
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-lts-fallback.conf
# Intel
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-lts-fallback.conf
echo "initrd /initramfs-linux-lts-fallback.img" >> /boot/loader/entries/arch-lts-fallback.conf
echo "options root=LABEL=arch rootflags=subvol=@" >> /boot/loader/entries/arch-lts-fallback.conf
# Netzwerk # Netzwerk
# Ethernet # Ethernet

4
pre.sh
View file

@ -60,8 +60,8 @@ fdisk /dev/vda
# /dev/vda1 300M EFI # /dev/vda1 300M EFI
# /dev/vda2 Rest / # /dev/vda2 Rest /
mkfs.vfat /dev/vda1 -L arch mkfs.vfat /dev/vda1
mkfs.btrfs /dev/vda2 mkfs.btrfs /dev/vda2 -L arch
mount /dev/vda2 /mnt mount /dev/vda2 /mnt
cd /mnt cd /mnt
btrfs subvolume create @ btrfs subvolume create @