commit 2e582c48ee1086597a539c37404cd6b5945a9510
parent a1ba1129bff9ef9fbca9e6889e71118c4022a7d0
Author: KatolaZ <katolaz@freaknet.org>
Date: Sun, 19 Jun 2016 23:00:18 +0100
trying to force grub2 to install on loopback mbr from UEFI machine
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/zlibs/grub b/zlibs/grub
@@ -50,5 +50,6 @@ EOF
sudo -- sed -r -i -e 's/.*loop.*//g' ${root}/boot/grub/grub.cfg
sudo grub-install --root-directory=${root} --no-floppy \
- --modules="ext2 part_msdos" ${install_dev}
+ --modules="ext2 part_msdos" --target=i386-pc --boot-directory=${root}/boot \
+ ${install_dev}
}