Arch install from rescue mode
see https://kyau.net/wiki/ArchLinux:OVH
# dd if=/dev/zero of=/dev/nvme0n1 bs=1M count=2048`
`# dd if=/dev/zero of=/dev/nvme1n1 bs=1M count=2048`
# fdisk /dev/nvme0n1
# fdisk /dev/nvme1n1
# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
nvme0n1 259:0 0 419.2G 0 disk
├─nvme0n1p1 259:3 0 512M 0 part
└─nvme0n1p2 259:4 0 418.7G 0 part
nvme1n1 259:5 0 419.2G 0 disk
└─nvme1n1p1 259:2 0 419.2G 0 part
# vgcreate vg /dev/nvme0n1p2 /dev/nvme1n1p1
# lvcreate -l +100%FREE vg -n lv_root
# lvdisplay
# mkfs.ext4 /dev/vg/lv_root
# mount /dev/vg/lv_root /mnt
# wget https://raw.githubusercontent.com/tokland/arch-bootstrap/master/arch-bootstrap.sh
# chmod +x arch-bootstrap.sh
# ./arch-bootstrap.sh /mnt
# mount -t proc proc /mnt/proc/
# mount -t sysfs sys /mnt/sys/
# mount -o bind /dev /mnt/dev/
mkfs.fat -F 32 /dev/nvme0n1p1
mount /dev/nvme0n1p1 /mnt/boot/efi/
# chroot /mnt
# pacman-key --init
# pacman-key --populate archlinux
# pacman -S base base-devel arch-install-scripts git grub-bios intel-ucode openssh sudo nano lvm2 efibootmgr
# grub-install /dev/nvme0n1
# grub-mkconfig -o /boot/grub/grub.cfg
echo "archiposey" > /etc/hostname
ln -sf /usr/share/zoneinfo/UTC /etc/localtime
# sed -i 's/^#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
# locale-gen
# echo "LANG=en_US.UTF-8" > /etc/locale.conf
umount /mnt/boot/efi/
umount /mnt/{dev,proc,sys} /mnt
Read other posts