grub-install problems on FreeBDS 9.0

Mike Sn u2mike at
Fri Feb 3 12:35:05 UTC 2012

    Good day! I've install FreeBSD 9.0 (amd64) on my machine and install
grub2 (pkg_add -r grub2). I saw some problem with installing it
(grub-install hd0). First problem in line (/usr/local/sbin/grub-install):

# Write device to a variable so we don't have to traverse /dev every time.
grub_device=`$grub_probe --target=device ${grubdir}`

grub-probe returns /dev/ada0s2a but for installation needs /dev/ada0s2

Second problem arises with calling with hd0 value (grub-install hd0). I
avoided this problem. I called grub-install /dev/ad4 and had success!

My HDD description:
  /dev/ad4s1 - ntfs
  /dev/ad4s2a - /
  /dev/ad4s2b - swap

     Best Regards! 

More information about the freebsd-bugs mailing list