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

2012-09-25 Thread yannubu...@gmail.com
Try using the command: grub-install --target=x86_64-efi --efi-directory=root efi directory, eg. /boot/efi Thank you Aaron With 1.99, i only had to use 'grub-install' (without any parameter, and not necessarily booted in EFI mode). It would be nice (for retrocompatibility) if 2.00 could do the

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

2012-09-25 Thread Andrey Borzenkov
В Вт., 25/09/2012 в 12:46 +0800, Michael Chang пишет: 2012/9/25 Andrey Borzenkov arvidj...@gmail.com: В Пн., 24/09/2012 в 11:37 +0200, Mads Kiilerich пишет: On 09/24/2012 08:51 AM, Michael Chang wrote: We don't insert gettext module if message catalog file missing to prevent error

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

2012-09-25 Thread Chris Murphy
On Sep 25, 2012, at 6:17 AM, yannubu...@gmail.com wrote: With 1.99, i only had to use 'grub-install' (without any parameter, and not necessarily booted in EFI mode). It would be nice (for retrocompatibility) if 2.00 could do the same (eg it could guess the 32/64 architecture, and set

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

2012-09-25 Thread yannubu...@gmail.com
2012/9/25 Chris Murphy li...@colorremedies.com On Sep 25, 2012, at 6:17 AM, yannubu...@gmail.com wrote: With 1.99, i only had to use 'grub-install' (without any parameter, and not necessarily booted in EFI mode). It would be nice (for retrocompatibility) if 2.00 could do the same (eg it

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

2012-09-25 Thread Andrey Borzenkov
В Вт., 25/09/2012 в 19:24 +0400, Andrey Borzenkov пишет: В Вт., 25/09/2012 в 12:46 +0800, Michael Chang пишет: 2012/9/25 Andrey Borzenkov arvidj...@gmail.com: В Пн., 24/09/2012 в 11:37 +0200, Mads Kiilerich пишет: On 09/24/2012 08:51 AM, Michael Chang wrote: We don't insert gettext

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

2012-09-25 Thread Seth Goldberg
Hi, Is it possible that debian mismerged some changes from 2.00? There is code in tftp.c that stalls TFTP responses if = 50 packets are queued by the network driver. That packet count is increased by one each time grub_net_put_packet is called and decreased by one each time

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

2012-09-25 Thread Colin Watson
On Mon, Sep 24, 2012 at 02:51:49PM +0800, Michael Chang wrote: We don't insert gettext module if message catalog file missing to prevent error message from being logged. I already posted a patch against the gettext module itself with a similar rationale, which I think is a better place for

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

2012-09-25 Thread 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. That's incorrect; the gettext

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

2012-09-25 Thread Colin Watson
On Tue, Sep 25, 2012 at 12:09:16PM -0700, Seth Goldberg wrote: Is it possible that debian mismerged some changes from 2.00? It would have been extremely hard to do that by mistake, and I'm quite confident that I didn't. All our patches are done by explicit *.patch files in the debian/patches/

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

2012-09-25 Thread Colin Watson
On Tue, Sep 25, 2012 at 02:06:46PM -0400, Daniel Kahn Gillmor wrote: I observe that grub-mknetdir works fine as a non-privileged user. Making it an administrator-only tool by placing it in /usr/sbin/ seems like it encourages people to update their tftp server directories as root, when they

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

2012-09-25 Thread Colin Watson
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: 2012-09-25 Colin Watson cjwat...@ubuntu.com *

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

2012-09-25 Thread Daniel Kahn Gillmor
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 ../grub2_2.00.orig.tar.xz which is the same as the