fix: grub efi-directory
This commit is contained in:
parent
a3feecf1c0
commit
9f8df2d558
2 changed files with 5 additions and 3 deletions
3
base.sh
3
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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue