Compare commits
4 commits
6a4915d910
...
4cf5dd5eff
Author | SHA1 | Date | |
---|---|---|---|
4cf5dd5eff | |||
4312ce7da8 | |||
1ddd156cf5 | |||
073f8cb0a6 |
2 changed files with 44 additions and 13 deletions
53
install.sh
53
install.sh
|
@ -15,15 +15,15 @@ echo "::1 localhost" >> /etc/hosts
|
|||
echo "127.0.1.1 arch.localedomain arch" >> /etc/hosts
|
||||
echo root:test | chpasswd
|
||||
|
||||
git clone https://aur.archlinux.org/paru-bin
|
||||
cd paru-bin
|
||||
makepkg -si
|
||||
cd /
|
||||
#git clone https://aur.archlinux.org/paru-bin
|
||||
#cd paru-bin
|
||||
#makepkg -si
|
||||
#cd /
|
||||
|
||||
#AUR
|
||||
pacman -S base-devel linux-headers linux-lts-headers
|
||||
|
||||
paru -S zramd
|
||||
#paru -S zramd
|
||||
|
||||
# bind = dnsutils (dig, etc.)
|
||||
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 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
|
||||
pacman -S acpi acpi_call tlp
|
||||
|
@ -55,14 +55,18 @@ systemctl enable bluetooth
|
|||
sed -i 's/MODULES=()/MODULES=(amdgpu)/' /etc/mkinitcpio.conf
|
||||
|
||||
mkinitcpio -p linux
|
||||
mkinitcpio -p linux-ltp
|
||||
|
||||
bootctl install
|
||||
|
||||
# Bootloaderconfig
|
||||
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
|
||||
echo "timeout 5" > /boot/loader/loader.conf
|
||||
echo "console max" >> /boot/loader/loader.conf
|
||||
echo "default arch.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
|
||||
echo "title Arch Linux" >> /boot/loader/entries/arch.conf
|
||||
|
@ -72,7 +76,34 @@ echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch.conf
|
|||
# Intel
|
||||
# echo "initrd /intel-ucode.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
|
||||
# Ethernet
|
||||
|
|
4
pre.sh
4
pre.sh
|
@ -60,8 +60,8 @@ fdisk /dev/vda
|
|||
# /dev/vda1 300M EFI
|
||||
# /dev/vda2 Rest /
|
||||
|
||||
mkfs.vfat /dev/vda1 -L arch
|
||||
mkfs.btrfs /dev/vda2
|
||||
mkfs.vfat /dev/vda1
|
||||
mkfs.btrfs /dev/vda2 -L arch
|
||||
mount /dev/vda2 /mnt
|
||||
cd /mnt
|
||||
btrfs subvolume create @
|
||||
|
|
Loading…
Reference in a new issue