help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "search" and "appleloader" commands missing in Grub 2.00~beta0 for E


From: Jake Thomas
Subject: Re: "search" and "appleloader" commands missing in Grub 2.00~beta0 for EFI
Date: Sun, 25 Mar 2012 18:58:02 -0700

Ok, I actually fixed my own problem this time, believe it or not. It's
a bit of a workaround, though, and I'm
curious if a few things are broken.

Just a quick review, I was trying (and now have succeeded) to get Grub
for i386-pc, i386-efi, and x86_64-efi
on a thumb drive. In other words, Grub for BIOS, 32-bit efi, and
64-bit efi, all on the thumb drive.

So I had 3 different folders with Grub source code each configured and
compiled differently with 3 different terminals
each cd'ed to one. Before I could run grub-install from any of them, I
had to do "sudo make install", or else it couldn't find
a certain file. I wonder if that's a bug, because usually when you
compile from source, you can run the program out of the folder you
compiled it in without having to copy it somewhere else, which is what
"make install" does.

The other issue was that  the "--target" switch after the
"grub-install" command didn't seem to work; let me elaborate:

Whether I compiled Grub for x86_64-efi, i386-efi, or i386-pc, the
"grub-install" command always copied the i386-pc-compiled
modules into an i386-pc folder on the destination, even if I specified
some other architecture else with the "--target" switch.

I have found a work-around. The "--destination" switch works quite
will. I just said "--destination ./grub-core", from which grub-install
figured out what architecture the modules were, made a folder named
after that architecture on the destination, and put the grub
modules of appropriate architecture in that folder.

So, it worked. Yippie? : D Just maybe get "--target" working and get
it able to run purely out of its own folder rather than requiring
a "make install". Or maybe I'm just doing something wrong again? I was
specifying my own grub-prefix with the "--boot-directory" switch.

Jake



reply via email to

[Prev in Thread] Current Thread [Next in Thread]