Skip to content

kud04rk/ArchBaseInstall

Repository files navigation

ArchBase Install Script

This is a simple Arch install script with only one command to run and a few questions to ans.

This script is made with minimal install in mind. Less bloat.

After the script completes the neofetch results in just 130 mb of ram usage.

This script is made for imtermediate users.

Last tested on 25-september-2022

To install a Desktop environment Please visit https://github.com/kud04rk/OpenboxInstall.git.

Features

Ranking mirros Arch linux has many mirrors and ranking these is important. The script selects 6 mirrors based on the speed of the mirrors.
BTRFS File System
  • Features: - BTRFS File system allows for live snapshots. Learn More - It takes up less storage for those snapshots than ext4 - These snapshots can be booted from grub in case of errors.

Swap
  • A swap partition is created based on the requirement.

Why no swap file?

  • Swap partition is created rather than swap files becasue BTRFS does not play well with swap files and throws permission denied errors.
GPU Drivers The script auto detects the graphics card and installs drivers.

I have tested the code with Nvidia and Intel drivers .

AMD i have not tested but confident it would work.

Systems with intel integrated and AMD/Nvidia graphics

If the system has both intel integrated and a graphics card then both the drivers will be installed.

Note:

If there is no mux switch in the laptop to switch the graphics then this will cause problems during boot up and needs to figured out manually by setting the display to boot from intel graphics and not nvidia or amd graphics card.

Microcode Intel and amd microcode will be installed automatically
Bootloader the script installs grub boot loader by default and systemd boot loader caused me problems with graphics and btrfs.

How to use

Download the latest arch linux iso file and boot from it.

https://archlinux.org/download/

After boot run

pacman -Sy
pacman -S git

Clone the repository from the git

git clone https://github.com/kud04rk/ArchBaseInstall.git

Chnage the working directory into the folder

Check if the scripts have permissions to run. if not use chmod to give permissions.

Note

If you are not from india you have to modify the script to set keybord and time to your location. Modify this part of the script in 2_setup.sh

line number 36 to 44 in 2_setup.sh

Run the script crusedo.sh

./crusedo.sh

Answer few quesitons about the install and done.

Install the desktop envronment of your choice.

My recommendations are the end.



Known Inssues

Sometimes the system does not boot properly and goes into maintaince mode.

Solution:

  • Login using root in maintaince mode
  • run below command and get the efi boot partitions uuid(copy it)
blkid
  • nano into /etc/fstab and change the value for the boot partition which you copied

Also time might not be set properly. This can be set after the login into de

NOTE:

SYSTEMD BOOT DOESNT WORK.AMD GPU NOT TESTED Tested With only integrated gpu and nvidia gpu.

This script is used to install the base package of the linux system with btrfs file system.

CHANGE THE LANGUGE AND LOCALES BEFORE USING THE SCRIPT

After the install of the script you can continue with the installation of desktop environment or window manager.

Want to install Arch linux manually ?

Here is my guide https://github.com/kud04rk/ArchBaseInstall/blob/main/Manual%20install.txt

Struck somewhere.. here are a few fixes ..

https://github.com/kud04rk/ArchBaseInstall/blob/main/ArchInstall_Errors_Fixes.txt

Resource usage after installing

IMG_20220407_183611

Credits

Chris titus tech

https://github.com/ChrisTitusTech/ArchTitus.git

Install The below desktop enviroment if you please.

I have a Open Box script to install the GUI.

Preview

5_6188198762796549223

Credits for dotfiles and pictures

Harry

https://github.com/owl4ce

To use a desktop environment use the script in the below link.

https://github.com/kud04rk/KdeInstall.git