Skip to content

Install

Mihir Lad edited this page Jun 1, 2020 · 2 revisions

To install LadOS, you must boot an archiso or a LadOS ISO and then follow the instructions below.

There are multiple ways to install LadOS:

  • Build a LadOS ISO image
  • Boot an archiso and download the LadOS repo
  • Boot an archiso and mount another device with LadOS on it

Pre-Install

Before you start the LadOS install, make sure you partition your disks and mount your partitions accordingly on /mnt. Due to the many different ways of partitioning, this is left to the user to do on their own before starting the install.

LadOS supports LUKS encrypted partitions and will automatically generate the crypttab file if LUKS partitions are detected. If you choose to encrypt your partitions, do so before starting the LadOS install.

For more instructions on partitioning, check out the Arch Linux Installation Guide page.

Note that LadOS does not support swap partitions as there is not much of a performance advantage. Also swap partitions don't work well with LUKS partitions. LadOS will create a swapfile during the installation process (the size of your RAM).

Using a LadOS ISO Image

  1. Navigate to LadOS

    $ cd /LadOS
    
  2. Run the installer by running setup.sh and then selecting Install LadOS.

    $ ./setup.sh
    -----Main Menu-----
    1. Install LadOS
    2. Install Required Features
    3. Install Optional Features
    4. Fixes
    5. Scripts
    6. Exit
    Option: 1
    
    
  3. Follow any on-screen prompts and wait for the installation to complete.

Downloading LadOS on an Archiso

  1. Download the Arch Linux image from https://www.archlinux.org/download/ and use the following command to copy it to a USB. Warning: this will wipe all data on the USB:

    $ dd bs=4M if=path/to/archlinux.iso of=/dev/sdx status=progress oflag=sync

  2. Boot into the archiso on your computer. This method will require secure boot to be disabled.

  3. Download and unzip the repo using the following commands:

    $ curl -L https://github.com/mihirlad55/LadOS/archive/master.zip \
        --output LadOS.zip
    $ unzip LadOS.zip
    
  4. Copy over any configuration files from another USB/storage medium or by downloading them, or edit them on the archiso.

  5. Navigate to LadOS

    $ cd LadOS
    
  6. Run the installer by running setup.sh and then selecting Install LadOS.

    $ ./setup.sh
    -----Main Menu-----
    1. Install LadOS
    2. Install Required Features
    3. Install Optional Features
    4. Fixes
    5. Scripts
    6. Exit
    Option: 1
    
    
  7. Follow any on-screen prompts and wait for the installation to complete.

Copying LadOS from Another Device using Archiso

  1. Download the Arch Linux image from https://www.archlinux.org/download/ and use the following command to copy it to a USB. Warning: this will wipe all data on the USB:

    $ dd bs=4M if=path/to/archlinux.iso of=/dev/sdx status=progress oflag=sync

  2. Boot into the archiso on your computer. This method will require secure boot to be disabled.

  3. Mount the device containing LadOS.

    $ mkdir -p /LadOS
    $ mount /dev/sdXY /LadOS
    
  4. Navigate to LadOS

    $ cd /LadOS
    
  5. Run the installer by running setup.sh and then selecting Install LadOS.

    $ ./setup.sh
    -----Main Menu-----
    1. Install LadOS
    2. Install Required Features
    3. Install Optional Features
    4. Fixes
    5. Scripts
    6. Exit
    Option: 1
    
    
  6. Follow any on-screen prompts and wait for the installation to complete.

Clone this wiki locally