Your message dated Sat, 31 Dec 2016 15:24:30 +0000
with message-id <20161231152430.gs20...@riva.ucam.org>
and subject line Re: Bug#830988: Fails to reinstall grub in efi system
has caused the Debian Bug report #830988,
regarding Fails to reinstall grub in efi system
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
830988: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830988
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
package: grub2-common
severity: grave
Version: 2.02~beta2-22+deb8u1

After installing debian 8.5 jessie, I installed Windows. It removed grub from 
mbr, so booted into rescue mode using the same cd 1 image, but grub-install 
failed with this error.

grub-install: error /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please 
specify --target --directory.

Same error when manually run

# chroot /target
# grub-install /dev/sda

I can see /usr/lib/grub/x86_64-efi/modinfo.sh present instead.

When I run 

grub-install -d /usr/lib/grub/x86_64-efi /dev/sda

I get the following error

grub-install: error: cannot find EFI directory

After mounting efi partition

/dev/sda4 under /mnt and passing --efi-directory /mnt

The command succeeded and I could boot into debian after going to boot menu and 
choosing debian.

--- End Message ---
--- Begin Message ---
On Wed, Jul 13, 2016 at 08:26:51PM +0530, Pirate Praveen wrote:
> package: grub2-common
> severity: grave
> Version: 2.02~beta2-22+deb8u1
> 
> After installing debian 8.5 jessie, I installed Windows. It removed grub from 
> mbr, so booted into rescue mode using the same cd 1 image, but grub-install 
> failed with this error.
> 
> grub-install: error /usr/lib/grub/i386-pc/modinfo.sh doesn't exist. Please 
> specify --target --directory.

That happened because the rescue system was booted in BIOS mode rather
than in UEFI mode.  If it had been booted in UEFI mode, then
grub-install would have done the right thing.

Regards,

-- 
Colin Watson                                       [cjwat...@debian.org]

--- End Message ---

Reply via email to