Bug#425558: grub-of: grub-probe fails to recognize device
Zoho Vignochi
zoho.vignochi at gmail.com
Tue May 22 13:48:56 UTC 2007
Package: grub-of
Version: 1.95+20070520-1
Severity: important
Installing grub-of fails with the information:
Setting up grub-of (1.95+20070520-1) ...
grub-probe: error: unknown device
dpkg: error processing grub-of (--configure):
subprocess post-installation script returned error exit status 1
I have a device.map file with contents
(hd0) /dev/hda
I have a separate boot partition /dev/hda1. My machine is a Pegasos II
so currently I boot directly form the OF prompt. Running grub-probe -v
/boot/grub outputs:
grub-probe: info: the size of hd0 is 0
grub-probe: info: opening the device `/dev/hda'
grub-probe: info: the size of hd0 is 0
grub-probe: info: opening the device `/dev/hda'
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/mapper
grub-probe: info: changing current directory to /dev
grub-probe: info: changing current directory to dri
grub-probe: info: changing current directory to snd
grub-probe: info: changing current directory to net
grub-probe: info: changing current directory to loop
grub-probe: info: changing current directory to shm
grub-probe: info: changing current directory to resolvconf
grub-probe: info: changing current directory to interface
grub-probe: info: changing current directory to pts
grub-probe: info: changing current directory to pink
grub-probe: info: changing current directory to mapper
grub-probe: info: /dev/hda1 starts from 16065
grub-probe: info: opening the device hd0
grub-probe: info: the size of hd0 is 0
cannot find a GRUB drive for /dev/hda1.
Running grub-probe -t device -v /boot/grub
grub-probe: info: the size of hd0 is 0
grub-probe: info: opening the device `/dev/hda'
grub-probe: info: the size of hd0 is 0
grub-probe: info: opening the device `/dev/hda'
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/mapper
grub-probe: info: changing current directory to /dev
grub-probe: info: changing current directory to dri
grub-probe: info: changing current directory to snd
grub-probe: info: changing current directory to net
grub-probe: info: changing current directory to loop
grub-probe: info: changing current directory to shm
grub-probe: info: changing current directory to resolvconf
grub-probe: info: changing current directory to interface
grub-probe: info: changing current directory to pts
grub-probe: info: changing current directory to pink
grub-probe: info: changing current directory to mapper
/dev/hda1
-- Package-specific info:
*********************** BEGIN /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw 0 0
/dev/mapper/pink-root / ext3 rw,noatime,nodiratime,data=ordered 0 0
none /selinux selinuxfs rw 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
/dev/hda1 /boot ext3 ro,nosuid,nodev,noexec,noatime,nodiratime,data=ordered 0 0
/dev/mapper/pink-tmp /tmp ext3 rw,nosuid,nodev,noexec,noatime,nodiratime,data=ordered 0 0
/dev/mapper/pink-usr /usr ext3 rw,nodev,noatime,nodiratime,data=ordered 0 0
/dev/mapper/pink-var /var ext3 rw,nodev,noatime,nodiratime,data=ordered 0 0
/dev/mapper/pink-home /home ext3 rw,nosuid,nodev,noatime,nodiratime,data=ordered 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec 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 automaticaly generated by /usr/sbin/update-grub using templates from /etc/grub.d
#
### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, linux 2.6.18-4-powerpc" {
linux /boot/vmlinux-2.6.18-4-powerpc root= ro
initrd /boot/initrd.img-2.6.18-4-powerpc
}
menuentry "Debian GNU/Linux, linux 2.6.18-4-powerpc (single-user mode)" {
linux /boot/vmlinux-2.6.18-4-powerpc root= ro single
initrd /boot/initrd.img-2.6.18-4-powerpc
}
menuentry "Debian GNU/Linux, linux 2.6.20-1-powerpc" {
linux /boot/vmlinux-2.6.20-1-powerpc root= ro
initrd /boot/initrd.img-2.6.20-1-powerpc
}
menuentry "Debian GNU/Linux, linux 2.6.20-1-powerpc (single-user mode)" {
linux /boot/vmlinux-2.6.20-1-powerpc root= ro single
initrd /boot/initrd.img-2.6.20-1-powerpc
}
menuentry "Debian GNU/Linux, linux 2.6.18-4-powerpc" {
linux /boot/vmlinuz-2.6.18-4-powerpc root= ro
initrd /boot/initrd.img-2.6.18-4-powerpc
}
menuentry "Debian GNU/Linux, linux 2.6.18-4-powerpc (single-user mode)" {
linux /boot/vmlinuz-2.6.18-4-powerpc root= ro single
initrd /boot/initrd.img-2.6.18-4-powerpc
}
### END /etc/grub.d/10_linux ###
*********************** END /boot/grub/grub.cfg
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (800, 'unstable'), (50, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.21-1-powerpc
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages grub-of depends on:
ii libc6 2.5-8 GNU C Library: Shared libraries
ii powerpc-ibm-utils 1.0.2-1 utilities for maintenance of IBM P
grub-of recommends no packages.
-- no debconf information
More information about the Pkg-grub-devel
mailing list