1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# boot with iso-usb
ls /sys/firmware/efi
dmesg |grep sdx
lsblk
gdisk /dev/sdx
o
y
n
EF00
n
w
y
/dev/sdx1 512M EFI
/dev/sdx2 xxxxM ext4

mkfs.vfat /dev/sdx1
mkfs.ext4 /dev/sdx2

mount /dev/sdx2 /mnt
mkdir /mnt/boot
mount/dev/sdx1 /mnt/boot
pacstrap /mnt
arch-chroot /mnt
bootctl install
cd /boot/loader
pacman -S vim
vim loader.conf
default arch
timeout 4
cd entries
vim arch.conf

title Archlinux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=PARTUUID=xxx rw

r !blkid

reboot