grub-devel
[Top][All Lists]
Advanced

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

Re: x86_64 EFI support for grub2 ?


From: Bean
Subject: Re: x86_64 EFI support for grub2 ?
Date: Mon, 26 May 2008 22:23:34 +0800

On Mon, May 26, 2008 at 9:25 PM, Isaac Dupree
<address@hidden> wrote:
> Bean wrote:
>>
>> On Sun, May 25, 2008 at 11:48 PM, Isaac Dupree
>> <address@hidden> wrote:
>>>
>>> (oh, since I'm running a 32-bit Linux on my 64-bit machine right now, I'm
>>> not sure if I'll actually be a useful tester?)
>>
>> BTW, it's really easy to test efi image with the latest refit. Just
>> install refit 0.11 in OS X, and it would be used as the default boot
>> manager. Then, copy an efi image to / or /efi/xxxx/ of any
>> fat/ext2/ext3/hfs+/reiserfs partition (remember to install the fs
>> module, though), and it show up automatically in the boot menu.
>>
>> You can verify it with refit 0.9 which use ia32 image. Download the
>> binary package, extract refit.efi to the root directory, and it should
>> be in the menu. When you choose it, it would say unsupported image.
>
> (refit 0.9 worked for me in OSX, I don't remember whether I'm using 0.9 or
> 0.10 right now)
>
> But I'm sure I was building an ia32 grub2, and refit quite happily loaded
> that image -- it was just was in grub2 "rescue mode" for that old efi grub2.

Oh, you're lucky, the ia32 image doesn't work for me. Perhaps apple
change the firmware for the new modals.

>
> And I meant that if I had to compile anything grub2, I wasn't sure if a
> 32bit Linux could make a 64bit grub efi image.. but if you can make the
> image, then no problem at all!

With the cross compilation tool, it's possible to create 64bit image
in 32bit environment. In debian, all you need to do is install the
grub-multilib package and use the -m64 compile option in gcc.

-- 
Bean




reply via email to

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