Re: [PATCH] Make grub2 compile with Apple's gcc

2009-05-11 Thread Peter Cros
Also good for cross compile --target=i386, running grub32.efi on MacBook2,1. On Tue, May 12, 2009 at 1:23 PM, Peter Cros wrote: > > All good now, with the addition of grub-mkimage.c prefix workaround and > apple2.diff. (grub2 rev2202) > > (x86_64 grub.efi booting ubuntu904 2.6.28-amd64 on MBP4,

Re: [PATCH] Make grub2 compile with Apple's gcc

2009-05-11 Thread Peter Cros
All good now, with the addition of grub-mkimage.c prefix workaround and apple2.diff. (grub2 rev2202) (x86_64 grub.efi booting ubuntu904 2.6.28-amd64 on MBP4,1). On Tue, May 12, 2009 at 11:54 AM, Vladimir 'phcoder' Serbinenko < phco...@gmail.com> wrote: > On Mon, May 11, 2009 at 8:04 PM, step21

Re: [PATCH] Make grub2 compile with Apple's gcc

2009-05-11 Thread Vladimir 'phcoder' Serbinenko
On Mon, May 11, 2009 at 8:04 PM, step21 wrote: > It compiles for me, but even with outcommented line in grub-mkimage.c > it does not start. It's a bug in objconv with 64-bit images. Add this patch workaround (prefix workaround still applies). Also this patch-on-patch contains another improvement f

Re: [PATCH] Make grub2 compile with Apple's gcc

2009-05-11 Thread step21
It compiles for me, but even with outcommented line in grub-mkimage.c it does not start. On Mon, May 11, 2009 at 6:45 PM, Vladimir 'phcoder' Serbinenko wrote: > On Mon, May 11, 2009 at 6:30 PM, Vladimir 'phcoder' Serbinenko > wrote: >> On Mon, May 11, 2009 at 12:48 PM, Peter Cros wrote: >>> >>>

Re: [PATCH] Make grub2 compile with Apple's gcc

2009-05-11 Thread Vladimir 'phcoder' Serbinenko
On Mon, May 11, 2009 at 6:30 PM, Vladimir 'phcoder' Serbinenko wrote: > On Mon, May 11, 2009 at 12:48 PM, Peter Cros wrote: >> >> Hi, >> patches were applied with grub2 rev 2202, compiles and builds grub.efi in >> Mac OSX 10.5.6 , i686-apple-darwin9-gcc-4.0.1, with no errors, but fails to >> ru

Re: [PATCH] Make grub2 compile with Apple's gcc

2009-05-11 Thread Vladimir 'phcoder' Serbinenko
On Mon, May 11, 2009 at 12:48 PM, Peter Cros wrote: > > Hi, > patches were applied with grub2 rev 2202, compiles and builds grub.efi in Mac > OSX 10.5.6 , i686-apple-darwin9-gcc-4.0.1, with no errors, but fails to run > grub.efi. > ./configure  --with-platform=efi --target=x86_64 > ./grub-mkimag

I don't kow where is the boot on my usb drive which can be not bootable

2009-05-11 Thread Serge Noiraud
Hi, I have one usb devices with one to four luns. Operating system like linux can be installed on a lun. I don't know this lun. No problem for that, Grub is OK. It is an installer decision and I can't make this mandatory. My problem : Some machines have no usb boot possibility. For that, I use a

Re: [PATCH] Make grub2 compile with Apple's gcc

2009-05-11 Thread Peter Cros
Hi, patches were applied with grub2 rev 2202, compiles and builds grub.efi in Mac OSX 10.5.6 , i686-apple-darwin9-gcc-4.0.1, with no errors, but fails to run grub.efi. ./configure --with-platform=efi --target=x86_64 ./grub-mkimage -d . -o grubosx.efi appleldr boot cat cmp chain configfile crc d