Compare commits
No commits in common. "4cf5dd5eff66b0b269921f6778b5a2279af9b490" and "6a4915d9105a712297c67a8b2510c32832cc9b64" have entirely different histories.
4cf5dd5eff
...
6a4915d910
2 changed files with 13 additions and 44 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 "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 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
|
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
|
||||||
|
|
||||||
#Power
|
#Power
|
||||||
pacman -S acpi acpi_call tlp
|
pacman -S acpi acpi_call tlp
|
||||||
|
@ -55,18 +55,14 @@ 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
|
||||||
echo "timeout 5" > /boot/loader/loader.conf
|
sed -i 's/#\(timeout\)\s[0-9]/\1 5/' /boot/loader/loader.conf
|
||||||
echo "console max" >> /boot/loader/loader.conf
|
sed -i 's/#\(console\)/\1/' /boot/loader/loader.conf
|
||||||
echo "default arch.conf" >> /boot/loader/loader.conf
|
sed -i 's/keep/max/' /boot/loader/loader.conf
|
||||||
#sed -i 's/#\(timeout\)\s[0-9]/\1 5/' /boot/loader/loader.conf
|
sed -i 's/\(default\s\).*/\1arch.conf/' /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
|
||||||
|
@ -76,34 +72,7 @@ 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 rootflags=subvol=@ rw" >> /boot/loader/entries/arch.conf
|
echo 'options root="LABEL=arch" 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
4
pre.sh
|
@ -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
|
mkfs.vfat /dev/vda1 -L arch
|
||||||
mkfs.btrfs /dev/vda2 -L arch
|
mkfs.btrfs /dev/vda2
|
||||||
mount /dev/vda2 /mnt
|
mount /dev/vda2 /mnt
|
||||||
cd /mnt
|
cd /mnt
|
||||||
btrfs subvolume create @
|
btrfs subvolume create @
|
||||||
|
|
Loading…
Reference in a new issue