Bug#530357: grub-pc: with dedicate /boot filesystem, search line uses / uuid instead of /boot uuid

Arthur Marsh arthur.marsh at internode.on.net
Tue May 26 01:58:36 UTC 2009


Package: grub-pc
Version: 1.96+20090523-1
Severity: important


The search command in /boot/grub/grub.cfg recently started 
using the wrong UUID.

This problem apparently only occurs because I have a dedicated /boot
filesystem.

vol_id /dev/hda1

ID_FS_USAGE=filesystem
ID_FS_TYPE=ext3
ID_FS_VERSION=1.0
ID_FS_UUID=bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
ID_FS_UUID_ENC=bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
ID_FS_LABEL=
ID_FS_LABEL_ENC=

vol_id /dev/hda7

ID_FS_USAGE=filesystem
ID_FS_TYPE=ext3
ID_FS_VERSION=1.0
ID_FS_UUID=96c96a61-8615-4715-86d0-09cb8c62638c
ID_FS_UUID_ENC=96c96a61-8615-4715-86d0-09cb8c62638c
ID_FS_LABEL=
ID_FS_LABEL_ENC=


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/hda7 / ext3 rw,relatime,errors=remount-ro,data=writeback 0 0
/dev/hda1 /boot ext3 rw,relatime,errors=remount-ro,data=writeback 0 0
/dev/hda6 /victoria vfat rw,relatime,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8 0 0
/dev/sdb1 /scsic vfat rw,relatime,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8 0 0
/dev/sda /mnt/usb8gig vfat rw,nosuid,nodev,noexec,relatime,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8,shortname=win95 0 0
/dev/sdb5 /scsid vfat rw,relatime,uid=65534,gid=65534,fmask=0000,dmask=0000,allow_utime=0022,codepage=cp437,iocharset=utf8 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/hda
(hd1)   /dev/disk/by-id/scsi-SIBM_DCAS-34330W_F3T92021
(hd2)   /dev/disk/by-id/usb-Verbatim_STORE_N_GO_078A18B40293-0:0
#(hd2)   /dev/disk/by-id/usb-Flash_Drive_AU_USB2.0_OGUN4WMN-0:0
(hd3) /dev/hdc
*********************** 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  and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=2
set timeout=10
if terminal_input console ; then true ; else
  # For backward compatibility with versions of terminal.mod that don't
  # understand terminal_input
  terminal console
fi
if terminal_output console ; then true ; else
  # For backward compatibility with versions of terminal.mod that don't
  # understand terminal_output
  terminal console
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, linux 2.6.30-rc6-686" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.30-rc6-686 root=/dev/hda7 ro  
	initrd	/initrd.img-2.6.30-rc6-686
}
menuentry "Debian GNU/Linux, linux 2.6.30-rc6-686 (recovery mode)" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.30-rc6-686 root=/dev/hda7 ro single 
	initrd	/initrd.img-2.6.30-rc6-686
}
menuentry "Debian GNU/Linux, linux 2.6.30-rc6" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.30-rc6 root=/dev/hda7 ro  
	initrd	/initrd.img-2.6.30-rc6
}
menuentry "Debian GNU/Linux, linux 2.6.30-rc6 (recovery mode)" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.30-rc6 root=/dev/hda7 ro single 
	initrd	/initrd.img-2.6.30-rc6
}
menuentry "Debian GNU/Linux, linux 2.6.30-rc5" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.30-rc5 root=/dev/hda7 ro  
	initrd	/initrd.img-2.6.30-rc5
}
menuentry "Debian GNU/Linux, linux 2.6.30-rc5 (recovery mode)" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.30-rc5 root=/dev/hda7 ro single 
	initrd	/initrd.img-2.6.30-rc5
}
menuentry "Debian GNU/Linux, linux 2.6.30-rc4-686" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.30-rc4-686 root=/dev/hda7 ro  
	initrd	/initrd.img-2.6.30-rc4-686
}
menuentry "Debian GNU/Linux, linux 2.6.30-rc4-686 (recovery mode)" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.30-rc4-686 root=/dev/hda7 ro single 
	initrd	/initrd.img-2.6.30-rc4-686
}
menuentry "Debian GNU/Linux, linux 2.6.30-rc3-686" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.30-rc3-686 root=/dev/hda7 ro  
	initrd	/initrd.img-2.6.30-rc3-686
}
menuentry "Debian GNU/Linux, linux 2.6.30-rc3-686 (recovery mode)" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.30-rc3-686 root=/dev/hda7 ro single 
	initrd	/initrd.img-2.6.30-rc3-686
}
menuentry "Debian GNU/Linux, linux 2.6.29-2-686" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.29-2-686 root=/dev/hda7 ro  
	initrd	/initrd.img-2.6.29-2-686
}
menuentry "Debian GNU/Linux, linux 2.6.29-2-686 (recovery mode)" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.29-2-686 root=/dev/hda7 ro single 
	initrd	/initrd.img-2.6.29-2-686
}
menuentry "Debian GNU/Linux, linux 2.6.29-1-686" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.29-1-686 root=/dev/hda7 ro  
	initrd	/initrd.img-2.6.29-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.29-1-686 (recovery mode)" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.29-1-686 root=/dev/hda7 ro single 
	initrd	/initrd.img-2.6.29-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.29" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.29 root=/dev/hda7 ro  
	initrd	/initrd.img-2.6.29
}
menuentry "Debian GNU/Linux, linux 2.6.29 (recovery mode)" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.29 root=/dev/hda7 ro single 
	initrd	/initrd.img-2.6.29
}
menuentry "Debian GNU/Linux, linux 2.6.28-1-686" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.28-1-686 root=/dev/hda7 ro  
	initrd	/initrd.img-2.6.28-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.28-1-686 (recovery mode)" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.28-1-686 root=/dev/hda7 ro single 
	initrd	/initrd.img-2.6.28-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.28" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.28 root=/dev/hda7 ro  
	initrd	/initrd.img-2.6.28
}
menuentry "Debian GNU/Linux, linux 2.6.28 (recovery mode)" {
	set root=(hd0,1)
	search --fs-uuid --set bfdeb6d6-0b77-4beb-a63d-bdc3e455b8ea
	linux	/vmlinuz-2.6.28 root=/dev/hda7 ro single 
	initrd	/initrd.img-2.6.28
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	linux	/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	linux	/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 95/98/Me (on /dev/sdb1)" {
	set root=(hd1,1)
	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: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-rc6 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.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.26          Debian configuration management sy
ii  grub-common              1.96+20090523-1 GRand Unified Bootloader, version 
ii  libc6                    2.9-12          GNU C Library: Shared libraries

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
pn  desktop-base                  <none>     (no description available)
ii  genisoimage                   9:1.1.9-1  Creates ISO-9660 CD-ROM filesystem
ii  os-prober                     1.29       utility to detect other OSes on a 

-- debconf-show failed





More information about the Pkg-grub-devel mailing list