commit: 33fc7eb69375b28f20eb254c5a7aee1cee122b69 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Sun Oct 13 14:41:59 2024 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Sun Oct 13 20:30:40 2024 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=33fc7eb6
Support scripts for bootloader installation and configuration Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> targets/support/qcow2-grub-install.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/targets/support/qcow2-grub-install.sh b/targets/support/qcow2-grub-install.sh new file mode 100755 index 00000000..850eb72a --- /dev/null +++ b/targets/support/qcow2-grub-install.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +source /tmp/chroot-functions.sh + +echo "Installing grub with target x86_64-efi" +grub-install --no-floppy --efi-directory=/boot --removable --skip-fs-probe --no-nvram --no-bootsector --target=x86_64-efi + +echo "Creating grub configuration" +grub-mkconfig -o /boot/grub/grub.cfg
