Skip to content

A minimal arch installer

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

JustScott/MiniArch

Repository files navigation

MiniArch

A Minimal x86_64 Arch Linux Installer

WARNING

Dual booting with existing operating systems IS NOT supported and existing boot entries will more than likely be deleted from your boot partition. However, after installing Arch you can use another distros installer to use the boot partition created by MiniArch.

I hope to add this ability in the future.

Steps to take before running the install script

MiniArch can only operate on empty diskspace, as in, you must first make space on your disk with something like cfdisk before running start_install.sh otherwise it won't be recognized.

# Connect to a network
#
#  You can find your Wifi Adapter name
#  via the `ip address` command, 
#  probably named "wlan0" or something
#  close to that 
#
wpa_passphrase <Network SSID> <Network Password> | tee /etc/wpa_supplicant.conf
wpa_supplicant -Bc /etc/wpa_supplicant.conf -i <Wifi Adapter>


pacman-key --init
pacman-key --populate
pacman -Sy --noconfirm git
# -- -- # 
# Only run the pacman commands below if you experience key errors
#  with the above pacman command
umount /etc/pacman.d/gnupg
rm -rf /etc/pacman.d/gnupg
pacman-key --init
pacman-key --populate
pacman -Sy archlinux-keyring git --noconfirm
# -- -- #

# Clone this repo
git clone https://www.github.com/JustScott/MiniArch.git

# Run the install script
bash MiniArch/start_install.sh

Development

Testing is done in Virtual Machines to simulate a real environment. If you're using QEMU for virtualization, you can cd into the tests directory and run make test to automatically create a fresh Virtual Machine for testing.

Troubleshooting post installation issues (not related to MiniArch)

UEFI System unable to find newly created boot partition

Sometimes motherboard creators only allow booting from partition with the label "Windows Boot Partition"

# `-l` as in 'Lima' (some fonts make it hard to differentiate between 
#   uppercase I and lowercase l)
sudo efibootmgr -c -L "Windows Boot Manager" -l "\EFI\arch\grubx64.efi"

About

A minimal arch installer

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published