Update build instructions in NixOS

various minor fixes; bump archlive to nov 2021

use dkms in live

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
This commit is contained in:
Maurice Zhou
2021-11-03 00:16:31 +08:00
committed by George Melikov
parent f60e80083d
commit 783877d147
14 changed files with 33 additions and 62 deletions

View File

@@ -13,7 +13,7 @@ You can use it as follows.
#. Import keys of archzfs repository::
curl -L https://archzfs.com/archzfs.gpg | pacman-key -a -
curl -L https://git.io/JsfVS | xargs -i{} pacman-key --lsign-key {}
pacman-key --lsign-key $(curl -L https://git.io/JsfVS)
curl -L https://git.io/Jsfw2 > /etc/pacman.d/mirrorlist-archzfs
#. Add archzfs repository::

View File

@@ -25,7 +25,9 @@ Installation
#. Check kernel variant::
INST_LINVAR=$(sed 's|.*linux|linux|' /proc/cmdline | sed 's|.img||g' | awk '{ print $1 }')
#for live image
If you are using live image, use the hard-coded value::
#INST_LINVAR=linux
#. Check kernel version::

View File

@@ -7,13 +7,13 @@ Preparation
:local:
#. Download
`2021.09.01 <https://mirrors.ocf.berkeley.edu/archlinux/iso/2021.09.01/archlinux-2021.09.01-x86_64.iso>`__
Live ISO and `signature <https://archlinux.org/iso/2021.09.01/archlinux-2021.09.01-x86_64.iso.sig>`__.
`2021.11.01 <https://mirrors.ocf.berkeley.edu/archlinux/iso/2021.11.01/archlinux-2021.11.01-x86_64.iso>`__
Live ISO and `signature <https://archlinux.org/iso/2021.11.01/archlinux-2021.11.01-x86_64.iso.sig>`__.
#. Follow `installation guide on Arch wiki <https://wiki.archlinux.org/title/Installation_guide>`__
up to **Update the system clock**.
#. Set root password or ``/root/authorized_keys``.
#. Set root password or ``/root/.ssh/authorized_keys``.
#. Start SSH server::
systemctl start sshd

View File

@@ -17,10 +17,14 @@ instance of an operating system. Within the context of this installation,
boot environments can be created on-the-fly to preserve root file system
states before pacman transactions.
Install ``bieaz`` from AUR. Optionally install ``rozb3-pac`` from AUR
for pacman integration.
Install an AUR helper of choice then install ``rozb3-pac`` from AUR
for pacman integration::
See `home page <https://nu8.org/pages/projects/bieaz/>`__ for details.
pacman -S --needed git base-devel
git clone https://aur.archlinux.org/paru-bin.git
cd paru-bin
makepkg -si
paru -S rozb3-pac
Supply password with SSH
~~~~~~~~~~~~~~~~~~~~~~~~
@@ -256,9 +260,9 @@ boot from it. This enables system recovery and re-installation.
mkdir /boot/efi/iso
cd /boot/efi/iso
# select a mirror # curl -O https://mirrors.ocf.berkeley.edu/archlinux/iso/2021.09.01/archlinux-2021.09.01-x86_64.iso
curl -O https://archlinux.org/iso/2021.09.01/archlinux-2021.09.01-x86_64.iso.sig
gpg --auto-key-retrieve --verify archlinux-2021.09.01-x86_64.iso.sig
# select a mirror # curl -O https://mirrors.ocf.berkeley.edu/archlinux/iso/2021.11.01/archlinux-2021.11.01-x86_64.iso
curl -O https://archlinux.org/iso/2021.11.01/archlinux-2021.11.01-x86_64.iso.sig
gpg --auto-key-retrieve --verify archlinux-2021.11.01-x86_64.iso.sig
Additionally you can build your own live image
with `archiso package <https://gitlab.archlinux.org/archlinux/archiso>`__.