Re: EFI Boot on MacPro

2009-01-13 Thread peter cros
Those numbers look better. Hanging at that stage can be due to incorrect boot command - trying to boot a kernel which requires an initrd. (not the only possibility). In my case I use - linux /vmlinuz root=/dev/sda3 video=efifb initrd /initrd.img If I try to boot without initrd I get your result.

Re: EFI Boot on MacPro

2009-01-12 Thread Ziling Zhao
On Fri, Jan 9, 2009 at 4:06 PM, peter cros wrote: > It all seems a bit strange, > [Linux-bzImage, setup=0x2c00, size=0x2ff4701] > Size=50 MB - very big kernel if it is true. > > > On Fri, Jan 9, 2009 at 5:36 PM, Bean wrote: > >> On Fri, Jan 9, 2009 at 5:32 AM, Ziling Zhao wrote: >> > I haven'

Re: EFI Boot on MacPro

2009-01-12 Thread Michal Suchanek
2009/1/8 peter cros : > Successfully booting linux 2.6.27 on MacBook2,1 - details. > > i386 grub.efi, SVN version 1913. > > ubuntu 810, kernel version 2.6.27-7-generic (installed today). >2244272 2008-10-24 19:29 vmlinuz-2.6.27-7-generic >8177710 2009-01-08 16:48 initrd.img-2.6.27-7-generi

Re: EFI Boot on MacPro

2009-01-12 Thread Bean
On Mon, Jan 12, 2009 at 4:40 PM, peter cros wrote: > > I tried your 64bit grub.efi, same result - hangs at start (on current > imac8,1). > I wonder if you have tested on the current MacBook or MacBook Pro, perhaps > Apple have made another change. Also I dont have any info on previous Imac > model

Re: EFI Boot on MacPro

2009-01-12 Thread peter cros
I tried your 64bit grub.efi, same result - hangs at start (on current imac8,1). I wonder if you have tested on the current MacBook or MacBook Pro, perhaps Apple have made another change. Also I dont have any info on previous Imac models. I was able to get a return via grub_main() only by excluding

Re: EFI Boot on MacPro

2009-01-11 Thread Bean
On Mon, Jan 12, 2009 at 12:00 AM, peter cros wrote: > It is here - (return checked in refit efi shell and gui) > Can't go any further until that is fixed. > > kern/x86_64/efi/startup.S > --- > > This hangs - > > codestart: > movq%rcx, EXT_C(grub_efi_image_handle) >

Re: EFI Boot on MacPro

2009-01-11 Thread peter cros
It is here - (return checked in refit efi shell and gui) Can't go any further until that is fixed. kern/x86_64/efi/startup.S --- This hangs - codestart: movq%rcx, EXT_C(grub_efi_image_handle) movq%rdx, EXT_C(grub_efi_system_table) +ret callEXT_C(grub

Re: EFI Boot on MacPro

2009-01-10 Thread Bean
On Sun, Jan 11, 2009 at 10:44 AM, peter cros wrote: > iMac8,1 - grub.efi x86_64 hangs. > > built and run on the imac81 --with-platfrom=efi --target=x86_64 > version 1913 and 1940 (current). > > Host ubuntu 810 amd64 kernel Linux im64 2.6.27-9-server #1 SMP Thu Nov 20 > 22:56:07 UTC 2008 x86_64 GNU

Re: EFI Boot on MacPro

2009-01-10 Thread peter cros
typo --with-platform=efi On Sun, Jan 11, 2009 at 1:44 PM, peter cros wrote: > iMac8,1 - grub.efi x86_64 hangs. > > built and run on the imac81 --with-platfrom=efi --target=x86_64 > version 1913 and 1940 (current). > > Host ubuntu 810 amd64 kernel Linux im64 2.6.27-9-server #1 SMP Thu Nov 20 > 22

Re: EFI Boot on MacPro

2009-01-10 Thread peter cros
iMac8,1 - grub.efi x86_64 hangs. built and run on the imac81 --with-platfrom=efi --target=x86_64 version 1913 and 1940 (current). Host ubuntu 810 amd64 kernel Linux im64 2.6.27-9-server #1 SMP Thu Nov 20 22:56:07 UTC 2008 x86_64 GNU/Linux grub.efi appears to be accepted by the firmware (started)

Re: EFI Boot on MacPro

2009-01-09 Thread peter cros
It all seems a bit strange, [Linux-bzImage, setup=0x2c00, size=0x2ff4701] Size=50 MB - very big kernel if it is true. On Fri, Jan 9, 2009 at 5:36 PM, Bean wrote: > On Fri, Jan 9, 2009 at 5:32 AM, Ziling Zhao wrote: > > I haven't had much success with testing directly on the XServe that I > h

Re: EFI Boot on MacPro

2009-01-09 Thread Bean
On Fri, Jan 9, 2009 at 11:46 PM, Türker SEZER wrote: > On Friday 09 January 2009 08:39:49 Bean wrote: >> If the grub menu doesn't show at all, it's probably because efi >> firmware is 64-bit, perhaps you can try the x86_64-efi version. > > I couldnt compile grub2 with x86_64-efi parameter. It give

Re: EFI Boot on MacPro

2009-01-09 Thread Türker SEZER
On Friday 09 January 2009 08:39:49 Bean wrote: > If the grub menu doesn't show at all, it's probably because efi > firmware is 64-bit, perhaps you can try the x86_64-efi version. I couldnt compile grub2 with x86_64-efi parameter. It gives error like 'configure: error: platform "x86_64-efi" is not

Re: EFI Boot on MacPro

2009-01-08 Thread Ziling Zhao
On Thursday 08 January 2009 22:36:27 Bean wrote: > On Fri, Jan 9, 2009 at 5:32 AM, Ziling Zhao wrote: > > I haven't had much success with testing directly on the XServe that I > > have here, but I was able to get as far as getting grub to show up. > > However, it stalls after: > > > > [Linux-

Re: EFI Boot on MacPro

2009-01-08 Thread Bean
On Thu, Jan 8, 2009 at 10:59 PM, Türker SEZER wrote: > On Thursday 08 January 2009 03:52:09 Türker SEZER wrote: >> On Thursday 08 January 2009 02:46:55 peter cros wrote: >> > If not using refit, but using 'bless' from macosx - then grub.efi needs >> > to be in an hfsplus partition on the usb stick

Re: EFI Boot on MacPro

2009-01-08 Thread Bean
On Fri, Jan 9, 2009 at 5:32 AM, Ziling Zhao wrote: > I haven't had much success with testing directly on the XServe that I have > here, but I was able to get as far as getting grub to show up. However, it > stalls after: > > [Linux-bzImage, setup=0x2c00, size=0x2ff4701] > Video mode: 180x1050

Re: EFI Boot on MacPro

2009-01-08 Thread Türker SEZER
On Thursday 08 January 2009 03:52:09 Türker SEZER wrote: > On Thursday 08 January 2009 02:46:55 peter cros wrote: > > If not using refit, but using 'bless' from macosx - then grub.efi needs > > to be in an hfsplus partition on the usb stick. > > Hmm, thats insteresting point. I used bless but didnt

Re: EFI Boot on MacPro

2009-01-07 Thread Türker SEZER
On Thursday 08 January 2009 02:46:55 peter cros wrote: > If not using refit, but using 'bless' from macosx - then grub.efi needs to > be in an hfsplus partition on the usb stick. Hmm, thats insteresting point. I used bless but didnt create hfsplus partition. I will try it tomorrow. Türker ___

Re: EFI Boot on MacPro

2009-01-07 Thread peter cros
If not using refit, but using 'bless' from macosx - then grub.efi needs to be in an hfsplus partition on the usb stick. The built grub efi i386 tarball I use for macbook2,1 is on the ubuntu forum site, should suffice to show if you need x86_64. grub2 EFI boot loader http://ubuntuforums.org/showth

Re: EFI Boot on MacPro

2009-01-07 Thread Ziling Zhao
On Tue, Jan 6, 2009 at 10:43 PM, Ziling Zhao wrote: > On Tuesday 06 January 2009 21:14:48 Bean wrote: > > On Wed, Jan 7, 2009 at 12:54 PM, peter cros wrote: > > > Hi, > > > > > > The kernel vesion may be the bug there, I have found grub.efi needs > > > 2.6.26 or later, configured with EFI enable

Re: EFI Boot on MacPro

2009-01-07 Thread Bean
On Wed, Jan 7, 2009 at 9:34 PM, Türker SEZER wrote: > On Wednesday 07 January 2009 06:54:47 peter cros wrote: >> grub.efi it would load and run for Apple MacBook2,1, Apple mini2,1 >> MacBook pro 2,2 or earlier , i.e. none of the current Apple MacBooks, but >> no reports for Apple xserver, Imac o

Re: EFI Boot on MacPro

2009-01-07 Thread Türker SEZER
On Wednesday 07 January 2009 06:54:47 peter cros wrote: > grub.efi it would load and run for Apple MacBook2,1, Apple mini2,1 > MacBook pro 2,2 or earlier , i.e. none of the current Apple MacBooks, but > no reports for Apple xserver, Imac or Mac Pro. I have a clean xserve 8-core. I havent install

Re: EFI Boot on MacPro

2009-01-06 Thread peter cros
I am using ubuntu 810, kernel 2.6.27 no problem with grub.efi i386 MacBook2,1. On Wed, Jan 7, 2009 at 5:43 PM, Ziling Zhao wrote: > On Tuesday 06 January 2009 21:14:48 Bean wrote: > > On Wed, Jan 7, 2009 at 12:54 PM, peter cros wrote: > > > Hi, > > > > > > The kernel vesion may be the bug there

Re: EFI Boot on MacPro

2009-01-06 Thread Bean
On Wed, Jan 7, 2009 at 2:43 PM, Ziling Zhao wrote: > On Tuesday 06 January 2009 21:14:48 Bean wrote: >> On Wed, Jan 7, 2009 at 12:54 PM, peter cros wrote: >> > Hi, >> > >> > The kernel vesion may be the bug there, I have found grub.efi needs >> > 2.6.26 or later, configured with EFI enabled, else

Re: EFI Boot on MacPro

2009-01-06 Thread peter cros
On Wed, Jan 7, 2009 at 4:14 PM, Bean wrote: > On Wed, Jan 7, 2009 at 12:54 PM, peter cros wrote: > > Hi, > > > > The kernel vesion may be the bug there, I have found grub.efi needs > 2.6.26 > > or later, configured with EFI enabled, else the result is similar to > yours. > > > > I have had a gru

Re: EFI Boot on MacPro

2009-01-06 Thread Ziling Zhao
On Tuesday 06 January 2009 21:14:48 Bean wrote: > On Wed, Jan 7, 2009 at 12:54 PM, peter cros wrote: > > Hi, > > > > The kernel vesion may be the bug there, I have found grub.efi needs > > 2.6.26 or later, configured with EFI enabled, else the result is similar > > to yours. > > > > I have had a g

Re: EFI Boot on MacPro

2009-01-06 Thread Bean
On Wed, Jan 7, 2009 at 12:54 PM, peter cros wrote: > Hi, > > The kernel vesion may be the bug there, I have found grub.efi needs 2.6.26 > or later, configured with EFI enabled, else the result is similar to yours. > > I have had a grub.efi test package built from vesion 1913, running in > ubuntuf

Re: EFI Boot on MacPro

2009-01-06 Thread peter cros
Hi, The kernel vesion may be the bug there, I have found grub.efi needs 2.6.26 or later, configured with EFI enabled, else the result is similar to yours. I have had a grub.efi test package built from vesion 1913, running in ubuntuforums.com (apple intel) for a while, a number of people tried it

EFI Boot on MacPro

2009-01-06 Thread Ziling Zhao
I'm trying to get grub2 working on a Mac Pro using pure EFI. So, I've mucked around a bit and grub is loading. I can have it load the linux image as well, but it freezes soon after. Output is: Booting 'Gentoo' [Linux-bzImage, setup=0x2c00, size=0x2ff4701] Video mode: 180x1050...@0 Video