just after I finished writing / testing my install script,
I rm -rf
'd my root directory
(--no-preserve-root
can't help when root is not at root)
find script here: arch-install
mount /dev/nvme0n1p3 /mnt
mkdir -p /mnt/{efi,boot}
mount /dev/nvme0n1p1 /mnt/efi
mkdir -p /mnt/efi/EFI/archlinux
mount --bind /mnt/efi/EFI/archlinux /mnt/boot
passwd root
passwd arccy
/etc/fstab
mkinitcpio
user.sh
ssh-keygen -t ed25519
[Match]
Name=*
[Network]
DHCP=yes
DNS=8.8.8.8
DNS=8.8.4.4
DNS=2001:4860:4860::8888
DNS=2001:4860:4860::8844
IPForward=kernel
default arch
timeout 0
console-mode max
title Arch Linux
linux /EFI/archlinux/vmlinuz-linux
initrd /EFI/archlinux/intel-ucode.img
initrd /EFI/archlinux/initramfs-linux.img
options root=UUID=...................... quiet rw
-march=native
-mtune=native
OPTIONS=(!strip !zipman)
INTEGRITY_CHECK=(sha256)
PKGEXT='.pkg.tar'
SRCEXT='.src.tar'