This is a discussion on Bug#502446: debian-installer: grub-installer is not updated for grub-pc introduction - Debian ; Package: debian-installer
Version: rc2
Severity: important
rc2 comes with grub-pc in its initramfs /pool directory. So d-i team
decided to offer not only grub (grub legacy) but also grub-pc (grub 2).
Good for you.
grub-installer_1.32_i386.udeb
grub-pc_1.96+20080512-1_i386.deb
grub_0.97-39_i386.deb
But if you ...

But if you do, you must take care critical diffrences of these 2
programs.

For /dev/hda3, grub legacy used (hd0,2) while grub 2 use (hd0,3).

The template file in grub-installer needed to be updated not to mislead
users. Template: grub-installer/bootdev needs to be updated
"(hd0,1)" --> "(hd0,2)"
"(hd2,4)" --> "(hd2,5)"
as:

Template: grub-installer/bootdev
Type: string
Description: Device for boot loader installation:
You need to make the newly installed system bootable, by installing
the GRUB boot loader on a bootable device. The usual way to do this is to
install GRUB on the master boot record of your first hard drive. If you
prefer, you can install GRUB elsewhere on the drive, or to another drive,
or even to a floppy.

Bug#502446: debian-installer: grub-installer is not updated for grub-pc introduction

Hi,

I guess it is now reassigned grub-installer.

Not just my emperical experience, here is rational for this bug report.

GRUB 2 uses new bashish scripting language that is used to build menus.
At startup file grub.cfg will be read and executed.

Please note that partition numbering has been changed to start from 1
(in grub legacy it started from 0).
---

As I looked around, here is other issues wth grub-pc install in rc2.

Issuing grub-install /dev/sd? with right install device did not fix
my situation completely.

Editting /boot/grub/grub.cfg with right root device for booting fixed the
situation.

Since this is generated file, root cause is its generation. Generation script
is update-grub. Its /etc/grub.d/30_os-prober is the source of the problem. It
calls commands packaged in os-prober. Most related parts of os-prober is its
backend script: