... is executed in chroot environment directly after installation - or on 1st boot.
- check drives
lsblk
- decrypt drive
sudo cryptsetup luksOpen /dev/nvme0n1p3 cryptdata
sudo lvscan
sudo vgchange -ay
- mount decrypted drive
sudo mount /dev/mapper/data-root /mnt
- chroot
sudo mount /dev/nvme0n1p1 /mnt/boot/efi
for i in /dev /dev/pts /proc /sys /run; do sudo mount -R $i /mnt$i; done
sudo chroot /mnt
- install.sh
navigate to home, clone and execute
install.sh
cd /mnt/home/hmg
git clone https://github.com/HMG-Software/company_linux.git --single-branch --filter=tree:0
cd company_linux
./install.sh
-
restart be sure to unplug thumb drive
-
post-install.sh
bash company_linux/post-install.shell
-
register company docker registry
-
Enjoy!
sources: system76/pop-recovery