about an grub 2.00 installation error

2014-10-27 Thread Sun, Ning
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 th

Re: GRUB booting Mac OS X (xnu)

2014-10-27 Thread Chris Murphy
On Oct 27, 2014, at 12:01 PM, Andrei Borzenkov wrote: > В Mon, 27 Oct 2014 10:30:31 -0600 > Chris Murphy пишет: > >> >> On Oct 27, 2014, at 1:39 AM, Andrei Borzenkov wrote: >> >> >> >>> It does not look like anything needs to >>> be changed in grub2 though. You will need to modify os-prob

Re: building grub2 on a Mac, possible bug

2014-10-27 Thread Chris Murphy
On Oct 27, 2014, at 11:46 AM, Mike Gilbert wrote: > ./configure --build=x86_64-pc-linux-gnu OK so do ./configure --build=x86_64-pc-linux-gnu --platform=efi ? Passing only --platform=efi did seem to work: it compiled and grub-install works. Chris Murphy

Re: GRUB booting Mac OS X (xnu)

2014-10-27 Thread Andrei Borzenkov
В Mon, 27 Oct 2014 10:30:31 -0600 Chris Murphy пишет: > > On Oct 27, 2014, at 1:39 AM, Andrei Borzenkov wrote: > > > > > It does not look like anything needs to > > be changed in grub2 though. You will need to modify os-prober to > > return efi loader type in this case; grub2 already support

Re: building grub2 on a Mac, possible bug

2014-10-27 Thread Mike Gilbert
On Sun, Oct 26, 2014 at 11:24 PM, Andrei Borzenkov wrote: > В Sun, 26 Oct 2014 21:00:18 -0600 > Chris Murphy пишет: > >> This is on a macbookpro9,2, running Fedora 20, and I've git cloned from >> git://git.savannah.gnu.org/grub.git and I'm in master branch. >> >> $ ./configure >> checking build

Re: GRUB booting Mac OS X (xnu)

2014-10-27 Thread Chris Murphy
On Oct 27, 2014, at 1:39 AM, Andrei Borzenkov wrote: > It does not look like anything needs to > be changed in grub2 though. You will need to modify os-prober to > return efi loader type in this case; grub2 already supports > chainloading EFI binary in 30_os-prober. 30_os-prober creates this

Re: Patch to support GELI passphrase passthrough

2014-10-27 Thread Kris Moore
On 10/22/2014 13:50, Kris Moore wrote: > On 10/22/2014 13:47, Andrei Borzenkov wrote: >> В Wed, 22 Oct 2014 13:12:32 -0400 >> Kris Moore пишет: >> >>> Hey, just a small patch to submit today. If you rather I send this to >>> the bug tracker then I can do that also. >>> >>> This patch allows export

Re: GRUB booting Mac OS X (xnu)

2014-10-27 Thread Andrei Borzenkov
On Mon, Oct 27, 2014 at 7:06 AM, Chris Murphy wrote: > OK I've got this working. The problem was user error. Explicitly setting root > is necessary, and I've updated the bug. > https://savannah.gnu.org/bugs/index.php?42954 > > So the approach of chainloading Apple's boot.efi is valid. What's need