Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kostasereksonas/archrice
A shell script for installing a window manager-based graphical environment on Arch Linux
https://github.com/kostasereksonas/archrice
arch-linux archlinux automation bash bash-script configuration dwm linux rice suckless
Last synced: 2 months ago
JSON representation
A shell script for installing a window manager-based graphical environment on Arch Linux
- Host: GitHub
- URL: https://github.com/kostasereksonas/archrice
- Owner: KostasEreksonas
- License: gpl-3.0
- Created: 2022-08-16T11:20:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-19T06:20:55.000Z (4 months ago)
- Last Synced: 2024-09-19T10:53:27.836Z (4 months ago)
- Topics: arch-linux, archlinux, automation, bash, bash-script, configuration, dwm, linux, rice, suckless
- Language: Shell
- Homepage:
- Size: 92.9 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Archrice
Install Arch Linux and use the archrice configuration script to install programs and load configs.
Table of Contents
=================
* [Installation](#Installation)# Installation
1. Download Arch iso from https://archlinux.org/download/ .
2. Write Arch iso to usb drive:
- `dd if= of=/dev/ bs=4M status=progress conv=fdatasync`3. Reboot into Arch live usb.
4. Get name if network interface:
- `ip a`5. Connect to the internet:
- `iwctl station connect `6. Get name of the disk to install Arch to:
- `lsblk`7. Partition the disk:
- `fdisk /dev/`8. Partitions to create:
- /dev/1 - Boot partition, size: 500M
- /dev/2 - Swap partition, size: 8G
- /dev/3 - Home partiiton, size: rest of the drive9. Create filesystems:
- `mkfs.ext4 -T small /dev/1`
- `mkswap /dev/2`
- `swapon /dev/2`
- `mkfs.ext4 /dev/3`10. Mount filesystems:
- `mount /dev/3 /mnt`
- `mkdir /mnt/boot`
- `mount /dev/1 /mnt/boot`11. Install base system:
- `pacstrap -K /mnt base base-devel linux linux-firmware vim texinfo man-db man-pages`12. Generate fstab:
- `gensftab -U /mnt >> /mnt/etc/fstab`13. Chroot into the new environment:
- `arch-chroot /mnt`14. Set timezone:
- `ln -sf /usr/share/zoneinfo/Region/City /etc/localtime`
- `hwclock --systohc`15. Set localization:
- Run `vim /etc/locale.gen` and uncomment locale: en_US.UTF-8 UTF-8
- `locale-gen`
- `echo "LANG=en_US.UTF-8" | tee -a /etc/locale.conf`16. Set hostname:
- `echo "Arch" | tee -a /etc/hostname`17. Set root password:
- `passwd`18. Enable sudo for other users:
- `visudo`
- Uncomment line: `# %wheel ALL=(ALL:ALL) ALL`19. Install and configure bootloader and network manager:
- `pacman -S grub networkmanager`
- `grub-install --target=i386-pc /dev/`
- `grub-mkconfig -o /boot/grub/grub.cfg`
- `systemctl enable NetworkManager.service`20. Exit chrooted environment:
- `exit`21. Unmount partitions:
- `umount -R /mnt`22. Reboot:
- `reboot`23. Login to the new install and start wifi network:
- `nmcli device wifi connect password `24. Download configuration script:
- `curl -LJO https://raw.githubusercontent.com/KostasEreksonas/Archrice/main/archrice`25. Make the configuration script executable:
- `chmod +x archrice`26. Run the configuration script:
- `./archrice`