Skip to content

A set of scripts (bash) to fully automate the install of Arch Linux as a Desktop VM. The script's config can be changed for install types other then the default.

License

Notifications You must be signed in to change notification settings

bernie724/archi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

archi

Purpose

A personal set of scripts to fully automate the installation of Arch Linux as a complete Desktop System; currently only as a VM.

Note: This design is a format I am interested in setting up and testing. The script's config can be changed to your personal preferences [change archi.conf file] see optional.

I have nothing to do with Arch Linux or flatpak for that matter, this is for my personal use.

Make sure to read: https://wiki.archlinux.org/title/installation_guide

WARNING: Do not run these scripts anywhere but on a booted Arch Linux Install ISO [VM is Only Recommended]. These scripts will Obliterate any system with root access. These scripts are for testing and fun only!

Install

Boot the latest Arch Linux Install ISO on the system that will do a full and complete install. [VirutualBox Guest is the only install tested]

Arch Download: https://archlinux.org/download/

Global Mirror: http://mirror.rackspace.com/archlinux/iso/latest/

VirutalBox: https://www.virtualbox.org/wiki/Downloads

Two ways to get the archi.tgz file to the booted Arch Linux ISO

Method #1

From the Arch Linux booted ISO. ISO doesn't have git:

curl -s -L https://github.com/bernie724/archi/raw/main/archi/archi.tgz > archi.tgz
tar xzpf archi.tgz
cd archi/; ./arch0base.sh 
#This will have a final warning, and then start and complete the install without any further interaction
Method #2

Copy and unpack the archi.tgz (above) to a booted Arch Install ISO and run arch0base.sh

scp [email protected]:~/archi/archi.tgz .
tar xzpf archi.tgz
cd archi/; ./arch0base.sh
#This will have a final warning, and then start and complete the install without any further interaction

simplescp

Configuring the scripts (optional)

I would review and leave the settings for the first run, these scripts dont have a lot of conditional checks yet, the config file is archi/archi.conf and the install sets are located @ archi/forsys/sets

curl -s -L https://github.com/bernie724/archi/raw/main/archi/archi.tgz > archi.tgz
tar xzpf archi.tgz
cd archi/
vim archi.conf # or nano
./arch0base.sh

Install Overview

After configuring (or not the target is a virtual env) the archi.conf (as already explained) the install is one command with no interaction:

Step Script Info
1 arch0base.sh this is the install command, format/linux/core/sanity
2 arch0install.sh this is after arch-chroot, boot/arch/daemons/desktop/apps
conf archi.conf use this file to customize an install
When complete, the total system is installed, with all included flatpaks and a Desktop GUI (xfce4)

Finished Desktop

archiComplete archiOpen archiMinimized

still need aliens (aur), There is a script for that.

aliens

Stats

Resource Stat Desc
Mem 586MB Idle Desktop [xfce4]
/ 5.9G Full install
flatpak 10G 33 apps (47 with deps)
pacman - 56 installs (651 core/deps)
tasks/threads 75/135 Idle Desktop [xfce4]
tasks/kthreads 31/93 root Console
boot times 26s/48s console/xfce4 [vm 2x2 cpu/mem]
Script Start Finish Total
arch0base 11:42 11:44 2 min
arch0install 11:44 12:05 21 min
VM Host Info
Linux (Ubuntu 11.3.0-1ubuntu1~22.04) [kernel:5.19.0-35-generic]
Intel CPU [Sky Lake]: Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz*
laptop 8 logical CPUs (3.80GHz) and 16GB of RAM

archi running

archithreerun

If you use, test or try these scripts, thanks. Feedback, fixes, improvements, screenshots, whatnot would be nice, the discussion board should work.

archi is inspired from a.r.c.h.i.(e) from the tabletop rpg game Rifts 'Artificial Robot Cerebellum Housing Intellect (Experiment)'

About

A set of scripts (bash) to fully automate the install of Arch Linux as a Desktop VM. The script's config can be changed for install types other then the default.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages