From 9f8df2d558553d50aa99ce38a7623d22b5e74da5 Mon Sep 17 00:00:00 2001 From: AngeD Date: Tue, 14 Mar 2023 21:03:26 +0100 Subject: [PATCH] fix: grub efi-directory --- base.sh | 3 ++- dwm/install.sh | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/base.sh b/base.sh index b60e186..a28fad9 100755 --- a/base.sh +++ b/base.sh @@ -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 \ diff --git a/dwm/install.sh b/dwm/install.sh index e282986..5ae3f16 100755 --- a/dwm/install.sh +++ b/dwm/install.sh @@ -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}"