From 19bad8aa18002cb7ac5329e469f57f4bacde23be Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sun, 7 Oct 2018 11:05:27 +0200 Subject: [PATCH] grub-install --no-floppy --- hooks/grub | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/grub b/hooks/grub index b6b7837..fc29325 100755 --- a/hooks/grub +++ b/hooks/grub @@ -71,10 +71,10 @@ case $DISKTYPE in MAPPERDEV=/dev/mapper/$(dmsetup info -C --noheadings -o name $BLOCKDEV) echo "(hd0) $MAPPERDEV" > $TARGET/boot/grub/device.map - chroot "$TARGET" grub-install $LODEV + chroot "$TARGET" grub-install --no-floppy $LODEV ;; *) - chroot "$TARGET" grub-install $BLOCKDEV + chroot "$TARGET" grub-install --no-floppy $BLOCKDEV ;; esac -- 2.20.1