#767480 d-i fails to install grub to first disk/partition with preseeding (hd0) or (hd0,0)

Package:
debian-installer
Source:
debian-installer
Description:
Debian Installer documentation
Submitter:
Florian Lohoff
Date:
2014-10-31 12:06:13 UTC
Severity:
normal
#767480#5
Date:
2014-10-31 11:41:34 UTC
From:
To:
Package: debian-installer
Version: daily-20141030
Architecture: amd64

Hi,
i am using the daily build of the netboot images as of yesterday.

The Documentation at:

https://www.debian.org/releases/jessie/amd64/apbs04.html.en

say that preseeding Grub with:

	d-i grub-installer/bootdev  string (hd0,0)

Should install grub in the first partition.

Currently this fails with

	Unable to install GRUB in (hd0,0)
	Executing 'grub-install (hd0,0) failed.

	This is a fatal error.

My hd0 is a virtio block device /dev/vda in a KVM host and its the only disk.

Also

	d-i grub-installer/bootdev  string (hd0)

Does not work. Not preseeding this value will display a manual
entry box. As with wheezy the first disk (and in my case only disk)
will always be used as default, this doesnt seem to work anymore.

Preseeding with /dev/vda will work though.

Flo

#767480#10
Date:
2014-10-31 12:04:35 UTC
From:
To:
Hi Florian,

Your problem seen to be the same as for
https://bugs.debian.org/712907

Regards,
Salvatore