grub-install --no-floppy
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 7 Oct 2018 09:05:27 +0000 (11:05 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 7 Oct 2018 09:05:27 +0000 (11:05 +0200)
hooks/grub

index b6b7837..fc29325 100755 (executable)
@@ -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