![]() Install base packages: # pacstrap /mnt base linux linux-firmware Select mirrors: # vi /etc/pacman.d/mirrorlist # mount /dev/mapper/rootvg-home /mnt/home Mount LVs and ESP for installation: # mount /dev/mapper/rootvg-root /mnt Setup Logical Volume Manager: # pvcreate /dev/mapper/luksĬreate Logical Volumes: # lvcreate -n swap -L 4G -C y rootvg # -C = continuous data blocks)Ĭreate filesystems for LVs: # mkfs.ext4 /dev/mapper/rootvg-home # Last sector = Use remaining spaceįormat EFI System Partition (ESP): # mkfs.fat -F32 /dev/sda1Įncrypt the other partition with LUKS (512 Bit AES-XTS and SHA512 for passphrase): # cryptsetup luksFormat -v -s 512 -h sha512 /dev/sda2 O # Create a new empty GUID partition table (GPT) ![]() Setup GUID partition Table (GPT): # gdisk /dev/sda Set system time using NTP: # timedatectl set-ntp true Set keyboard layout: # loadkeys de_CH-latin1Īctivate vi mode for more convinience # set -o vi You should understand all options so you can adjust them to your needs. Important: This is not a beginners guide for an Arch Linux installation, so you should have basic understanding of Arch Linux, LUKS and LVM. For more details, consult the links in the reference section. I wrote this post, so next time I don’t have to search all the information in the Arch Linux Wiki. ![]() Systemd-boot is used as an EFI compatible boot manager. This post describes an installation of Arch Linux with GPT (GUID partition table), LUKS (Linux Unified Key Setup) and LVM (Logical Volume Manager) with the basic graphical window manager i3.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |