From d06c99489cd63688a42eb85db9b09e1b56dc65a7 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Tue, 2 Aug 2016 19:08:58 +0800 Subject: buildlive: install grub --- buildlive | 3 +++ 1 file changed, 3 insertions(+) (limited to 'buildlive') diff --git a/buildlive b/buildlive index e1c971f..31babbd 100755 --- a/buildlive +++ b/buildlive @@ -71,3 +71,6 @@ do install_live cat "distro/$i/grub.cfg" >> "$GRUBCFG" done + +grub-install --boot-directory="$ROOTPATH" --target=i386-pc "$DEVNAME" +grub-install --boot-directory="$ROOTPATH" --efi-directory="$ROOTPATH" --bootloader-id=grub --target=x86_64-efi --no-nvram "$DEVNAME" -- cgit v1.2.3