diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-10-13 16:41:59 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2024-10-13 22:30:40 +0200 |
commit | 33fc7eb69375b28f20eb254c5a7aee1cee122b69 (patch) | |
tree | ad9a415b41a54ac65f2e78dc84fbc20ff8a8c1d1 | |
parent | Clone livecd_stage1.py to diskimage_stage1.py, only cosmetic changes (diff) | |
download | catalyst-33fc7eb69375b28f20eb254c5a7aee1cee122b69.tar.gz catalyst-33fc7eb69375b28f20eb254c5a7aee1cee122b69.tar.bz2 catalyst-33fc7eb69375b28f20eb254c5a7aee1cee122b69.zip |
Support scripts for bootloader installation and configuration
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
-rwxr-xr-x | targets/support/qcow2-grub-install.sh | 9 |
1 files changed, 9 insertions, 0 deletions
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 |