From: Dinko Korunic Date: Thu, 28 Apr 2011 13:50:17 +0000 (+0200) Subject: - grub-probe sa -t drive... X-Git-Tag: v2.6.32.1~3 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=050a532429b04f95f678e8292282b6d644931a3e;p=kernel-cn.git - grub-probe sa -t drive... --- 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"