Bug#558211: [grub-pc] update-grub2 generates invalid uuid for windows entry

Vedran Furač vedran.furac at gmail.com
Fri Nov 27 01:43:21 UTC 2009


Package: grub-pc
Version: 1.97+experimental.20091114-1
Severity: important

Update-grub generates invalid (unable to boot) uuid for windows entry in
grub.cfg:

 search --no-floppy --fs-uuid --set 4abccae2bccac821

insted of:

 search --no-floppy --fs-uuid --set 1A1878991878761B

Regards,

Vedran


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.31-1-amd64

Debian Release: squeeze/sid
  900 unstable        www.debian-multimedia.org
  900 unstable        ftp.debian.org
  800 experimental    www.debian-multimedia.org
  800 experimental    ftp.debian.org
  500 testing         secure-testing.debian.net
  500 testing         ftp.debian.org
  500 karmic          packages.medibuntu.org
  500 jaunty          ppa.launchpad.net

--- Package information. ---
Depends                                (Version) | Installed
================================================-+-=================================
libc6                                   (>= 2.3) | 2.10.2-2
debconf                                (>= 0.5)  | 1.5.28
 OR debconf-2.0                                  |
grub-common     (= 1.97+experimental.20091114-1) |
1.97+experimental.20091114-1
ucf                                              | 3.0025


Package's Recommends field is empty.

Suggests          (Version) | Installed
===========================-+-===========
desktop-base     (>= 4.0.6) | 5.0.5
genisoimage                 | 9:1.1.9-1



--- Output from package bug script ---

*********************** BEGIN /proc/mounts
/dev/mapper/vg-root / ext4
rw,relatime,errors=remount-ro,barrier=1,data=ordered 0 0
/dev/mapper/vg-home /home ext4
rw,noatime,user_xattr,barrier=1,data=ordered,usrquota 0 0
/dev/mapper/vg-var /var ext4 rw,relatime,barrier=1,data=ordered 0 0
/dev/sda1 /mnt/ntfs fuseblk
rw,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0
/dev/usb_maxtor /media/MAXTOR.1000 ext4
rw,noatime,barrier=1,data=ordered 0 0
/dev/usb_wd /media/WD_320 fuseblk
rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/sda
(hd1)	/dev/sdb
*********************** 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 lvm
insmod ext2
set root=(vg-root)
search --no-floppy --fs-uuid --set d06902bc-3d6c-440c-a173-3d180f56cf0f
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=1280x1024
  insmod gfxterm
  insmod vbe
  set gfxpayload=1280x1024
  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 timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
gfxpayload=keep
insmod lvm
insmod ext2
set root=(vg-root)
search --no-floppy --fs-uuid --set d06902bc-3d6c-440c-a173-3d180f56cf0f
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-amd64" {
	insmod lvm
	insmod ext2
	set root=(vg-root)
	search --no-floppy --fs-uuid --set d06902bc-3d6c-440c-a173-3d180f56cf0f
	linux	/boot/vmlinuz-2.6.31-1-amd64 root=/dev/mapper/vg-root ro
video=vesafb:ypan,1280x1024-32 at 75 elevator=cfq fbcon=scrollback:64
gfxpayload=1280x1024
	initrd	/boot/initrd.img-2.6.31-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.31-1-amd64 (recovery mode)" {
	insmod lvm
	insmod ext2
	set root=(vg-root)
	search --no-floppy --fs-uuid --set d06902bc-3d6c-440c-a173-3d180f56cf0f
	linux	/boot/vmlinuz-2.6.31-1-amd64 root=/dev/mapper/vg-root ro single
video=vesafb:ypan,1280x1024-32 at 75 elevator=cfq fbcon=scrollback:64
gfxpayload=1280x1024
	initrd	/boot/initrd.img-2.6.31-1-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64" {
	insmod lvm
	insmod ext2
	set root=(vg-root)
	search --no-floppy --fs-uuid --set d06902bc-3d6c-440c-a173-3d180f56cf0f
	linux	/boot/vmlinuz-2.6.30-2-amd64 root=/dev/mapper/vg-root ro
video=vesafb:ypan,1280x1024-32 at 75 elevator=cfq fbcon=scrollback:64
gfxpayload=1280x1024
	initrd	/boot/initrd.img-2.6.30-2-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64 (recovery mode)" {
	insmod lvm
	insmod ext2
	set root=(vg-root)
	search --no-floppy --fs-uuid --set d06902bc-3d6c-440c-a173-3d180f56cf0f
	linux	/boot/vmlinuz-2.6.30-2-amd64 root=/dev/mapper/vg-root ro single
video=vesafb:ypan,1280x1024-32 at 75 elevator=cfq fbcon=scrollback:64
gfxpayload=1280x1024
	initrd	/boot/initrd.img-2.6.30-2-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod lvm
	insmod ext2
	set root=(vg-root)
	search --no-floppy --fs-uuid --set d06902bc-3d6c-440c-a173-3d180f56cf0f
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod lvm
	insmod ext2
	set root=(vg-root)
	search --no-floppy --fs-uuid --set d06902bc-3d6c-440c-a173-3d180f56cf0f
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

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

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
menuentry "Windows NT/2000/XP (loader)" {
	set root=(hd0,1)
#	search --no-floppy --fs-uuid --set 4abccae2bccac821
	search --no-floppy --fs-uuid --set 1A1878991878761B
	drivemap -s (hd0) $root
	chainloader +1
}
### 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

-- 
http://vedranf.net | a8e7a7783ca0d460fee090cc584adc12





More information about the Pkg-grub-devel mailing list