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

2012-09-26 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 25.09.2012 20:42, yannubu...@gmail.com wrote: 2012/9/25 Chris Murphy li...@colorremedies.com mailto:li...@colorremedies.com On Sep 25, 2012, at 6:17 AM, yannubu...@gmail.com mailto:yannubu...@gmail.com wrote: With 1.99, i only had to use 'grub-install' (without any

Re: Bug#688799: grub-common: grub-mknetdir does not need to be run by root -- move out of sbin?

2012-09-26 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 26.09.2012 00:06, Colin Watson wrote: On Tue, Sep 25, 2012 at 11:04:31PM +0100, Colin Watson wrote: It's a reasonable argument, yes. If we do this, I think it should be upstream, as in the following patch. What do folks on grub-devel think? Oops, forgotten ChangeLog entry:

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

2012-09-26 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 26.09.2012 05:25, Daniel Kahn Gillmor wrote: On 09/25/2012 03:09 PM, Seth Goldberg wrote: Is it possible that debian mismerged some changes from 2.00? no, i don't think so. the tarball that debian's 2.00-5 package i used has this sha1 sum: 274d91e96b56a5b9dd0a07accff69dbb6dfb596b

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

2012-09-26 Thread Michael Chang
2012/9/26 Colin Watson cjwat...@ubuntu.com: 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

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 missing:

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 missing).

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

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

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

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

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 location I

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 entry

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 for

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

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 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

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. You have no