fix: grub efi-directory

This commit is contained in:
AngeD 2023-03-14 21:03:26 +01:00
parent a3feecf1c0
commit 9f8df2d558
2 changed files with 5 additions and 3 deletions

View File

@ -59,7 +59,8 @@ if [ -n "$grub_timeout" ]; then
sed -i "/GRUB_TIMEOUT=/s/.*/GRUB_TIMEOUT=$grub_timeout/" /etc/default/grub
fi
grub-install --target=x86_64-efi --bootloader-id=GRUB
mkdir -p /boot/efi/
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
echo -e "${BOLD}${GREEN}DONE. You can install a desktop environment \

View File

@ -33,5 +33,6 @@ git clone https://git.maby.dev/ange/suckless /tmp/suckless/
cd "$_"
./update.sh
echo -e "${BOLD}${GREEN}DONE. I recommend you run ./dotfiles to get a fully \
functioning config.${NORMAL}"
echo -e "${BOLD}${GREEN}DONE. I recommend you run \`su echo \
${username-\$username} -c ./dotfiles\` to get a fully functioning config.\
${NORMAL}"