Bug#544420: grub-pc fails to install

Patrick Winnertz winnie at debian.org
Mon Aug 31 13:26:43 UTC 2009


Package: grub-pc
Version: 1.97~beta1-1
Severity: grave

After the last update apt-get fails to install grub-pc with that error msg:

Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(hd0)/dev/sda
grub-probe: error: cannot find a device for /.


-------------
My system is fully crypted (lvm based), except /boot which is not crypted.

If you need some more informations, I'll try to provide them.

Greetings
Winnie

-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/energy-root / ext3 rw,relatime,errors=remount-ro,data=writeback 0 0
/dev/sda1 /boot ext2 rw,relatime,errors=continue 0 0
/dev/dm-6 /home ext3 rw,relatime,errors=continue,data=writeback 0 0
/dev/dm-5 /tmp ext3 rw,relatime,errors=continue,data=writeback 0 0
/dev/dm-2 /usr ext3 rw,relatime,errors=continue,data=writeback 0 0
/dev/dm-3 /var ext3 rw,relatime,errors=continue,data=writeback 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
set timeout=5
set root=(hd0,1)
search --no-floppy --fs-uuid --set f6f1c24c-2303-4d9f-8663-9af4d7d0b966
if loadfont /grub/ascii.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
### 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" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set f6f1c24c-2303-4d9f-8663-9af4d7d0b966
	linux	/vmlinuz-2.6.30 root=/dev/mapper/energy-root ro  quiet
	initrd	/initrd.img-2.6.30
}
menuentry "Debian GNU/Linux, Linux 2.6.30 (recovery mode)" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set f6f1c24c-2303-4d9f-8663-9af4d7d0b966
	linux	/vmlinuz-2.6.30 root=/dev/mapper/energy-root ro single 
	initrd	/initrd.img-2.6.30
}
menuentry "Debian GNU/Linux, Linux 2.6.29+winnie2" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set f6f1c24c-2303-4d9f-8663-9af4d7d0b966
	linux	/vmlinuz-2.6.29+winnie2 root=/dev/mapper/energy-root ro  quiet
	initrd	/initrd.img-2.6.29+winnie2
}
menuentry "Debian GNU/Linux, Linux 2.6.29+winnie2 (recovery mode)" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set f6f1c24c-2303-4d9f-8663-9af4d7d0b966
	linux	/vmlinuz-2.6.29+winnie2 root=/dev/mapper/energy-root ro single 
	initrd	/initrd.img-2.6.29+winnie2
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.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~beta1-1 GRand Unified Bootloader, version 
ii  libc6                       2.9-23       GNU C Library: Shared libraries
ii  ucf                         3.0021       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:
  grub-pc/linux_cmdline: fillme
* grub2/linux_cmdline:
  grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: false
* grub-pc/install_devices: /dev/sda
  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