Bug#521292: grub-common: grub-probe fails on kfreebsd-i386: /dev/ad0s1a is not a block device.

Axel Beckert abe at deuxchevaux.org
Thu Mar 26 15:18:47 UTC 2009


Package: grub-common
Version: 1.96+20090317-1
Severity: normal
User: glibc-bsd-devel at lists.alioth.debian.org
Usertags: kfreebsd

update-grube fails before generating a menu.lst or grub.conf on Debian
GNU/kFreeBSD due to grub-probe doesn't seem to accept character
devices as harddisks:

103/1/0 root at metisse:pts/ttyp2 [~] # cat /boot/grub/device.map
(hd0)   /dev/ad0
104/0/0 root at metisse:pts/ttyp2 [~] # update-grub
grub-probe: error: cannot find a device for /.

105/1/0 root at metisse:pts/ttyp2 [~] # grub-probe /
grub-probe: error: cannot find a device for /.

106/1/0 root at metisse:pts/ttyp2 [~] # grub-probe -v /
grub-probe: info: the size of hd0 is 0
grub-probe: info: the size of hd0 is 0
grub-probe: info: the size of hd0 is 0
grub-probe: info: the size of hd0 is 0
grub-probe: info: changing current directory to /dev
grub-probe: info: changing current directory to fd
grub-probe: info: changing current directory to net
grub-probe: error: cannot find a device for /.

107/1/0 root at metisse:pts/ttyp2 [~] # mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
linprocfs on /proc (linprocfs, local, noexec, nosuid)
108/0/0 root at metisse:pts/ttyp2 [~] # grub-probe -d /dev/ad0s1a
grub-probe: error: /dev/ad0s1a is not a block device.

109/1/0 root at metisse:pts/ttyp2 [~] # grub-probe -v -d /dev/ad0s1a
grub-probe: info: the size of hd0 is 0
grub-probe: info: the size of hd0 is 0
grub-probe: info: the size of hd0 is 0
grub-probe: info: the size of hd0 is 0
grub-probe: error: /dev/ad0s1a is not a block device.

110/1/0 root at metisse:pts/ttyp2 [~] # ls -alFd /dev/ad0s1a
crw-r----- 1 root disk 0, 78 Mar 19 17:55 /dev/ad0s1a
111/0/0 root at metisse:pts/ttyp2 [~] # 

-- System Information:
Debian Release: squeeze/sid
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 7.1-1-686-smp
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-common depends on:
ii  base-files             5.0               Debian base system miscellaneous f
ii  libc0.1                2.9-6             GNU C Library: Shared libraries
ii  libfreetype6           2.3.9-4           FreeType 2 font engine, shared lib
ii  libncurses5            5.7+20090314-1    shared libraries for terminal hand
ii  zlib1g                 1:1.2.3.3.dfsg-13 compression library - runtime

grub-common recommends no packages.

Versions of packages grub-common suggests:
ii  multiboot-doc              0.97-47lenny2 The Multiboot specification

-- no debconf information





More information about the Pkg-grub-devel mailing list