Moutpoint von ESP von /efi auf /boot geändert

This commit is contained in:
eichehome 2023-07-16 23:13:09 +02:00
parent f1ec31de16
commit a5029337d2

View file

@ -39,8 +39,8 @@ mkfs.vfat -n EFI -F 32 /dev/vda1
mkfs.ext4 -L root /dev/vda2
mount /dev/vda2 /mnt
mkdir -p /mnt/efi
mount /dev/vda1 /mnt/efi
mkdir -p /mnt/boot
mount /dev/vda1 /mnt/boot
#ln -sf /run/systemd/resolve/stub-resolv.conf /mnt/etc/resolv.conf # tmpfiles.d macht das
@ -135,13 +135,13 @@ sed -i 's/^HOOKS=(.*)/HOOKS=(base systemd keyboard plymouth autodetect sd-vconso
mkinitcpio -p "${KERNEL}"
bootctl install
cat > /efi/loader/loader.conf << EOF
cat > /boot/loader/loader.conf << EOF
timeout 5
console-mode max
editor yes
default *
EOF
cat > /efi/loader/entries/arch.conf << EOF
cat > /boot/loader/entries/arch.conf << EOF
title Arch Linux
version 0.1
linux /vmlinuz-${KERNEL}