All of lore.kernel.org
 help / color / mirror / Atom feed
* about an grub 2.00 installation error
@ 2014-10-28  0:34 Sun, Ning
  2014-10-28 16:52 ` Sun, Ning
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Sun, Ning @ 2014-10-28  0:34 UTC (permalink / raw)
  To: Grub-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 395 bytes --]

Hi,
I encountered an error when installing grub 2.00 on my Linux system(boot from EFI BIOS), the error showed “source_dir doesn't exist. Please specify --target or -directory”
The error occurred after I run this command:
#grub-install -boot-directory=/boot /dev/sda

Is there anyone encountered the similar error and have a solution to it?

Regards,
Sun Ning




[-- Attachment #2: Type: text/html, Size: 1468 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: about an grub 2.00 installation error
  2014-10-28  0:34 about an grub 2.00 installation error Sun, Ning
@ 2014-10-28 16:52 ` Sun, Ning
  2014-10-28 18:20 ` Chris Murphy
  2014-10-28 22:24 ` Jordan Uggla
  2 siblings, 0 replies; 6+ messages in thread
From: Sun, Ning @ 2014-10-28 16:52 UTC (permalink / raw)
  To: The development of GNU GRUB

[-- Attachment #1: Type: text/plain, Size: 781 bytes --]

Another hint is that currently my linux system use gummiboot as default bootloader…

Regards,
Sun Ning

From: grub-devel-bounces+ning.sun=intel.com@gnu.org [mailto:grub-devel-bounces+ning.sun=intel.com@gnu.org] On Behalf Of Sun, Ning
Sent: Monday, October 27, 2014 5:35 PM
To: Grub-devel@gnu.org
Subject: about an grub 2.00 installation error
Importance: High

Hi,
I encountered an error when installing grub 2.00 on my Linux system(boot from EFI BIOS), the error showed “source_dir doesn't exist. Please specify --target or -directory”
The error occurred after I run this command:
#grub-install -boot-directory=/boot /dev/sda

Is there anyone encountered the similar error and have a solution to it?

Regards,
Sun Ning




[-- Attachment #2: Type: text/html, Size: 6958 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: about an grub 2.00 installation error
  2014-10-28  0:34 about an grub 2.00 installation error Sun, Ning
  2014-10-28 16:52 ` Sun, Ning
@ 2014-10-28 18:20 ` Chris Murphy
  2014-10-29  0:11   ` Sun, Ning
  2014-10-28 22:24 ` Jordan Uggla
  2 siblings, 1 reply; 6+ messages in thread
From: Chris Murphy @ 2014-10-28 18:20 UTC (permalink / raw)
  To: The development of GNU GRUB

[-- Attachment #1: Type: text/plain, Size: 599 bytes --]


On Oct 27, 2014, at 6:34 PM, "Sun, Ning" <ning.sun@intel.com> wrote:

> Hi,
> I encountered an error when installing grub 2.00 on my Linux system(boot from EFI BIOS), the error showed “source_dir doesn't exist. Please specify --target or –directory”
> The error occurred after I run this command:
> #grub-install –boot-directory=/boot /dev/sda

On EFI just run grub-install with no options, it finds /boot/efi/EFI and if necessary creates /boot/efi/EFI/grub and puts grubx64.efi there, and also writes an entry in NVRAM so it should get used by default instead of gummiboot.

Chris Murphy

[-- Attachment #2: Type: text/html, Size: 1518 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: about an grub 2.00 installation error
  2014-10-28  0:34 about an grub 2.00 installation error Sun, Ning
  2014-10-28 16:52 ` Sun, Ning
  2014-10-28 18:20 ` Chris Murphy
@ 2014-10-28 22:24 ` Jordan Uggla
  2 siblings, 0 replies; 6+ messages in thread
From: Jordan Uggla @ 2014-10-28 22:24 UTC (permalink / raw)
  To: The development of GNU GRUB

On Mon, Oct 27, 2014 at 5:34 PM, Sun, Ning <ning.sun@intel.com> wrote:
> Hi,
> I encountered an error when installing grub 2.00 on my Linux system(boot
> from EFI BIOS), the error showed “source_dir doesn't exist. Please specify
> --target or –directory”
> The error occurred after I run this command:
> #grub-install –boot-directory=/boot /dev/sda
>
> Is there anyone encountered the similar error and have a solution to it?

grub-devel is for discussion related to the development of GNU GRUB,
not user support. Please send support questions to help-grub@gnu.org
instead.

-- 
Jordan Uggla (Jordan_U on irc.freenode.net)


^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: about an grub 2.00 installation error
  2014-10-28 18:20 ` Chris Murphy
@ 2014-10-29  0:11   ` Sun, Ning
  2015-01-22 20:27     ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 6+ messages in thread
From: Sun, Ning @ 2014-10-29  0:11 UTC (permalink / raw)
  To: The development of GNU GRUB

[-- Attachment #1: Type: text/plain, Size: 1058 bytes --]

Same message printed on the screen when just run grub-install, suspect it is grub 2.0 bug or defect….

Regards,
Sun Ning

From: grub-devel-bounces+ning.sun=intel.com@gnu.org [mailto:grub-devel-bounces+ning.sun=intel.com@gnu.org] On Behalf Of Chris Murphy
Sent: Tuesday, October 28, 2014 11:20 AM
To: The development of GNU GRUB
Subject: Re: about an grub 2.00 installation error
Importance: High


On Oct 27, 2014, at 6:34 PM, "Sun, Ning" <ning.sun@intel.com<mailto:ning.sun@intel.com>> wrote:


Hi,
I encountered an error when installing grub 2.00 on my Linux system(boot from EFI BIOS), the error showed “source_dir doesn't exist. Please specify --target or -directory”
The error occurred after I run this command:
#grub-install -boot-directory=/boot /dev/sda

On EFI just run grub-install with no options, it finds /boot/efi/EFI and if necessary creates /boot/efi/EFI/grub and puts grubx64.efi there, and also writes an entry in NVRAM so it should get used by default instead of gummiboot.

Chris Murphy

[-- Attachment #2: Type: text/html, Size: 5260 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: about an grub 2.00 installation error
  2014-10-29  0:11   ` Sun, Ning
@ 2015-01-22 20:27     ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 0 replies; 6+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2015-01-22 20:27 UTC (permalink / raw)
  To: The development of GNU GRUB

[-- Attachment #1: Type: text/plain, Size: 1529 bytes --]

On 29.10.2014 01:11, Sun, Ning wrote:
> Same message printed on the screen when just run grub-install, suspect
> it is grub 2.0 bug or defect….
> 
No, you just didn't install the right flavour of GRUB. You forgot to
install grub-efi-amd64
>  
> 
> Regards,
> 
> Sun Ning
> 
>  
> 
> *From:*grub-devel-bounces+ning.sun=intel.com@gnu.org
> [mailto:grub-devel-bounces+ning.sun=intel.com@gnu.org] *On Behalf Of
> *Chris Murphy
> *Sent:* Tuesday, October 28, 2014 11:20 AM
> *To:* The development of GNU GRUB
> *Subject:* Re: about an grub 2.00 installation error
> *Importance:* High
> 
>  
> 
>  
> 
> On Oct 27, 2014, at 6:34 PM, "Sun, Ning" <ning.sun@intel.com
> <mailto:ning.sun@intel.com>> wrote:
> 
> 
> 
>     Hi,
> 
>     I encountered an error when installing grub 2.00 on my Linux
>     system(boot from EFI BIOS), the error showed “source_dir doesn't
>     exist. Please specify --target or –directory”
> 
>     The error occurred after I run this command:
> 
>     *#grub-install –boot-directory=/boot /dev/sda*
> 
>  
> 
> On EFI just run grub-install with no options, it finds /boot/efi/EFI and
> if necessary creates /boot/efi/EFI/grub and puts grubx64.efi there, and
> also writes an entry in NVRAM so it should get used by default instead
> of gummiboot.
> 
>  
> 
> Chris Murphy
> 
> 
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 213 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-01-22 20:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-28  0:34 about an grub 2.00 installation error Sun, Ning
2014-10-28 16:52 ` Sun, Ning
2014-10-28 18:20 ` Chris Murphy
2014-10-29  0:11   ` Sun, Ning
2015-01-22 20:27     ` Vladimir 'φ-coder/phcoder' Serbinenko
2014-10-28 22:24 ` Jordan Uggla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.