Dell Tower Plus Desktop 🖥

Arch Linux LVM on LUKS Installation

Continuing with the Tower Plus setup, this live stream covers the installation of Arch Linux on the system. This is a very basic installation, as I plan to do most of the actual configuration of this device using the previously mentioned Ansible role. The goal for this session was simply to get the system booting on its own which, after a minor issue with the bootloader configuration, was successful! The difficulty was caused by a bespoke configuration of encrypted disks for which I had to guess at the correct configuration. Nevertheless, the system is now ready for further configuration. At some point in the past I had created a script to automate Arch installations. This experience has made me think that may be worth recovering and revising for future deployments.

For future reference, the following packages were initially installed:

pacstrap -K /mnt base linux linux-firmware intel-ucode lvm2 dhcpcd vim man-db  17.40s user 10.57s system 83% cpu 33.594 total   

and the final filesystem was configured as follows:

$ lsblk                                                                                                          
NAME                               MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS                                                       
loop0                                7:0    0 946.7M  1 loop  /run/archiso/airootfs                                             
sda                                  8:0    0   1.8T  0 disk                                                                    
└─sda1                               8:1    0   1.8T  0 part                                                                    
  └─home                           253:0    0   1.8T  0 crypt                                                                   
    └─volume--group--b56155f4fbd9-logical--volume--d5214c6d822b /home                                                         
                                   253:1    0   1.8T  0 lvm                                                                     
sdb                                  8:16   1  14.5G  0 disk                                                                    
├─sdb1                               8:17   1   1.2G  0 part                                                                    
└─sdb2                               8:18   1   248M  0 part                                                                    
nvme0n1                            259:0    0 953.9G  0 disk                                                                    
├─nvme0n1p1                        259:1    0     1G  0 part    /boot                                                     
└─nvme0n1p2                        259:2    0 952.9G  0 part                                                                    
  └─root                           253:2    0 952.9G  0 crypt                                                                   
    └─volume--group--86af29d5011e-logical--volume--775b865978eb /                                   
                                   253:3    0 952.9G  0 lvm  

/etc/default/grub and /etc/mkinitcpio.conf will be added to the Ansible role for reference.