commit 9915a6752288b994fba7dc0c069d259df63425e6 Author: godot Date: Sun Dec 8 19:49:01 2024 +0100 first commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..3629cdf --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +Firstly + +Connect to the internet +`iwctl station wlan0 connect OpenWrt` + +Install git to downlad this (and other thinks you will need) +`pacman -Suyy git vim btrfs-progs` + + + + diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..b140a94 --- /dev/null +++ b/install.sh @@ -0,0 +1,96 @@ +#!/bin/bash + +# Partitioning +# - how to get a device name +# - how to format disk in cli +# - I will need +# - Boot partition 1G linux = BOOTPART +# - Swap partition 8G swap = SWAPPART +# - btrf partiton * linux = BTRFSPART + +# Making file systems +mkfs.ext4 BOOTPART +mkfs.btrfs BTRFSPART +mkswap SWAPPART + +# Creating btrfs subvolumes +mount BTRFSPART /mnt + +btrfs subvolume create /mnt/root +btrfs subvolume create /mnt/home + +umount /mnt + +# Mounting volumes +mount -o subvolume=root BTRFSPART /mnt + +mkdir /mnt/home +mount -o subvolume=home BTRFSPART /mnt/home + +mkdir /mnt/boot +mount BOOTPART /mnt/boot + +# Base install +pacstrap -K /mnt base base-devel linux linux-firmware git btrfs-progs grub grub-btrfs inotify-tools timeshift networkmanager ''' pipewire pipewire-alsa pipewire-pulse pipewire-jack wireplumber reflactor ''' openssh sudo + +# Gen fstab +genfstab -U /mnt >> /mnt/etc/fstab + +# Chroot +arch-chroot /mnt + +# Corect the time and zone info +ln -sf /usr/share/zoneinfo/Europe/Prague /etc/localtime +hhwclock --systohc + +# !TODO +# Gen locals +# Uncoment lines cs_CZ.UTF-8 a en_US.UTF-8 + ty dve pod nima +# What about to just paste my lines at the end of the file + +# !TODO +# Gen /etc/locale.conf > LANG=en_US.UTF-8 + +# !TODO +# /etc/hostname paste in a MACHINENAME + +# !TODO +# /etc/hosts +# echo 127.0.0.1 localhost > /etc/hosts +# echo ::1 localhost > /etc/hosts +# 127.0.0.1 MACHINENAME + +# !TODO passwd + +useradd -mG wheel godot +# passwd godot + +# !TODO +# EDITOR=vim visudo +# uncoment line with groupe wheel can use sudo + +# !TODO +# grub-install --target=i386-pc BTRFSPART +# grub-mkconfig -o /boot/grub/grub.cfg + +# !TODO +# systemctl enable NetworkManager + +# !TODO +# umount -R /mnt +# reboot + +# !TODO +# install yay +# sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si + +# !TODO +# thinks to add +# - install qtile and ly +# - install nvim +# - install firefox, betterbird, keepassxc +# - install alacritty +# - install Vencord +# - install membtest in grub +# - add arch-strike repo and install wireshark, nmap, netdiscover [https://archstrike.org/wiki/setup] +# -