diff --git a/tools/install-grub.sh b/tools/install-grub.sh index 39dcd10..0913a2c 100644 --- a/tools/install-grub.sh +++ b/tools/install-grub.sh @@ -1 +1,6 @@ -grub-install \ No newline at end of file +echo 'Which device is system? (/dev/sdX)' +read device +echo 'Which mount is EFI?' +read efipart +grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=$ +grub-install --target=i386-pc --boot-directory=/boot/ $device \ No newline at end of file