Bug#696942: [1.83->1.84 regression]: GRUB won't install to a dummy device
Package: grub-installer
Version: 1.84
Severity: grave
Tags: d-i
X-Debbugs-Cc: pajaro@gmail.com
Control: block 681227 by -1
Hello,
On 29/12/12 10:39, alberto fuentes wrote:
> Dec 29 00:41:32 grub-installer: info: Installing grub on 'dummy'
> Dec 29 00:41:32 grub-installer: error: no boot device found to install to
That is new a problem affecting at least grub-efi and grub-yeeloong and
was fixed in Git but I think we need a bug number for it now:
http://lists.debian.org/debian-boot/2012/12/msg00463.html
http://anonscm.debian.org/gitweb/?p=d-i/grub-installer.git;a=commitdiff;h=99389d59fc539c399e147eb74acedfce04da011f
Does it matter that $bootdev is not in quotes? Every other use of it in
the script is quoted. It can't contain spaces at least:
> --- a/grub-installer
> +++ b/grub-installer
> @@ -651,7 +651,7 @@ if [ -z "$frdisk" ]; then
> # Install grub on each space separated disk in the list
> bootdevs="$bootdev"
> for bootdev in $bootdevs; do
> # workaround for #681227
> - if [ ! -b $bootdev ]; then
> + if [ ! -b $bootdev -a $bootdev != dummy ]; then
> continue
> fi
Regards,
--
Steven Chamberlain
steven@pyro.eu.org
Reply to: