Skip to main content

Install Archcraft With ABIF

ABIF is the secondary installer in Archcraft, It is based on the command line and very powerful (I personally use it). It is expected that the people who use this installer to install Archcraft, know what they are doing.

I won't recommend using this installer if you're a beginner, Use Calamares instead.
But if you still want to use this installer, You can follow this guide.

In this guide, I'll be installing Archcraft on an UEFI system with Encryption and LVM by using ABIF. The process will be the same if you are using BIOS.

I'm assuming that you have already created a bootable USB with Archcraft ISO, boot system with it and select Boot Archcraft. Launch the installer via either welcome app or menu.

Select the installer language and press Enter

img

Prepare Installation

Select Prepare Installation and press Enter

img

Select Set Virtual Console, Choose your layout and press Enter

img

Select Set Desktop Keyboard Layout, Choose your layout and press Enter

img

Partition Disk

Select List Devices and press Enter

img

Here, You can see available disks and partitions on your system.

img

If your disk is already partitioned, you can skip this and move to :

If you want to do the partitioning, Select Partition Disk and press Enter

img

Select Your Disk and press Enter

img

Choose any partitioning utility (* Using gparted here*) and press Enter

img

Do the partitioning and when you're done, exit gparted

caution

If your system already has an EFI partition, Make sure it has at least 100MB of free storage, or the installation will fail.

img

Setup LUKS Encryption

If you don't want to use Disk Encryption, You can skip this and move to :

If you want to use Disk Encryption, Select LUKS Encryption and press Enter

img

I'll just go with Automatic LUKS but if you have preferences, Use that and press Enter

img

Select the partition you want to encrypt (I'll encrypt root which is /dev/sda2) and press Enter

img

Enter the name for Encrypted block device and press Enter

img

Type a strong password and press Enter, Do it again.

img

You can review your LUKS setup here. When done, press Enter to exit

img

Repeat the process to encrypt other partitions (for ex : /home). When you're done, Select Back and press Enter

img

Setup LVM

If you don't want to set up Logical Volumes, You can skip this and move to Mount Partitions.
If you do, Select Logical Volume Management and press Enter

img

Create a Volume Group first, Select Create VG and LV(s) and press Enter

img

Enter the name of the group and press Enter

img

Select the Partitions (use SPACE) you want to add to the LV group and press Enter

img

Press Enter to confirm the creation of the group.

img

You'll get a dialog, confirming that the group has been created. press Enter to exit.

img

Select the Numbers of volumes in the group (We choose two partition to add in the group earlier) and press Enter

img

Enter the name of first LV (for root) and press Enter

img

Enter the size of the LV and press Enter

img

You'll see that the LV has been created. press Enter to exit.

img

Do the same for the second LV, Enter name and press Enter. The size will be selected automatically.

img

Press Enter to view your LVM scheme.

img

When you're done and press Enter to exit.

img

Mount Partitions

Now that we have set up Partitions, (Encryption and LVM). It's time to mount them for installation.

Select Mount Partitions and press Enter

img

Select the Root Partition and press Enter. Keep in mind that :

  • If you setup LVM (with encryption), choose that for root (for ex : in this setup /dev/mapper/archcraft-lvol_root will be the root)
  • If you setup Encryption only (no LVM), choose that for root (/dev/mapper/cryptroot)
  • If you've not setup Encryption or LVM, choose root normally (/dev/sda2)

img

Select ext4 as file system (you can choose any other fs type) and press Enter

img

Select Yes and press Enter to format the partition, Ignore other stuff.

img

If you have set up a Swap Partition, You can mount it here. You can also use a Swapfile if you want. Select whatever you prefer and press Enter

img

Now, Mount the boot partition. Select your EFI partition (/dev/sda1) and press Enter

img

danger

Your system may already have an EFI partition. In that case DO NOT FORMAT IT or you won't be able to boot into other installed OS (Let's say windows)
Just mount the EFI partition to /boot

Select No if you don't want to format the EFI partition and press Enter

img

Select /boot as mount point and press Enter

img

And, Now you can mount the rest of the partitions (for ex: /home) here. Select it and press Enter

img

Again, Select ext4 (or any other) as FS and press Enter

img

Enter the mount point for the partition and and press Enter

img

When you're done mounting all the partitions, Select Done and press Enter to exit

img

Select Back and press Enter to go to Installation.

img

Install Base

Now all the partitions are mounted and ready, Let's install the Base packages

Select Install Base and press Enter

img

Select Install Base Packages and press Enter

img

Wait for the installation to complete. In the meantime, Lighten Up Your Mood...

img

After the installation is done, Select Run Mkinitcpio and press Enter

img

This will generate the initramfs-linux and initramfs-linux-fallback.

img

Select Install Bootloader and press Enter

img

Select grub as bootloader and press Enter

img

Select Yes to make grub default bootloader and press Enter

img

Select Back and press Enter to exit installation.

img

Configure Base

Archcraft is installed on your system. It's time to configure your installation.

Select Configure Base and press Enter

img

Select Generate FSTAB and press Enter

img

Select Part UUID for UEFI and Device UUID for BIOS and press Enter

img

Select Set Hostname and press Enter

img

Enter the hostname for your system and press Enter

img

Select Set System Locale and press Enter

img

Select the locale you want to use (en_US.UTF-8 for US English) and press Enter

img

Select Set Timezone and Clock and press Enter

img

Select your Time Zone (eg : ASIA) and press Enter

img

Select your Region (eg : Kolkata) and press Enter

img

Select Yes and press Enter

img

Select utc and press Enter

info

To dual boot with Windows it is recommended to configure Windows to use UTC, rather than Linux to use localtime. (Windows by default uses localtime)

img

Select Set Root Password to set a password for root and press Enter

img

Select Add New User(s) to create new user account(s) and press Enter

img

Enter username and press Enter

img

Enter password for your user account and press Enter. Confirm the password.

img

Select Security and systemd Tweaks to tweak that stuff (If you know what to do) and press Enter

img

When you're done, Select Back and press Enter to exit.

img

Review Config files

Select Review Configuration Files and press Enter

img

Select the file you want to view and press Enter. When you're done, Select Back to exit.

img

Finish

Everything is completed... You can now Quit the installer and reboot the system.

Select Done and press Enter

img

Select Yes and press Enter to quit.

img

Reboot into your newly installed system.

img

Well, That’s it! Archcraft is installed on your system. Enjoy!