Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Feb 2012 16:35:18 +0400
From:      Mike Sn <u2mike@ya.ru>
To:        freebsd-bugs@FreeBSD.org
Subject:   grub-install problems on FreeBDS 9.0
Message-ID:  <4F2BD486.4060102@ya.ru>

next in thread | raw e-mail | index | archive | help
    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! 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F2BD486.4060102>