Bug-fix elf.c powerpc ieee1275

2008-09-28 Thread peter cros
Hi, There is a bug in /kern/elf.c/ (target powerpc, platform ieee1275), causing load linux to fail on my powerpc64 g5 and ibook g4 32bit. Here is a diff of the fix I found necessary for rev 1878 (bug has existed in previous versions). It was a one liner - diff -pu grubsvn/kern

Re: Bug-fix elf.c powerpc ieee1275

2008-09-29 Thread peter cros
; */ phdr-p_paddr= c000 load_addr= 140 Loading segment at 0x140 size 6ae0c8 - load kernel at 0x140 succeeds. = peter cros. On Mon, Sep 29, 2008 at 12:46 AM, Robert Millan [EMAIL PROTECTED] wrote: On Mon, Sep 29, 2008 at 12:42:36AM +1000, peter cros wrote: Hi

Re: Bug-fix elf.c powerpc ieee1275

2008-09-30 Thread peter cros
The change was between svn version 1421 and 1509 which had bugfixes, in grub_elf32_load, and grub_elf64_load. [EMAIL PROTECTED]:~/src/grub$ diff -pu grub1421/kern/elf.c grub1509/kern/elf.c --- grub1421/kern/elf.c2008-09-30 14:49:46.0 +1000 +++ grub1509/kern/elf.c2008-09-30

Re: pager=1 as default? (Re: too many commands, help output rolls of screen)

2008-11-02 Thread peter cros
. ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel peter cros ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Compilation PowerPC64

2008-11-24 Thread peter cros
for Apple G5, causing grub_claim_heap to fail and the [Welcome to Grub! out of memory], I want to recheck this and explain if still present. Peter Cros. ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

G5 powerpc64 undefined reference to `grub_machine_mmap_iterate'

2008-11-28 Thread peter cros
After Revision 1924 Harmonize ieee1275's grub_available_iterate() with the generic grub_machine_mmap_iterate() Attempting to make Rev 1928, configuration ieee1275 on G5 powerpc64 I am stuck with this error: kernel_elf-kern_ieee1275_init.o: In function `grub_claim_heap':

Re: G5 powerpc64 undefined reference to `grub_machine_mmap_iterate'

2008-11-29 Thread peter cros
all fixed now thanks. On Sat, Nov 29, 2008 at 11:16 AM, peter cros [EMAIL PROTECTED] wrote: Yes, thanks, I already ran the patch and checked the files, but still get the error. I will recheck, I may be doing something wrong here, but no compile problems before 1924 . I dont know

Re: GRUB2 on efi32 - Apple Mac Mini

2008-12-10 Thread peter cros
considerable advantage over grub-pc is separate installation, off the linuix file system, and off the disk MBR sector, plus external drive bootability. Requirement to disable accelerated graphics is a stopper for some people. Pity it doesn't work on more macs. Peter Cros

Re: EFI Boot on MacPro

2009-01-06 Thread peter cros
your the Model version is. peter cros On Wed, Jan 7, 2009 at 8:42 AM, Ziling Zhao zilingz...@gmail.com wrote: 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

Re: EFI Boot on MacPro

2009-01-06 Thread peter cros
On Wed, Jan 7, 2009 at 4:14 PM, Bean bean12...@gmail.com wrote: On Wed, Jan 7, 2009 at 12:54 PM, peter cros pxwp...@gmail.com 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

Re: EFI Boot on MacPro

2009-01-07 Thread peter cros
/showthread.php?t=995704 On Thu, Jan 8, 2009 at 12:34 AM, Türker SEZER turkerse...@tsdesign.infowrote: 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

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 bean12...@gmail.com wrote: On Fri, Jan 9, 2009 at 5:32 AM, Ziling Zhao zilingz...@gmail.com wrote: I haven't had much success with

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

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 pxwp...@gmail.com 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

Re: EFI Boot on MacPro

2009-01-11 Thread peter cros
cros On Sun, Jan 11, 2009 at 6:35 PM, Bean bean12...@gmail.com wrote: On Sun, Jan 11, 2009 at 10:44 AM, peter cros pxwp...@gmail.com 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

Re: EFI Boot on MacPro

2009-01-12 Thread peter cros
) -movq%rdx, EXT_C(grub_efi_system_table) - kern/main.c void grub_main (void) { return; } - Is there anything else I can try? peter cros On Mon, Jan 12, 2009 at 4:04 AM, Bean bean12...@gmail.com wrote: On Mon, Jan 12, 2009 at 12:00 AM, peter cros pxwp

Re: EFI Boot on MacPro

2009-01-13 Thread peter cros
. On Tue, Jan 13, 2009 at 7:06 AM, Ziling Zhao zilingz...@gmail.com wrote: On Fri, Jan 9, 2009 at 4:06 PM, peter cros pxwp...@gmail.com 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

Re: grub2 on MacBook4,1

2009-01-30 Thread peter cros
). Peter Cros On Fri, Jan 30, 2009 at 10:42 PM, pistacchie...@hotmail.com wrote: Hi, I tried grub2 rev 1962 on my MacBook4,1 Boot ROM Version:MB41.00C1.B00 SMC Version:1.31f0 I copied grub.efi mod files to grub folder in efi folder (I use refit 0.12) When I select start from

grub.efi x86_64 on Apple 64bit efi models - status of testing

2009-02-09 Thread Peter Cros
I have got to a standstill with this, some major stoppers found and could use some help to debug further. I hope someone can take a look at this please, its getting beyond my limited C code reading and hacking capabilities, but I do want to see grub.efi working on current Apple Intel Macs. Apple

Re: grub_machine_fini on efi systems

2009-02-16 Thread Peter Cros
There is also a problem with Apple 64 bit grub.efi booting ubuntu 2.6.27 linux in which the kernel is booted and starting but all video is lost after the boot command. I don't know if there may be a connection. A temporary fix is to change Video frame buufer settings in /loader/i386/efi/linux.c:

Re: grub_machine_fini on efi systems

2009-02-16 Thread Peter Cros
...@gmail.com wrote: On Tue, Feb 17, 2009 at 10:56 AM, Peter Cros pxwp...@gmail.com wrote: There is also a problem with Apple 64 bit grub.efi booting ubuntu 2.6.27 linux in which the kernel is booted and starting but all video is lost after the boot command. I don't know if there may

Re: [PATCH] bug fix for x86_64 efi

2009-02-20 Thread Peter Cros
Tested the patch applied to rev 1996 for grub.efi 64 bit and 32 bit, on Imac81 (4GB ram), MacBookPro41 (4GB and 2GB ram) MacBook21 (i386) with Macosx 10.4 10.5, ubuntu810. All good. 64bit Macs have other ongoing EFI problems with linux kernel initializtion and keyboard. On Fri, Feb 20, 2009 at

Re: [PATCH] bug fix for x86_64 efi

2009-02-21 Thread Peter Cros
20, 2009, at 9:32 PM, Peter Cros wrote: I am just a grub.efi user/tester/enthusiast. I don't know the Xserve but some previous reports in this list of people getting grub.efi to boot on Xserve, and if so it will boot hd/usb linux on other Apple intel Macs with varying results

Re: Boot delay when using grub.efi on Mac Mini

2009-03-10 Thread Peter Cros
Hi, Try the other instructions for MacBook http://grub.enbug.org/TestingOnMacbook ( recentlu updated ) including bless --folder --file --setBoot (not --mount) Some more tests done at ubuntuforums.org http://ubuntuforums.org/showthread.php?t=995704 On Wed, Mar 11, 2009 at 10:48 AM, Grant

Re: Boot delay when using grub.efi on Mac Mini

2009-03-11 Thread Peter Cros
I have used a separate small hfs+ partition, works well, and fast if blessed. The EFI FAT32 partition is OK and a good backup if using rEFIt to recognise it without needing to bless, but cant be blessed --folder. On Thu, Mar 12, 2009 at 9:51 AM, Grant Edwards gra...@visi.com wrote: On

Re: Boot delay when using grub.efi on Mac Mini

2009-03-13 Thread Peter Cros
wrote: On 2009-03-12, Peter Cros pxwp...@gmail.com wrote: I have used a separate small hfs+ partition, works well, and fast if blessed. I think that's what I'll try next. The other option I'd like to try is a GPT-partitioned USB flash drive. For that to be advantageous, I would need to add

Re: Boot delay when using grub.efi on Mac Mini

2009-03-13 Thread Peter Cros
grub.efi booting from hfsplus on external msdos usb drive has worked for me, maybe I was usiing rEFIt. On Sat, Mar 14, 2009 at 4:20 AM, phcoder phco...@gmail.com wrote: Apple says that booting from msdos partition is unsupported, however I've reports of people successfully doing so Grant

Re: Boot delay when using grub.efi on Mac Mini

2009-03-13 Thread Peter Cros
On Sat, Mar 14, 2009 at 1:26 AM, Grant Edwards gra...@visi.com wrote: 1) Mac firmware not being able to boot from anything other than an HFS+ partion on a GPT partioned drive. I got curious and rechecked this - Here is grub.efi booting from usb msdos drive with hfsplus partition -

Re: Boot delay when using grub.efi on Mac Mini

2009-03-21 Thread Peter Cros
Don't know, rechecked it here and it sees all the usb partitions whichever way its booted, maybe something wrong with your grub.efi build preloaded modules. Check the latest svn. On Sun, Mar 22, 2009 at 8:30 AM, Grant Edwards gra...@visi.com wrote: On 2009-03-14, Peter Cros pxwp...@gmail.com

Re: [PATCH] New frame buffer detection algorithm and loadrom command for efi platform

2009-03-24 Thread Peter Cros
Hi, svn rev 2043 patched loadrom.diff on imac81 with ati fglrx. I find loadrom needs time when called in menuentry, otherwise linux load fails or loadrom fails. So I had to use sleep. Then it works very nicely. -- insmod sleep menuentry loadrom hd0,4 sda4 { search --set

Re: no commit allowed under discussion

2009-04-09 Thread Peter Cros
Hi, It will be good to get this resolved and on SVN grub2 so people (ubuntuforums) can build for Apple efi with the latest 'hacks' (fakebios, loadbios etc) found necessary in testing. Particlarly Xserve which requires efi boot. On 4/7/09, Bean bean12...@gmail.com wrote: On Tue, Apr 7, 2009 at

Re: no commit allowed under discussion

2009-04-14 Thread Peter Cros
I posted binaries from grub2 rev 2074 with all modules, for further evaluation - http://ubuntuforums.org/showpost.php?p=7061606postcount=595 (post #595 grub2074.tar.gz ) On Tue, Apr 14, 2009 at 9:17 PM, Peter Cros pxwp...@gmail.com wrote: Hi, SVN rev 2074 should be good for Xserve1,1 and 1,2

Re: [PATCH] bless command

2009-04-18 Thread Peter Cros
Hi, Tested and works on Apple imac81 with Mac OSX 10.5, patch applied to r 2074 grub hfspbless (hd0,3)/efi Last login: Sun Apr 19 14:30:23 on console im81:~ pxw$ bless --info /Volumes/hfsp finderinfo[0]: 52 = Blessed System Folder is /Volumes/hfsp/efi finderinfo[1]: 0 = No Blessed

Re: [PATCH] bless command

2009-04-19 Thread Peter Cros
is a file. Can you do a test and tell me which concept is really used by intel macs? When doing tests don't forget to hold option key and select your testing partition. I will do a similar test on my ppc mac On Sun, Apr 19, 2009 at 6:51 AM, Peter Cros pxwp...@gmail.com wrote: Hi, Tested

Re: [PATCH] bless command

2009-04-19 Thread Peter Cros
Thanks that is going to be very useful. Just some further comment from the little I know - On Mon, Apr 20, 2009 at 12:14 AM, Vladimir Serbinenko phco...@gmail.comwrote: Now the question is how we do it. We can either keep the current syntax or IMO it's better to have two commands:

Re: [PATCH] gptsync

2009-04-20 Thread Peter Cros
Hi, Compiled with rev 2121, --with-platform=efi but got no gptsync module. It could be a useful tool for macs, I would like to try it. On Mon, Apr 20, 2009 at 9:17 AM, Vladimir Serbinenko phco...@gmail.comwrote: Hello, this is a common way to boot non GPT-aware OS on GPT systems. For this

Re: [PATCH] bless command

2009-04-20 Thread Peter Cros
Hi, On Mon, Apr 20, 2009 at 6:05 AM, Vladimir Serbinenko phco...@gmail.comwrote: Hello You can use the bootable CD of your favourite distro. I hope that grub2.efi will become a default bootloader to install on efi system for major linux distributions The thought was just to avoid

Re: [PATCH] bless command

2009-04-20 Thread Peter Cros
My reply was delayed by network going down. On Mon, Apr 20, 2009 at 9:52 PM, Vladimir Serbinenko phco...@gmail.comwrote: The bootable cd can have both eltorito (bios) and grub2.efi I like the grub.efi CD. But what happens if you do something like: blessed folder - /test1 contains

Re: [PATCH] gptsync

2009-04-21 Thread Peter Cros
Hi, I have been playing with grub gptsync, on apple intel mac with GUID partitioned 8 GB usb stick, 8 partitions. #1 is the standard fat32 EFI system part for macs. I am comparing with the gptsync utility from linux, or rEFIt gptsync, currently used for macs booting pc-bios bootloader. It is

Re: [PATCH] gptsync

2009-04-21 Thread Peter Cros
gpt partition number to MBR partition 1 slot. I don't think it is compatible with current MBR/GPT hybrid partitioning on intel macs for grub-pc booting. On Wed, Apr 22, 2009 at 1:10 AM, Vladimir Serbinenko phco...@gmail.comwrote: On Tue, Apr 21, 2009 at 1:29 PM, Peter Cros pxwp...@gmail.com

Re: grub-dumpbios

2009-05-05 Thread Peter Cros
On Tue, May 5, 2009 at 3:45 PM, Bean bean12...@gmail.com wrote: Hi, I've documented the usage of grub-dumpbios in wiki page: http://grub.enbug.org/TestingOnMacbook The commands can be placed there as well. I personally doesn't mind, but perhaps it would be easier for casual user to use a

Re: grub-dumpbios

2009-05-05 Thread Peter Cros
On Tue, May 5, 2009 at 10:25 PM, Vladimir 'phcoder' Serbinenko phco...@gmail.com wrote: Forgot the most important question: does it help in any way to generate a suitable dump within grub itself? For the user - yes, it avoids the need to use a pc-bios boot to get the dump. Or if it

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

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 pxwp...@gmail.com 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

Re: grub2 and fat efi files on latest Apples

2009-05-13 Thread Peter Cros
Hi, Thanks for the idea, here fat grub.efi tested ok on imac8,1 (64) and MacBook2,1 (32), using working grub32.efi and grub64.efi with their preloaded modules. ./fatglue.py grub2202f.efi grub2202-32.efi grub2202-64.efi compile and fatglue were all done in OSX10.5.6. Debian sid 2.6.29.1-amd64

Re: echo and hello bug

2009-06-08 Thread Peter Cros
May be of interest - This is the module subset I am using with fat grub efi rev 2202 for 64/32bit efi on Imac81, MacBookPro41, MacBook21. ( ./fatglue.py grub2202fat.efi grub2202-32.efi grub2202-64.efi ) I dont use hello, but echo works. appleldr boot cat cmp chain configfile crc date echo

Re: [PATCH] bless command

2009-06-19 Thread Peter Cros
Hi again, Could the hfspbless patch be updated and hopefully committted to provide the hfspbless module as standard in grub2. It is valuable to enable auto-booting grub.efi installation on Apple Intel Mac efi and also where Mac OSX/refit is not installed. Potentially for automated grub.efi

Re: booting iso image having syslinux

2009-08-07 Thread Peter Cros
Some comments about live iso booting and grub2 loopback - After grub boots the live iso kernel and initrd, they need to loop mount the iso again to access the live files. Otherwise the initrd would need rebuild, or some way found to pass the loop mount from grub. I have been trying some

Re: booting iso image having syslinux

2009-08-09 Thread Peter Cros
It could be easier to use the partedmagic live iso, pmagic-4.3.iso, (kernel 2.6.30.1-pmagic), which does loop mount iso with 64 bit grub.efi loopback on Apple mac (It has gparted). On Sat, Aug 8, 2009 at 9:50 PM, J. Bakshi baksh...@gmail.com wrote: On Sat, 8 Aug 2009 12:34:12 +0200 Vladimir

Re: Creating an (Apple) EFI bootable media

2009-10-01 Thread Peter Cros
OSX bless works for me with grub.efi in any hfsplus partition using the form bless --folder /xyz --file /xyz/grub/grub.efi (if the file paths are correct - I use GUI and drag the file icon onto a terminal commandline) However it is not always necessary to bless. On Apple Mac, the UEFI spec

Re: Macbook, Efi, Display mode

2009-10-03 Thread Peter Cros
There is a grub.efi binary with the double buffering fix and menutest from Bean here on Ubuntuforms.org apple mac subforum thread grub2 EFI boot loader internal/external booting post #1054 http://ubuntuforums.org/showpost.php?p=8034856postcount=1054 On Sun, Oct 4, 2009 at 7:55 AM, Stefan

Re: [GITGRUB] New menu interface (implementation)

2009-10-04 Thread Peter Cros
Demo auto scrolling runs OK on apple efi but some comments - Problem with different scaling between Text and Graphic mode on 1920x1200, text loses the bottom 7th widget selection possibility. I seem to expect an initial visible focussed panel indication, instead of having to hit N to see it.

Re: [GITGRUB] New menu interface (implementation)

2009-10-20 Thread Peter Cros
I find that the 2 terminal configuration with hotkey switch can be very useful alternative in some situations (debugging ...) , particularly on 1920x1200 screen. Single screen popup can be default for normal use. On Wed, Oct 21, 2009 at 6:31 AM, Michal Suchanek hramr...@centrum.czwrote:

Re: [GITGRUB] New menu interface (implementation)

2009-10-22 Thread Peter Cros
I don't know what is the testing status for pc machines, but I have grub-install problem for platform pc on Apple with the current menu source. commit eb03e2575b2c0b1b4fd83f33a741f6fef3b93339 Author: Bean bean12...@gmail.com Date: Wed Oct 21 01:11:27 2009 +0800 Compiling for grub-pc test of

Re: [GITGRUB] New menu interface (implementation)

2009-10-24 Thread Peter Cros
I can use grub-mkrescue to create an El Torito image and burn CD which boots and can run menu. Is that what you mean, or is there a way to boot direct from iso? Thanks On Fri, Oct 23, 2009 at 6:31 PM, Bean bean12...@gmail.com wrote: On Fri, Oct 23, 2009 at 1:59 PM, Peter Cros pxwp

Re: [GITGRUB] New menu interface (implementation)

2009-10-25 Thread Peter Cros
On Sat, Oct 24, 2009 at 7:04 PM, Peter Cros pxwp...@gmail.com wrote: I can use grub-mkrescue to create an El Torito image and burn CD which boots and can run menu. Is that what you mean, or is there a way to boot direct from iso? Thanks Nevermind, multiboot /grub.img works, with some bugs

Re: Any tutorial to configure grub menu interface ?

2009-11-03 Thread Peter Cros
That is a very useful doc, a good read. Thanks. On Tue, Nov 3, 2009 at 4:15 AM, Bean Hi, I just write a document on configuration of the new menu system: https://help.ubuntu.com/community/Burg -- Bean My repository: https://launchpad.net/burg