Bug#542425: error: cannot find a device for /.

Albin Stjerna albin at eval.nu
Fri Aug 28 09:47:41 UTC 2009


Package: grub-pc
Version: 1.96+20090826-3
Severity: normal

I'm having roughly the same problem as the earlier submitter. I'm using the standard "Encrypted LVM" setup, and I have upgraded both LVM and GRUB as adviced earlier, with no success. Though, I haven't rebooted yet, fearing the system would be unbootable.


Output:

Setting up grub-pc (1.96+20090826-3) ...
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/hda
(hd1)  /dev/hdc
grub-probe: error: cannot find a device for /.

dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 1


my /proc/mounts:

rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
none /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev tmpfs rw,relatime,size=10240k,mode=755 0 0
/dev/mapper/nyx-root / ext3 rw,noatime,nodiratime,errors=remount-ro,data=ordered 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
/dev/hda1 /boot ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/storage /var/storage ext3 rw,noatime,nodiratime,errors=continue,data=ordered 0 0


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/mapper/nyx-root / ext3 rw,noatime,nodiratime,errors=remount-ro,data=ordered 0 0
/dev/hda1 /boot ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/storage /var/storage ext3 rw,noatime,nodiratime,errors=continue,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/hda
(hd1)	/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 /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 563eca43-4812-4743-80d1-5e62d512c18b
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 root=(hd0,1)
search --no-floppy --fs-uuid --set 563eca43-4812-4743-80d1-5e62d512c18b
insmod png
if background_image /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, Linux 2.6.30-1-686" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 563eca43-4812-4743-80d1-5e62d512c18b
	linux	/vmlinuz-2.6.30-1-686 root=/dev/mapper/nyx-root ro  quiet
	initrd	/initrd.img-2.6.30-1-686
}
menuentry "Debian GNU/Linux, Linux 2.6.30-1-686 (recovery mode)" {
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 563eca43-4812-4743-80d1-5e62d512c18b
	linux	/vmlinuz-2.6.30-1-686 root=/dev/mapper/nyx-root ro single 
	initrd	/initrd.img-2.6.30-1-686
}
### 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: (990, 'unstable'), (1, 'experimental')
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.96+20090826-3 GRand Unified Bootloader, version 
ii  libc6                    2.9-25          GNU C Library: Shared libraries
ii  ucf                      3.0021          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
ii  genisoimage                   9:1.1.9-1  Creates ISO-9660 CD-ROM filesystem

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





More information about the Pkg-grub-devel mailing list