Bug#492964: grub-pc: cross install Windows: "invalid identifier"

Sladan sladivadi at aon.at
Wed Jul 30 09:20:22 UTC 2008


Package: grub-pc
Version: 1.96+20080724-2
Severity: normal

I did "grub-install sda" and selecting Windows in the Grub2 menu returns "invalid identifier". When selecting Linux after trying Windows it returns "you have to load a kernel first". I can boot Linux after a reboot and Linux is always OK whithout trying the Windows entry first.
Windows is on sda3 (SATA) and Linux on hda2 (PATA). In the console it says root=hd1,2 when Linux works. It's root=hd1,3 after trying the Windows entry.


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/b7fc2cb7-89b7-4de8-8dee-8d7eea144aca / ext3 rw,errors=remount-ro,data=ordered 0 0
/dev/disk/by-uuid/b7fc2cb7-89b7-4de8-8dee-8d7eea144aca /dev/.static/dev ext3 rw,errors=remount-ro,data=ordered 0 0
/dev/hda3 /home ext3 rw,errors=continue,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/hda
(hd1)	/dev/sda
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(hd0,2)
search --fs-uuid --set b7fc2cb7-89b7-4de8-8dee-8d7eea144aca
if font /usr/share/grub/ascii.pff ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  terminal gfxterm
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set root=(hd0,2)
search --fs-uuid --set b7fc2cb7-89b7-4de8-8dee-8d7eea144aca
insmod png
if background_image /boot/grub/debian-blueish-wallpaper-640x480.png ; then
  set color_normal=black/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
set root=(hd0,2)
search --fs-uuid --set b7fc2cb7-89b7-4de8-8dee-8d7eea144aca
menuentry "Debian GNU/Linux, linux 2.6.25-2-amd64" {
	linux	/boot/vmlinuz-2.6.25-2-amd64 root=UUID=b7fc2cb7-89b7-4de8-8dee-8d7eea144aca ro vga=0x34a 
	initrd	/boot/initrd.img-2.6.25-2-amd64
}
menuentry "Debian GNU/Linux, linux 2.6.25-2-amd64 (single-user mode)" {
	linux	/boot/vmlinuz-2.6.25-2-amd64 root=UUID=b7fc2cb7-89b7-4de8-8dee-8d7eea144aca ro single vga=0x34a
	initrd	/boot/initrd.img-2.6.25-2-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Home Edition (on /dev/sda3)" {
	set root=(hd1,3)
	chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]    1.5.22          Debian configuration management sy
ii  grub-common              1.96+20080724-2 GRand Unified Bootloader, version 
ii  libc6                    2.7-10          GNU C Library: Shared libraries
ii  liblzo2-2                2.03-1          data compression library
ii  libncurses5              5.6+20080713-1  shared libraries for terminal hand

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base                  4.0.7      common files for the Debian Deskto
ii  os-prober                     1.26       utility to detect other OSes on a 

-- debconf information:
* grub-pc/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true





More information about the Pkg-grub-devel mailing list