Arch Linux installer script.
- Shell 100%
| ask | Upload files to 'ask' | |
| vars | Upload files to 'vars' | |
| README.md | Upload files to '' | |
ArchIn
ArchIn is a Arch Linux installer scripts, easy to customize, I hope.
There are 2 editions:
- ASK: It's a interactive script, it will ask you the installation details.
- VARS: Fill the variables in the script and run it.
Archin is still a beta.
Installation common steps:
- Backup your data !
- Download the last arch iso, flash it to a usb drive, boot it
- Login as root
- Clone the scripts from github
git clone https://codeberg.org/jackc/archin.git
cd archin/ask
OR
- Mount another drive
mkdir /ai
mount /dev/sdc1 /ai
cd /ai
- Make scripts executable if needed:
chmod -R 744 ai
ArchIn Ask installation:
- Make the partitions now or in the installer with cfdisk
- Note the partitions path in /dev for boot, system, swap. Data on these partitions will be deleted!
- Start the first part of the installer and follow the instrucions
./aisc1
- When finished remove the Arch iso and restart
- Login as root, connect to wifi if needed, and start the second part
./aisc2
- Restart. Review and delete the installer files in /root
ArchIn Vars installation:
- Make the partitions
- Note the partitions path in /dev for boot, system, swap. Data on these partitions will be deleted!
- Open aiva1 in a text editor and insert the script variables values, on top of the file.
- Copy and paste the variables from aiva1 to aiva2
- Comment the 'exit' command on top of the 3 script files.
- Start the first part of the installer
./aiva1
- When finished remove the Arch iso and restart
- Login as root, connect to wifi if needed, and start the second part
./aiva2
- Restart. Review and delete the installer files in /root
Autoupdate
A very basic auto update will execute pacman -Syyu && paccache -rk1 every 7 days if you install it. If the update fails, see the arch linux news, a manual fix may be needed. You can tweak the updater files: /etc/systemd/user/updArch.service , /etc/systemd/system/updArchS.service , /etc/systemd/user/updArch.timer , /etc/systemd/system/updArchS.timer
Warnings and limitations
- Backup your data before installing Linux !
- Xfce or Lxde (only) can be installed at the moment
- the installer won't connect to wifi. Do it manually. Internet is needed at part 2
- home partition and extra partitions won't be mounted. Edit the fstab later
- no encryption
- homed services are disabled by default. I you want to use it, comment the 'systemctl mask' commands in the second script.