Nircek / mrcc-install

Arch linux own installer script
Other
1 stars 0 forks source link

mrcc-install

A simple script installing the Arch Linux

Disclaimer

There is NO WARRANTY, to the extent permitted by law. I'm not taking any responsibility for anything that this program does. Please use it with caution.

Usage

Help message

USAGE: ./mrcc-install.sh <STATE> [OPTIONS]

There are several states:
  pre-install (default)
  install
  post-install

There are several options:
  -h display this help message
  -i non-interactive mode (don't ask for anything)
     if you want to use it, you must trigger at least:
     -L -e efi -a arch -s swap -A
  -L license agreement
  -l pre-install log file (default: ./log.txt)
  -F force when it is not an iso of Arch Linux
  -q quiet don't print to stdout log, only interactive things
  -e path to EFI device (e.g. /dev/sda1)
  -a path to device where Arch should be installed
  -s path to SWAP device
  -E format EFI device
  -A format ARCH device
  -S format SWAP device
  -w install wifi stuff
  -f post-install folder with mrcc stuff (default: /root/.mrcc)
  -r remove the mrcc folder when it isn't needed (will lost logs)
  -n computer name (default: ARCH-MRCC-<MRCCtime>)
  -x final command to be executed after install (e.g. "shutdown 0",
     "reboot" or "exit", default: "shutdown 0")\
  -b install timeshift and make a backup after installation
  -d default, don't ask

Exit codes:
   1 license disagreement
   2 not EFI environment
   3 not iso of an Arch Linux and not forced
   4 -i without needed parameters
   5 parse error
   6 no internet access

Examples