Skip to content

Instantly share code, notes, and snippets.

@peterhoeg
Created January 25, 2016 05:56
Show Gist options
  • Save peterhoeg/2ba298a14ce4b75c11f3 to your computer and use it in GitHub Desktop.
Save peterhoeg/2ba298a14ce4b75c11f3 to your computer and use it in GitHub Desktop.
--- winusb-1.0.11/src/winusb.orig 2013-03-28 05:57:44.000000000 +0800
+++ winusb-1.0.11/src/winusb 2016-01-21 20:59:00.954759406 +0800
@@ -399,7 +399,7 @@
# Grub
echo "Installing grub..."
-grub-install --root-directory="$partitionMountPath" "$device"
+grub-install --target=i386-pc --boot-directory="$partitionMountPath" "$device"
uuid=$(blkid -o value -s UUID "$partition")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment