#729309 grub2 in dual-boot system: error in Windows menu entry

Package:
grub2-common
Source:
grub2
Description:
GRand Unified Bootloader (common files for version 2)
Submitter:
lothar atheling
Date:
2013-11-11 23:33:10 UTC
Severity:
minor
#729309#5
Date:
2013-11-11 17:03:04 UTC
From:
To:
Image version: debian-live-7.0.0-amd64-xfce-desktop.iso
http://cdimage.debian.org/cdimage/archive/7.0.0/amd64/iso-dvd/

Date: 2013.10.20 13:05

i have installed Debian 7.0 with grub dual-booting on a machine with
Windows XP,
from the above image.

when i boot, get the grub menu, choose the Windows Xp Professional menu
entry,
there is the grub message:
  error no argument

  press any key to continue.

pressing some key then boots Windows properly.

the problem is caused by an error in /boot/grub/grub.cfg in menu entry
for Windows:

  menuentry "Microsoft Windows XP Professional":

  search --no-floppy --fs-uuid --set EA7C3BB97C3B7F7F

the search line should have "--set=root" not "--set".

this issue has been previously reported in:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675530

#729309#10
Date:
2013-11-11 23:31:47 UTC
From:
To:
please note that the same issue applies to Fedora 19 menu entries on the
same machine:

  menuentry "Fedora, with Linux 3.9.5-301.fc19.i686 (on /dev/sda9)"
  menuentry "Fedora, with Linux
  0-rescue-9388a5eb453d59f4fd98567b37061720 (on /dev/sda9)"