Giter Site home page Giter Site logo

jinarch's Introduction

An Arch Linux installer.

Some configurations that depend on an active internet connection can only be done successfully if network is available.

USE/INSTALL

jinarch can be run without installing, from the directory that it resides:

./jinarch # as root

Or it can be installed:

./install.sh # as root

then run as:

jinarch

Arch Linux installation can be automated using a configuration file jinarch.conf (you will still be prompted for passwords for accounts). If you installed the script, it should be available as /etc/jinarch.conf. Or if you are running from a directory as ./jinarch, you will have to rename the ./jinarch.conf.in file to ./jinarch.conf and make necessary changes there.

jinarch searches for the configuration file as follows:

  1. Firstly, in ./jinarch.conf (in the current working directory)
  2. secondly, in /etc/jinarch.conf

STEPS

jinarch tries to automate archlinux installation except the partitioning step. You will have to partition the disks manually. jinarch will only let you select the partitions for different mount points (/, /home, /boot, /var etc..) and then mount it. It does not create/delete/change/format any partitions in any way.

The installation involves the following steps:

  1. Checking network connection
  2. Updating the system clock
  3. Mounting partitions
  4. Selecting mirrors
  5. Installing the system
  6. Generating /etc/fstab
  7. Installing grub bootloader
  8. chroot into the new system
  9. Setting time zone
  10. Setting locale
  11. Keymap settings
  12. Typematic delay and rate settings
  13. Setting hostname
  14. Checking network status in chroot
  15. Setting the root password
  16. Updating grub configuration
  17. Setting the default login shell
  18. Creating a standard user account with sudo access
  19. Leave the chroot open for further modification

After the last step, the chroot is left open. You can modify your new system as you wish. After you are done, run exit to exit the chroot (some cleaning steps are done here). After exiting chroot, you will land on the original terminal prompt again. That's it.

You can reboot now

Preparing a custom archlinux live cd/dvd image:

Download the official archlinux live iso image. Use it with JLIVECD and customize it. Do not forget to install the jinarch script in the custom archlinux live OS.

After you have run JLIVECD, there will be a directory named edit in your JLIVECD project directory, this is the root filesystem (/). Copy the jinarch folder into edit/mydir and run the following commands in JLIVECD chroot terminal to install jinarch in live OS:

cd /mydir/jinarch
./install.sh

This will install jinarch in the live cd. When you are done with customization, exit JLIVECD chroot and let JLIVECD build the ISO image.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.