Bug#568529: overwrites MBR of installation medium
During installation of debian squezee using USB flash drive (hd-media)
grub-installer has overwritten its MBR (obviously, it has /dev/sda device
associated with it).
I'm aware that device enumeration issues were reported in #517563 and
#516280 and are present in errata for lenny release RC2, but I believe
that installer should not overwrite installation medium under any
The problem seems to be located in grub-installer script. When
grub-installer/only_debian is set to true the bootdev is set
unconditionally to '(hd0)'. Installer should make sure that this device
is not installation medium by any chance.
I've set severity to grave because of data loss (MBR), but the case is
obviously not so common so feel free to reduce it.