Code Monkey home page Code Monkey logo

ais's Introduction

AIS

Archlinux install script. EFI installation only.

How to get

Using git

  1. Boot Arch live media
  2. pacman -Sy && pacman -Sdd git
  3. git clone https://github.com/Iheiko/AIS
  4. cd AIS
  5. ./install.sh

How to use

Usage: ./install.sh (-d <Disk> | -m -r <Partition> -e <Partition>) [-hcptHsb]
Required:
    -d|--disk      <Disk>        Specify disk for automated partion creation installation.
    -m|--manual                  For manual partition selection. --disk will be ignored.
    -r|--root      <Partition>   Root partition(/). Only needed if --manual
    -e|--esp       <Partition>   EFI system partiton. Only needed if --manual

Options:
    -h|--help                    print this message
    -c|--country   <Country>     Country for mirrorlist priority. Default: None
    -p|--pkg-list  <Package ...> Additional packages to install
    -t|--timezone  <Region/City> Specify timezone. Default:"UTC"
    -H|--hostname  <Hostname>    Hostname for installed system. Default:"Arch"
    --with-swap    <Size>        Swap of <Size> will be created. Works only with --disk
    --with-home    <Size>        Separate /home partiton of <Size>. Works only with --disk
    -s|--swap      <Partition>   Use <Partition> as swap. Works only with --manual
    -l|--home      <Partition>   Use <Partition> as /home. Works only with --manual
    --bootloader   <Bootloader>  grub or systemd-boot. Default:"systemd-boot"

Troubleshooting

1. error: Partition / too full: X blocks needed, Y blocks are free

Resize your cowspace to, at least, 512Mb: mount -o remount,size=512M /run/archiso/cowspace

ais's People

Contributors

ccde177 avatar

Watchers

 avatar Andrei avatar

ais's Issues

Boot loaders support

Currently there is only one boot loader supported: systemd-boot.
Need to add support for:
grub2 #10
syslinux #15
EFISTUB(?)

Error handling

Need to add proper handling for possible errors(wrong input, typos in parameters, connection errors, etc.)
For now there is no error handling and script just go forward.

Manual partition select

Support for manual partition select (ex: --root /dev/sda1 --boot /dev/sda3 --swap /dev/sda2)

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.