Bug#548803: grub-pc: GRUB2 can't find device via UUID

Alexandre Lymberopoulos lymber at ime.usp.br
Mon Sep 28 21:18:53 UTC 2009


Package: grub-pc
Version: 1.97~beta3-1
Severity: normal


Once trying to boot inside the chainload of grub2 (I didn't run upgrade-from-grub-legacy yet) I get the following message

error: can't find device uuid 7db31666-2b6f-4a25-81ab-06c29d8c4a29
(in fact, it is something like that)

and the it gets back to the menu (the one which is supposed to be the menu after the complete upgrade).

The uuid of my drive is actually that one (at least blkid says so). It boots when I edit the menu and remove that search line and specify root as root=/dev/hda1. I really can't figure out what's going on. Also the memtest entries need to be edited (linux16 instead of linux) in order to work.

Thanks in advance.

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/hda1 / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/hda
*********************** 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 7db31666-2b6f-4a25-81ab-06c29d8c4a29
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=1024x768
  # The line bellow keeps the vga mode to console
  set gfxpayload=keep
  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 timeout=5
### 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-1-686" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 7db31666-2b6f-4a25-81ab-06c29d8c4a29
	linux	/boot/vmlinuz-2.6.30-1-686 root=UUID=7db31666-2b6f-4a25-81ab-06c29d8c4a29 ro  quiet
	initrd	/boot/initrd.img-2.6.30-1-686
}
menuentry "Debian GNU/Linux, Linux 2.6.30-1-686 (recovery mode)" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 7db31666-2b6f-4a25-81ab-06c29d8c4a29
	linux	/boot/vmlinuz-2.6.30-1-686 root=UUID=7db31666-2b6f-4a25-81ab-06c29d8c4a29 ro single 
	initrd	/boot/initrd.img-2.6.30-1-686
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	linux	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	linux	/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/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 testing
  APT policy: (900, 'testing'), (400, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
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.27       Debian configuration management sy
ii  grub-common                 1.97~beta3-1 GRand Unified Bootloader, version 
ii  libc6                       2.9-25       GNU C Library: Shared libraries
ii  ucf                         3.0022       Update Configuration File: preserv

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

-- debconf information:
  grub2/kfreebsd_cmdline:
* grub2/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: true
  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