Archfai stands for Archlinux fully automatic installation. This little project aims to provide a shell script package specific for archlinux which makes it possible to automate the complete installation process with just one command. "One command" means just one command!! No mounting of additional removable media and no curl orgies needed, just one command.
Here are some shortened links for your convenience:
- Compressed Master (tar.gz): http://bit.ly/1D0m6VH
- Compressed Master (zip): http://bit.ly/1o31t8h
- Link to the scripts entry point: http://bit.ly/1vCuB50
- Upload the files in src to a webspace of your choice.
- Change the links in initstrap.sh appropriately.
- Adjust the settings in env.conf according to your taste, but be aware of what you're changing.
- Shorten the link of your new initstrap.sh location.
- Start the Archlinux live cd and establish a working internet connection.
- Execute the command: $ curl -L bit.ly/yourlink | bash.
- Fetch yourself a nice hot chocolate, preferably garnished with some marshmallows.
- Enjoy your new Archlinux installation
That's all. You should have a working base installation of Archlinux in about 3 minutes or less (if your internet connection is fast enough).
- Download the master branch and unpack it.
- Change in the newly created folder and then into src.
- If you want to change the settings, create a file called "settings.conf" or edit env.conf directly.
- Now do $ ./initstrap -l (-l means "Use the local files").
- Fetch yourself a tee/coffee
- Enjoy your new Archlinux installation
The script can be extended by the use of hooks. Please consult the (hopefully) very well documented source code. If you think some portions of the code are poorly commented, please leave me a message and i will fix that as soon as I can find the time!
A working knowledge of how to write shellscripts and an extended knowledge about installing and configuring an archlinux system from scratch is strongly recommended.
This project represents no zeroconf installer script where you just need to change two or three values and everything works correctly. It just provides the framework for you to add configuration specific commands that will then be run in the right order. Of course there are still flat configuration variables you just need to adjust to reach your goal (e.g. The time zone variable).
Please report a bug as soon as you find one!