Skip to content

UberVeng/arch-qtile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arch-qtile

Full installation guide (UEFI)

Method with full disk encryption
Check internet connection and update clock
ping 8.8.8.8
timedatectl set-ntp true
Find the disk you want to partition (in this case it's sda)
fdisk -l
Patition the disk

#r# First partition should be 'Linux EFI, second = 'Linux filesystem', third - 'Linux LVM' or 'Linux filesysm' if you don't need lvm or encryption

fdisk /dev/sda

>> g

>> n
>>
>>
>> +300M

>> n
>>
>>
>> +1G

>> n
>>
>>
>>

>> t
>> 1
>> 1

>> t
>> 3
>> 30

>>p
>> w
set file systems for sda1 and sda2
mkfs.fat -F32 /dev/sda1
mkfs.ext2 /dev/sda2

Encryption (skip this step if you don't need to encrypt your disk)

Parameters defind by user:

crypt_disk - name for encrypted disk


cryptsetup -y --use-random luksFormat /dev/sda3
>> YES
>> password
>> password
cryptsetup open --type luks /dev/sda2 crypt_disk
Now you could see the name of the disk
lsblk

Setting up LVM (skip this step if you don't need LVM and enctyption)

Parameters defined by user:

vg - name for volume group

pvcreate /dev/mapper/crypt_disk
vgcreate vg /dev/mapper/crypt_disk
lvcreate -n swap -L 4G vg
lvcreate -n root -l 100%FREE vg
mkfs.ext4 /dev/vg/root
mkswap /dev/vg/swap
swapon /dev/vg/swap
mount /dev/vg/root /mnt
mkdir -p /mnt/boot
mount /dev/sda2 /mnt/boot
mkdir -p /mnt/boot/EFI
mount /dev/sda1 /mnt/boot/EFI
download some basic stuff
pacstrap -i /mnt base linux linux-firmware git vim lvm2 base-devel efibootmgr dosfstools os-prober
Fstab
genfstab -U /mnt >> /mnt/etc/fstab
Chroot
arch-chroot /mnt

2) Method with LVM

pvcreate /dev/sda3
vgcreate vg /dev/sda3
lvcreate -n root -l +100%FREE vg
mkfs.ext4 /dev/sda3
mkswap /dev/sda1
swapon /dev/sda1
mount /dev/vg/root /mnt

3) Method without encryption or LVM

Make a swap
mkswap /dev/sda1
swapon /dev/sda1
set file system of sda2
mkfs.ext4 /dev/sda2
Mount the file system
mount /dev/sda2 /mnt

Proceed after you setted up file system using one of 3 methods

download some basic stuff
pacstrap /mnt base linux linux-firmware git vim lvm2
Fstab
genfstab -U /mnt >> /mnt/etc/fstab
Chroot
arch-chroot /mnt
Clone repository
git clone https://github.com/UberVeng/arch-qtile
cd arch-qtile
Edit one of this files
vim install-bios.sh
vim install-uefi.sh 
Add permistion to execute
chmod +x install-bios.sh
chmod +x install-uefi.sh
Execute one of this
cd /
/arch-basic/install-bios.sh
/arch-basic/install-uefi.sh
lsblk -f

Copy UUID of sda2 (encrypted only)
vim /etc/default/grub

replace 'quiet' with:

GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 cryptdevice=UUID=*UUID GOES HERE*:luks:allow-discards"
cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
grub-mkconfig -o /boot/grub/grub.cfg
vim /etc/fstab
>> tmpfs    /tmp    tmpfs    defaults,noatime,mode=1777    0 0

Edit
vim /etc/mkinitcpio.conf
>> MODULES=(nouveau)
>> HOOKS=(base systemd autodetect modconf block encrypt lvm2 filesystems...)
mkinitcpio -p linux
Exit, unmount and reboot
exit
umount -a
reboot

Qtile

Login as root
root
password
Edit visudo file
pacman -S sudo
EDITOR=vim visudo
uber ALL=(ALL) ALL
exit
Change password
uber
password
passwd
Install qtile and other stuff
sudo pacman -S qtile xorg kitty nitrogen picom lightdm lightdm-gtk-greeter firefox pcmanfm lxappearance arc-gtk-theme arc-icon-theme
Enable lightdm on boot
sudo systemctl enable lightdm
Reboot
reboot

Move config files to your home diercory

mv /arch-qtile/ ~/Documents/
cd ~/Documents/arch-qtile/qtile/
cp autostart.sh config.py ~/.config/qtile/
cd ..
cp kitty/kitty.conf ~/.config/kitty/
cp picom/picom.conf ~/.config/picom
cd
cd Pictures
mkdir wallpapers
cd Documents/arch-qtile/wallpapers
cp chitoge-yellow-2.jpg
reboot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published