Dear GRUB 2 developers,
I am trying GRUB 2 on NetBSD, and grub-mkdevicemap does not detect any
device except the floppy drive. According to util/grub-mkdevicemap.c,
the problem comes from HAVE_OPENDISK, which should be defined when
compiling on NetBSD.
The configure.ac script for GRUB Legacy contained the following lines:
# Get the filename or the whole disk and open it.
# Known to work on NetBSD.
AC_CHECK_LIB(util, opendisk, [GRUB_LIBS="$GRUB_LIBS -lutil"
AC_DEFINE(HAVE_OPENDISK, 1, [Define if opendisk() in -lutil can be
used])])
But I did not find anything similar in GRUB 2's configure -- is it
possible to add them?
Thanks,
Grégoire
_______________________________________________
Bug-grub mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-grub