Re: [PATH] grub-mkrelpath

2009-08-29 Thread Felix Zielcke
Am Samstag, den 29.08.2009, 01:55 +0200 schrieb Robert Millan: > On Fri, Aug 28, 2009 at 07:58:39PM +0200, Felix Zielcke wrote: > > +#else /* ! HAVE_REALPATH */ > > + grub_util_warn ("grub-mkrelpath might not work on your OS correctly."); > > + /* make relative path absolute. */ > > + if (*path

Re: [PATCH] bless command

2009-08-29 Thread Bean
On Sat, Aug 29, 2009 at 2:27 PM, Vladimir 'phcoder' Serbinenko wrote: >> Actually, I think the correct handling is to first bless a boot >> directory (storing the directory id in header), then bless a boot file >> (add +tbxi attribute), that's why the bless command in OSX needs needs >> both --fold

Re: [PATCH] bless command

2009-08-29 Thread Michal Suchanek
2009/8/29 Bean : > On Sat, Aug 29, 2009 at 2:27 PM, Vladimir 'phcoder' > Serbinenko wrote: >>> Actually, I think the correct handling is to first bless a boot >>> directory (storing the directory id in header), then bless a boot file >>> (add +tbxi attribute), that's why the bless command in OSX ne

Re: [PATCH] bless command

2009-08-29 Thread Vladimir 'phcoder' Serbinenko
> Hi, > > After more testing, I believe the booting process works like this: > > One important difference between openfirmware and efi is that > openfirmware stores file path in nvram, while efi stores device path. > The default boot file for openfirmware is like this: > > device:\\+tbxi > > Which

Re: [PATCH] bless command

2009-08-29 Thread Vladimir 'phcoder' Serbinenko
On Sat, Aug 29, 2009 at 9:58 AM, Michal Suchanek wrote: > 2009/8/29 Bean : >> On Sat, Aug 29, 2009 at 2:27 PM, Vladimir 'phcoder' >> Serbinenko wrote: Actually, I think the correct handling is to first bless a boot directory (storing the directory id in header), then bless a boot file >>>

Re: [PATCH] bless command

2009-08-29 Thread Bean
On Sat, Aug 29, 2009 at 3:58 PM, Michal Suchanek wrote: > 2009/8/29 Bean : >> On Sat, Aug 29, 2009 at 2:27 PM, Vladimir 'phcoder' >> Serbinenko wrote: Actually, I think the correct handling is to first bless a boot directory (storing the directory id in header), then bless a boot file >>>

Re: [PATCH] bless command

2009-08-29 Thread Michal Suchanek
2009/8/29 Bean : > On Sat, Aug 29, 2009 at 3:58 PM, Michal Suchanek wrote: >> 2009/8/29 Bean : >>> On Sat, Aug 29, 2009 at 2:27 PM, Vladimir 'phcoder' >>> Serbinenko wrote: > Actually, I think the correct handling is to first bless a boot > directory (storing the directory id in header), th

Re: [Bug Report] loadenv module

2009-08-29 Thread Yves Blusseau
Hi, i have compiled the current version of grub2 under OSX. I have an error when using the loadenv module: I don't have any grub.cfg file. When i was at the prompt i do a save_env timeout and grub return me an "out of partition" error. I have created a newly grubenv with grub-editenv comm