Skip to content

ethannij/Arch-Installer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WARNING

-Do NOT run install-x.sh on a system with an os already on it. This may irreversably damage your system.
-Install.sh is meant to be run from the arch live install cd

DISCLAIMER

-main.sh is meant to set up an arch linux vm on a linux host. This is not required to install arch linux using a script.
-install-x.sh will install arch linux to a virtual machine, or to a host.
-properly format your drive before starting installation. If a previous filetype is detected, installation will not continue.
-the install scripts will format and install onto /dev/sda by default, with a 512M efi partition, and the remainder as a linux filesystem on sda2. Adapt the script accordingly.
-Network connection is required before running install-x.sh.

Prerequisites

-A working virtualbox (you should be able to launch VMs with no problem)
-The arch linux installation ISO - available from the archlinux.org
-Virtualbox guest additions ISO
-Virtualbox extension pack
-Enough storage to install arch linux

Virtualbox instructions - LINUX ONLY

On host system, start virtualbox

Run main.sh script (through the terminall) ex. /bin/bash main.sh

follow the prompts

When specifying ISO locations, you must specify the entire path ex. /home/ethannij/Desktop/ArchInstallation/GuestAdditions.iso

Installation instructions - UNIVERSAL

-Before running the install-x.sh script. Ensure you have a wifi connection.

When the arch linux installation starts type the following in the commandline of the guest -
for EFI
curl -o- https://raw.githubusercontent.com/ethannij/Arch-Installer/master/install-efi.sh type | bash
for BIOS
curl -o- https://raw.githubusercontent.com/ethannij/Arch-Installer/master/install-bios.sh type | bash
When the installion is complete, make sure to set a root password, and create a user before rebooting the system.

If the username or password do not work upon boot, you may have to set it manually from the arch live cd

After Installation

if network does not work after the installation:

Upon system startup, type:
$ systemctl start NetworkManager.service and
$ systemctl enable NetworkManager.service

Notes

/etc/hostname is set to "host" by default.

/etc/hosts includes: 127.0.0.1 localhost ::1 localhost 127.0.1.1 host

Coming soon

-fix for errors caused by confirmation messages while formatting disks

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages