Re: [2.00] grub-install use on UEFI system?

2012-09-26 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 26.09.2012 22:45, Chris Murphy wrote: > > On Sep 26, 2012, at 1:49 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > >> >> It's an empty discussion since I have no time to write this doc and >> nobody else proposed himself to do it. Until this changes this >> discussion has no point. > > Yo

Re: [2.00] grub-install use on UEFI system?

2012-09-26 Thread Chris Murphy
On Sep 26, 2012, at 1:49 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > > It's an empty discussion since I have no time to write this doc and > nobody else proposed himself to do it. Until this changes this > discussion has no point. You have no time to write a doc you're admitting needs wr

Re: [2.00] grub-install use on UEFI system?

2012-09-26 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 26.09.2012 20:39, Chris Murphy wrote: > > On Sep 26, 2012, at 12:22 PM, Andrey Borzenkov wrote: > >> One problem is, where it lands depends on whether it is removable >> install or not and whether distributor is set or not. How you describe >> it in single help line? It rather belongs to grub

Re: [2.00] grub-install use on UEFI system?

2012-09-26 Thread Chris Murphy
On Sep 26, 2012, at 12:22 PM, Andrey Borzenkov wrote: > One problem is, where it lands depends on whether it is removable > install or not and whether distributor is set or not. How you describe > it in single help line? It rather belongs to grub documentation. It would be useful in the --help v

Re: [2.00] grub-install use on UEFI system?

2012-09-26 Thread Andrey Borzenkov
В Ср., 26/09/2012 в 12:08 -0600, Chris Murphy пишет: > On Sep 26, 2012, at 11:17 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > > > No. It just means that DIR has to be the ESP mountpoint. IT doesn't > > imply anything about where the .efi effectively lands. > > That's the problem. The help f

Re: [2.00] grub-install use on UEFI system?

2012-09-26 Thread Chris Murphy
On Sep 26, 2012, at 11:17 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > No. It just means that DIR has to be the ESP mountpoint. IT doesn't > imply anything about where the .efi effectively lands. That's the problem. The help for --boot-directory makes it clear where it will land. The entr

Re: [2.00] grub-install use on UEFI system?

2012-09-26 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 26.09.2012 18:54, Chris Murphy wrote: > This is clear. What I specify will have /grub2/ (this is Fedora) added-on. > > --efi-directory=DIR use DIR as the EFI System Partition root. > > This makes no sense. On the one hand it's indicating that grub.efi ends up > precisely in the locatio

Re: [2.00] grub-install use on UEFI system?

2012-09-26 Thread Chris Murphy
On Sep 26, 2012, at 3:12 AM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > grub-install --help I'll argue --help is not a manual, and the results on this point are confusing. The GRUB2 manual is devoid of useful UEFI information, actually it doesn't mention UEFI at all, and the parts that men

Re: pxe failing on grub 2.00 for files larger than 50KiB

2012-09-26 Thread Lennart Sorensen
On Wed, Sep 26, 2012 at 08:30:45AM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > AFAIR it has an endianness bug in tftp code (which was mainly tested on > ppc). Please try bzr. Nifty. So endianess bugs can happen both ways. And here I thought us big endian users were always the ones hav

Re: [PATCH] suppress error message "/grub2/locale/en.mo.gz not found"

2012-09-26 Thread Colin Watson
On Wed, Sep 26, 2012 at 03:44:31PM +0800, Michael Chang wrote: > The error message and number are staging in the buffer and it's up to > the module to use grub_print_error (...) to flush all pending messages > to the screen. Nevertheless you could stack errors with push|pop, > which is extremely u

Re: pxe failing on grub 2.00 for files larger than 50KiB

2012-09-26 Thread Colin Watson
On Wed, Sep 26, 2012 at 08:30:45AM +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > AFAIR it has an endianness bug in tftp code (which was mainly tested on > ppc). Please try bzr. Yes, that just occurred to me too. :-) I'll backport that patch, thanks. (Do we have a 2.01 plan of any kind y

Re: [2.00] grub-install use on UEFI system?

2012-09-26 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 26.09.2012 10:07, yannubu...@gmail.com wrote: > > > 1) why does 'grub-install' (without any parameter) work for > Ubuntu12.04 > > (grub1.99) ? > > Probably because your kernel doesn't handle EFI properly so grub-install > wasn't able to detect it (/sys/firmware/efi was mis

Re: [2.00] grub-install use on UEFI system?

2012-09-26 Thread yannubu...@gmail.com
> > 1) why does 'grub-install' (without any parameter) work for Ubuntu12.04 > > (grub1.99) ? > > Probably because your kernel doesn't handle EFI properly so grub-install > wasn't able to detect it (/sys/firmware/efi was missing). Hi Vladimir - here is an example where /sys/firmware/efi is not mi

Re: [PATCH] suppress error message "/grub2/locale/en.mo.gz not found"

2012-09-26 Thread Michael Chang
2012/9/26 Colin Watson : > On Tue, Sep 25, 2012 at 12:46:15PM +0800, Michael Chang wrote: >> I agree with you. IMHO the problem is it's not emitted directly from >> gettext module but from common underlying fs level, removing it would >> lead to other message which is fatal be ignored as well. > >