Bug#540786: update-grub/grub-mkconfig doesnt work with btrfs as rootfs

Vladimir Stavrinov vs at inist.ru
Thu Aug 13 08:47:47 UTC 2009


Package: grub-common
Version: 1.96+20090808-1
Severity: normal


The same problem exists in diskless and chrooted environment.

chroot is done onto logical volume, while root directory is partition on
physical device, but both filesystems is ext3. It break chrooted system
upgrade process with error:

grub-probe: error: cannot find a device for /.

that is output of

grub-probe /

calling by update-grub from postinst script.

In case of diskless workstation the root fs is aufs based on cifs.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-common depends on:
ii  base-files             5.0.0             Debian base system miscellaneous f
ii  libc6                  2.9-24            GNU C Library: Shared libraries
ii  libfreetype6           2.3.9-5           FreeType 2 font engine, shared lib
ii  libncurses5            5.7+20090803-1+b1 shared libraries for terminal hand
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

grub-common recommends no packages.

Versions of packages grub-common suggests:
pn  multiboot-doc                 <none>     (no description available)
pn  os-prober                     <none>     (no description available)

-- no debconf information





More information about the Pkg-grub-devel mailing list