Moutpoint von ESP von /efi auf /boot geändert
This commit is contained in:
parent
f1ec31de16
commit
a5029337d2
1 changed files with 4 additions and 4 deletions
|
@ -39,8 +39,8 @@ mkfs.vfat -n EFI -F 32 /dev/vda1
|
||||||
mkfs.ext4 -L root /dev/vda2
|
mkfs.ext4 -L root /dev/vda2
|
||||||
|
|
||||||
mount /dev/vda2 /mnt
|
mount /dev/vda2 /mnt
|
||||||
mkdir -p /mnt/efi
|
mkdir -p /mnt/boot
|
||||||
mount /dev/vda1 /mnt/efi
|
mount /dev/vda1 /mnt/boot
|
||||||
|
|
||||||
#ln -sf /run/systemd/resolve/stub-resolv.conf /mnt/etc/resolv.conf # tmpfiles.d macht das
|
#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}"
|
mkinitcpio -p "${KERNEL}"
|
||||||
|
|
||||||
bootctl install
|
bootctl install
|
||||||
cat > /efi/loader/loader.conf << EOF
|
cat > /boot/loader/loader.conf << EOF
|
||||||
timeout 5
|
timeout 5
|
||||||
console-mode max
|
console-mode max
|
||||||
editor yes
|
editor yes
|
||||||
default *
|
default *
|
||||||
EOF
|
EOF
|
||||||
cat > /efi/loader/entries/arch.conf << EOF
|
cat > /boot/loader/entries/arch.conf << EOF
|
||||||
title Arch Linux
|
title Arch Linux
|
||||||
version 0.1
|
version 0.1
|
||||||
linux /vmlinuz-${KERNEL}
|
linux /vmlinuz-${KERNEL}
|
||||||
|
|
Loading…
Reference in a new issue