Bug#612128: [kfreebsd] grub-pc: fails to configure

Jonathan Nieder jrnieder at gmail.com
Sat Mar 26 10:46:54 UTC 2011


Hi,

Vladimir 'φ-coder/phcoder' Serbinenko wrote:

>> 	/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/ad0s1.  Check your device.map.
>> 	Auto-detection of a filesystem of /dev/ad0s1 failed.
>
> Probable duplicate of #615152. Please try the attached patch

It adds a build-time dependency on libgeom-dev (which
makes sense), and during "make check" I get a lot of pairs of

 Warning: Unable to set kern.geom.debugflags sysctl (Operation not permitted).

messages (e.g., after "Checking APPLE partition types...").  But
the build works.  Trying to install the package, I get

 camcontrol: cam_lookup_pass: CAMGETPASSTHRU ioctl failed
 cam_lookup_pass: No such file or directory
 cam_lookup_pass: either the pass driver isn't in your kernel
 cam_lookup_pass: or ad0 doesn't exist

(four times) but all seems to be well (and it boots).  This is with
kfreebsd 8.1-1-amd64 8.1+dfsg-7.1.

So it seems to work here.  Thanks!

Regards,
Jonathan





More information about the Pkg-grub-devel mailing list