From 050a532429b04f95f678e8292282b6d644931a3e Mon Sep 17 00:00:00 2001 From: Dinko Korunic Date: Thu, 28 Apr 2011 15:50:17 +0200 Subject: [PATCH] - grub-probe sa -t drive... --- debian/postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/postinst b/debian/postinst index 146bc1e..8545cb0 100755 --- a/debian/postinst +++ b/debian/postinst @@ -234,7 +234,7 @@ EOF else # Grub2 part grub-mkdevicemap --no-floppy - grub-install --no-floppy --grub-setup=/bin/true "$(grub-probe /boot/grub)" >/dev/null 2>&1 + grub-install --no-floppy --grub-setup=/bin/true "$(grub-probe -t drive /boot/grub)" >/dev/null 2>&1 fi echo -n " grub3" @@ -269,7 +269,7 @@ if [ "x$GRUB2" = "xno" ]; then fi else # Grub2 part - install_device="$(grub-probe /boot/grub)" + install_device="$(grub-probe -t drive /boot/grub)" fi echo -n " grub4" -- 1.7.10.4