Bug#724030: grub2-common: grub-install use “/usr/local/lib/grub/i386-pc” as default directory

Colin Watson cjwatson at debian.org
Mon Sep 23 08:29:46 UTC 2013


On Sun, Sep 22, 2013 at 01:29:54PM +0200, Daniel Dehennin wrote:
> I got an error message about a failure to install grub2 when upgrading
> my system.
> 
> On a console as root:
> 
>     # grub-install /dev/sda
>     /usr/local/lib/grub/i386-pc doesn't exist. Please specify --target or --directory

This message isn't one that can possibly be emitted by the version of
grub-install in grub2-common 2.00-19, not least because that particular
error message was somewhat broken in 2.00 and always said "source_dir"
rather than the full path.  You must have a locally-built version from
upstream installed such that it overrides the packaged versions; don't
do this unless you actually want it to override!

  which grub-install

-- 
Colin Watson                                       [cjwatson at debian.org]



More information about the Pkg-grub-devel mailing list