Arch Linux

From PrgmrWiki
Revision as of 21:14, 13 May 2018 by Nickbp (talk | contribs) (Clean up link formatting -- no changes to actual content (yet))

The purpose of this document is to provide the minimum necessary information to get Arch up and reasonably secure.

It should be noted the Arch wiki has a page devoted to installing Arch Linux from within an existing Linux. If you are interested in a more thorough approach, the scripts and the link below will allow you a more sophisticated understanding of what you are doing. It may be noted that this document does not reference this particular wiki page.

Accessing the Management Console

If you're not familiar with accessing the management console, please see Management Console

Boot a Rescue Image

Shut down your machine if it is running. Then in the management console select

    2. create/start, opens OOB console (try this if the machine is not running)

This will bring up a menu resembling:

    GNU GRUB  version 0.97  (131072K lower / 0K upper memory)

 +-------------------------------------------------------------------------+
 | user bootloader configuration                                           |  
 | Debian GNU/Linux, kernel 3.2.0-4-amd64 Live Rescue                      |
 | Debian GNU/Linux, kernel 3.2.0-4-amd64 (single-user mode) Live Rescue   |
 | ubuntu-trusty-14.04-64 rescue                                           |
 | ubuntu-trusty-14.04-64 install                                          |
 | centos5-64 rescue                                                       |
 | centos5-64 install                                                      |
 | debian-wheezy-7.0-64 rescue                                             |
 | debian-wheezy-7.0-64 install                                            |
 | fedora20-64 rescue                                                      |
 | fedora20-64 install                                                     |
 | centos6-64 rescue                                                       | v
 +-------------------------------------------------------------------------+
    Use the ^ and v keys to select which entry is highlighted.
    Press enter to boot the selected OS, 'e' to edit the
    commands before booting, or 'c' for a command-line.

Boot Debian GNU/Linux Live Rescue from GRUB.

Installing Base Arch

Clone the Repository

Clone this repo in the rescue image instance:

For example:

root ~ # git clone https://github.com/prgmrcom/archinstall-scripts
Cloning into 'archinstall-scripts'...
remote: Counting objects: 20, done.
remote: Total 20 (delta 0), reused 0 (delta 0), pack-reused 20
Unpacking objects: 100% (20/20), done.
Checking connectivity... done.
root ~ # 

Run the Install Script

Run the `archinstall.sh` script.

root ~ # cd archinstall-scripts
root ~ # sudo ./archinstall.sh

When the script ends, there will be the word "finished" on a new line which will look like this:

[tons of script output]
~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
finished
********
root ~ # 

Post Configuration

This script should take care of the hardware aspects of configuring an Arch install, however you will still need to set up timezones, user accounts, passwords and so forth. See the Arch Installation Guide and General Recommendations for details.

The Installation Guide is really quite thorough, and should be glanced through if not read in its entirety. Some things you might find important:

Bibliography