Difference between revisions of "Arch Linux"

From PrgmrWiki
(I came across this page on the arch wiki, thought it deserved a note at the top.)
(Clean up link formatting -- no changes to actual content (yet))
Line 1: Line 1:
The purpose of this document is to provide the minimum necessary information to get arch up and reasonably secure.
+
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 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.
+
It should be noted the Arch wiki has a page devoted to [https://wiki.archlinux.org/index.php/Install_from_existing_Linux 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.
 
 
https://wiki.archlinux.org/index.php/Install_from_existing_Linux
 
  
 
=== Accessing the Management Console ===
 
=== Accessing the Management Console ===
If you're not familiar with accessing the management console, please see [http://wiki.prgmr.com/mediawiki/index.php/Management_Console http://wiki.prgmr.com/mediawiki/index.php/Management_Console]
+
If you're not familiar with accessing the management console, please see [[Management Console]]
  
 
=== Boot a Rescue Image ===
 
=== Boot a Rescue Image ===
Line 40: Line 38:
 
=== Installing Base Arch ===
 
=== Installing Base Arch ===
 
==== Clone the Repository ====
 
==== Clone the Repository ====
Clone this repo in the rescue image instance:
+
Clone [https://github.com/prgmrcom/archinstall-scripts this repo] in the rescue image instance:
[https://github.com/prgmrcom/archinstall-scripts https://github.com/prgmrcom/archinstall-scripts]
 
  
 
For example:
 
For example:
Line 69: Line 66:
  
 
=== Post Configuration ===
 
=== 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 beginner's guide for details:
+
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 [https://wiki.archlinux.org/index.php/Installation_guide Installation Guide] and [https://wiki.archlinux.org/index.php/General_recommendations General Recommendations] for details.
 
 
[https://wiki.archlinux.org/index.php/beginners'_guide https://wiki.archlinux.org/index.php/beginners'_guide]
 
 
 
and general recommendations:
 
 
 
[https://wiki.archlinux.org/index.php/General_recommendations https://wiki.archlinux.org/index.php/General_recommendations]
 
 
 
The beginner's guide is really quite thorough, and should be glanced through if not read in its entirety. Some things you might find important:
 
 
 
==== Setting Up a New User (super important) ====
 
[https://wiki.archlinux.org/index.php/General_recommendations#Users_and_groups https://wiki.archlinux.org/index.php/General_recommendations#Users_and_groups]
 
 
 
==== Networking (it's all reasonably useful) ====
 
[https://wiki.archlinux.org/index.php/General_recommendations#Networking https://wiki.archlinux.org/index.php/General_recommendations#Networking]
 
 
 
==== Console Improvements ====
 
[https://wiki.archlinux.org/index.php/General_recommendations#Console_improvements https://wiki.archlinux.org/index.php/General_recommendations#Console_improvements]
 
 
 
==== Changing Your Locale (system language) ====
 
[https://wiki.archlinux.org/index.php/beginners'_guide#Locale https://wiki.archlinux.org/index.php/beginners'_guide#Locale]
 
  
==== Changing Your Timezone ====
+
The Installation Guide is really quite thorough, and should be glanced through if not read in its entirety. Some things you might find important:
[https://wiki.archlinux.org/index.php/beginners'_guide#Time https://wiki.archlinux.org/index.php/beginners'_guide#Time]
 
  
==== Available Applications ====
+
* [https://wiki.archlinux.org/index.php/General_recommendations#Users_and_groups Setting Up a New User]: super important
[https://wiki.archlinux.org/index.php/List_of_applications https://wiki.archlinux.org/index.php/List_of_applications]
+
* [https://wiki.archlinux.org/index.php/General_recommendations#Networking Networking]: it's all reasonably useful
 +
* [https://wiki.archlinux.org/index.php/General_recommendations#Console_improvements Console Improvements]
 +
* [https://wiki.archlinux.org/index.php/Installation_guide#Locale Changing Your Locale]
 +
* [https://wiki.archlinux.org/index.php/Installation_guide#Time_zone Changing Your Time Zone]
 +
* [https://wiki.archlinux.org/index.php/List_of_applications Available Applications]
  
 
== Bibliography ==
 
== Bibliography ==
booting into rescue image  
+
* [[Accessing your guest from the rescue image|Booting into rescue image]]
[http://wiki.prgmr.com/mediawiki/index.php/Accessing_your_guest_from_the_rescue_image http://wiki.prgmr.com/mediawiki/index.php/Accessing_your_guest_from_the_rescue_image]
 

Revision as of 21:14, 13 May 2018

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