Bug#561154: grub-pc: Windows boot fail and reboot the machine using search --no-floppy --fs-uuid --set

Odair Trujillo haldrik at gmail.com
Mon Dec 14 18:11:13 UTC 2009


Package: grub-pc
Version: 1.97+20091210-1
Severity: important

grub detect the windows entry using this option:
search --no-floppy --fs-uuid --set fc4419e144199f86
then windows boot process fail and make reboot the
machine. Without this option it seems works fine. 

Looking on google found that this option also cause
the problem:
drivemap -s (hd0) ${root}, but it is not my case, I don't
have this option on my configuration.

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/e18744f1-e648-483c-9803-e95715e525ec / ext4 rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
/dev/sda8 /home ext4 rw,relatime,barrier=1,data=ordered 0 0
/dev/sda6 /mnt/opensuse ext4 rw,relatime,barrier=1,data=ordered 0 0
/dev/sda7 /mnt/otros ext4 rw,relatime,barrier=1,data=ordered 0 0
*********************** END /proc/mounts

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

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

### BEGIN /etc/grub.d/00_header ###
set default=0
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set e18744f1-e648-483c-9803-e95715e525ec
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
set locale_dir=/boot/grub/locale
set lang=es
insmod gettext 
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set e18744f1-e648-483c-9803-e95715e525ec
insmod png
if background_image /boot/grub/moreblue-orbit-grub.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_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-686" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e18744f1-e648-483c-9803-e95715e525ec
	linux	/boot/vmlinuz-2.6.31-1-686 root=UUID=e18744f1-e648-483c-9803-e95715e525ec ro  quiet
	initrd	/boot/initrd.img-2.6.31-1-686
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-686 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set e18744f1-e648-483c-9803-e95715e525ec
	linux	/boot/vmlinuz-2.6.31-1-686 root=UUID=e18744f1-e648-483c-9803-e95715e525ec ro single 
	initrd	/boot/initrd.img-2.6.31-1-686
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda2)" {
	insmod ntfs
	set root=(hd0,2)
	search --no-floppy --fs-uuid --set fc4419e144199f86
	chainloader +1
}
menuentry "Desktop -- openSUSE 11.2 - 2.6.31.5-0.1 (on /dev/sda6)" {
	insmod ext2
	set root=(hd0,6)
	search --no-floppy --fs-uuid --set cfba4be6-5087-403c-968c-012f0e8e4e5c
	linux /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-TOSHIBA_MK3252GSX_Z84JT3MZT-part6 resume=/dev/disk/by-id/ata-TOSHIBA_MK3252GSX_Z84JT3MZT-part5 splash=silent quiet showopts vga=0x314
	initrd /boot/initrd-2.6.31.5-0.1-desktop
}
menuentry "Failsafe -- openSUSE 11.2 - 2.6.31.5-0.1 (on /dev/sda6)" {
	insmod ext2
	set root=(hd0,6)
	search --no-floppy --fs-uuid --set cfba4be6-5087-403c-968c-012f0e8e4e5c
	linux /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-TOSHIBA_MK3252GSX_Z84JT3MZT-part6 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x314
	initrd /boot/initrd-2.6.31.5-0.1-desktop
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_otheros ###

# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
menuentry "Desktop -- openSUSE 11.2 - 2.6.31.5-0.1 (on /dev/sda6)" {
	set root=(hd0,6)
	search --no-floppy --fs-uuid --set cfba4be6-5087-403c-968c-012f0e8e4e5c
	linux /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-TOSHIBA_MK3252GSX_Z84JT3MZT-part6 resume=/dev/disk/by-id/ata-TOSHIBA_MK3252GSX_Z84JT3MZT-part5 splash=silent quiet showopts vga=0x314 
	initrd /boot/initrd-2.6.31.5-0.1-desktop
}


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda6.
menuentry "Failsafe -- openSUSE 11.2 - 2.6.31.5-0.1 (on /dev/sda6)" {
	set root=(hd0,6)
	search --no-floppy --fs-uuid --set cfba4be6-5087-403c-968c-012f0e8e4e5c
	linux /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-TOSHIBA_MK3252GSX_Z84JT3MZT-part6 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 x11failsafe vga=0x314 
	initrd /boot/initrd-2.6.31.5-0.1-desktop
}

### END /etc/grub.d/30_otheros ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-1-686 (SMP w/2 CPU cores)
Locale: LANG=es_CO.UTF-8, LC_CTYPE=es_CO.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]    1.5.28          Debian configuration management sy
ii  grub-common              1.97+20091210-1 GRand Unified Bootloader, version 
ii  libc6                    2.10.2-2        GNU C Library: Shared libraries
ii  ucf                      3.0025          Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base                  5.0.5      common files for the Debian Deskto

-- debconf information:
  grub2/kfreebsd_cmdline:
* grub2/linux_cmdline:
  grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
* grub-pc/install_devices:
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet





More information about the Pkg-grub-devel mailing list