X-Git-Url: https://git.grml.org/?p=grml2usb.git;a=blobdiff_plain;f=grml2usb;h=072f1b339dbfd138f09c8d07c99f9ba74362030b;hp=e608ac145de4253a71b80b40e220652aa937aa1b;hb=a3dde41af080b40f4fab46eba2950d0ea98b2785;hpb=6868425f2674bc1443cb75bbb78991908d58646c diff --git a/grml2usb b/grml2usb index e608ac1..072f1b3 100755 --- a/grml2usb +++ b/grml2usb @@ -493,7 +493,8 @@ def install_grub(device): for opt in ["", "--force"]: logging.debug("grub-install --recheck %s --no-floppy --root-directory=%s %s", opt, device_mountpoint, grub_device) - proc = subprocess.Popen([GRUB_INSTALL, "--recheck", opt, "--no-floppy", + proc = subprocess.Popen([GRUB_INSTALL, "--recheck", opt, + "--no-floppy", "--target=i386-pc", "--root-directory=%s" % device_mountpoint, grub_device], stdout=file(os.devnull, "r+")) proc.wait()