[PATCH] Abort grub-install if prefix cannot be determined

2008-07-23 Thread Christian Franke
grub-install does not check error return from make_system_path_relative_to_its_root() fails. BTW: Unlike the other scripts, grub-install does not 'set -e'. Is this intentional or historic ?-) Christian 2008-07-24 Christian Franke <[EMAIL PROTECTED]> * util/i386/p

Re: [PATCH] New tool to convert pe image to elf

2008-07-23 Thread Christian Franke
Bean wrote: ... Another real world test (grub-install on an USB flash drive and boot) works. Patch is IMO good to go. Then only the fix for update-grub-lib:make_system_path_relative_to_its_root() remains for OOTB Cygwin support. Hi, Oh nice. Here is a new patch with small adjustment to

Re: [PATCH] New tool to convert pe image to elf

2008-07-23 Thread Bean
On Thu, Jul 24, 2008 at 6:24 AM, Christian Franke <[EMAIL PROTECTED]> wrote: > Christian Franke wrote: >> >> Bean wrote: >>> >>> On Wed, Jul 23, 2008 at 1:54 PM, Bean <[EMAIL PROTECTED]> wrote: >>> ... >>> Hi, >>> >>> I have fixed a few bugs in grub-pe2elf in this new patch,it should >>> work as e

Re: [PATCH] hold shift or control to disable timeout even timeout=0

2008-07-23 Thread Pavel Roskin
On Wed, 2008-07-23 at 20:36 -0500, David Fries wrote: > I could make the argument that it is ten assmebly instructions, but I > think the stronger case is the other two keyboard reading routines are > right there in the same file. > > I suppose the grub_checkkey and the new grub_getshiftflags cou

Re: [PATCH] hold shift or control to disable timeout even timeout=0

2008-07-23 Thread David Fries
On Wed, Jul 23, 2008 at 09:13:58PM -0400, Pavel Roskin wrote: > On Wed, 2008-07-23 at 19:52 -0500, David Fries wrote: > > > This calls the getshiftflags BIOS int 16h function 2 in startup.S, to > > find out the status of the shift and control keys (among others). The > > required header and sourc

Re: [PATCH] hold shift or control to disable timeout even timeout=0

2008-07-23 Thread Pavel Roskin
On Wed, 2008-07-23 at 19:52 -0500, David Fries wrote: > This calls the getshiftflags BIOS int 16h function 2 in startup.S, to > find out the status of the shift and control keys (among others). The > required header and source files were modified to expose > grub_getshiftflags. menu.c checks gru

[PATCH] hold shift or control to disable timeout even timeout=0

2008-07-23 Thread David Fries
There are various projects trying to speed up booting a computer. Here is a patch designed to do just that. grub by default waits a few seconds to give the user the chance to interact with the menu or command line. Currently for a fast bootup a timeout of zero can be specified, but then you loose

Re: [PATCH] New tool to convert pe image to elf

2008-07-23 Thread Christian Franke
Christian Franke wrote: Bean wrote: On Wed, Jul 23, 2008 at 1:54 PM, Bean <[EMAIL PROTECTED]> wrote: ... Hi, I have fixed a few bugs in grub-pe2elf in this new patch,it should work as expected now. Yes, 3rd patch looks good. Thanks for the converter! Another real world test (grub-ins

Re: [PATCH] New tool to convert pe image to elf

2008-07-23 Thread Christian Franke
Bean wrote: On Wed, Jul 23, 2008 at 1:54 PM, Bean <[EMAIL PROTECTED]> wrote: ... Hi, I have fixed a few bugs in grub-pe2elf in this new patch,it should work as expected now. Yes, 3rd patch looks good. Thanks for the converter! Christian _

Re: grub-probe fails to find PC partition due to Apple disklabel

2008-07-23 Thread Chris Knadle
On Wednesday 23 July 2008, Chris Knadle wrote: > Right now part_map_iterate() detects an Apple partition based on Sector 0 > [which is unavoidable, since Sector 0 is not going to have an HFS+ magic > number] Sorry, I meant *partition 0*, not Sector 0... -- Chris -- Chris Knadle [EMAIL PR

Re: [PATCH] New tool to convert pe image to elf

2008-07-23 Thread Bean
On Wed, Jul 23, 2008 at 1:54 PM, Bean <[EMAIL PROTECTED]> wrote: > Hi, > > I change the structure of grub-pe2elf, now it uses sub function to do > various task instead of one huge trunk. > > I also include the build script by Christian Franke, as it's needed to > compile successfully in cygwin. I m

Re: grub-probe fails to find PC partition due to Apple disklabel

2008-07-23 Thread Chris Knadle
Thanks for your pointsers, Pavel; they were all helpful. On Tuesday 22 July 2008, Pavel Roskin wrote: > Quoting Chris Knadle <[EMAIL PROTECTED]>: > > Since I want the first (high) 16 bits, I > > think I need to make the comparison in a way such as: > > > >if ((apart.first_phys_block & 0x00

Re: [PATCH] File readahead buffering

2008-07-23 Thread Colin D Bennett
On Wed, 23 Jul 2008 07:33:32 -0700 Colin D Bennett <[EMAIL PROTECTED]> wrote: > On Wed, 23 Jul 2008 10:05:36 +0800 > Bean <[EMAIL PROTECTED]> wrote: > > > On Wed, Jul 23, 2008 at 3:06 AM, Colin D Bennett <[EMAIL PROTECTED]> > > wrote: > > > On Tue, 22 Jul 2008 14:48:31 -0400 > > > Pavel Roskin <[

Re: [PATCH] File readahead buffering

2008-07-23 Thread Colin D Bennett
On Wed, 23 Jul 2008 10:05:36 +0800 Bean <[EMAIL PROTECTED]> wrote: > On Wed, Jul 23, 2008 at 3:06 AM, Colin D Bennett <[EMAIL PROTECTED]> > wrote: > > On Tue, 22 Jul 2008 14:48:31 -0400 > > Pavel Roskin <[EMAIL PROTECTED]> wrote: > > > >> On Tue, 2008-07-22 at 08:43 -0700, Colin D Bennett wrote: >

Re: Putting core.img anywhere

2008-07-23 Thread Jean-Christophe Haessig
Le mardi 22 juillet 2008 à 23:47 +0200, Robert Millan a écrit : > > > As I stated earlier my disks are not DOS-partitioned (e.g. > > pvcreate /dev/hda). I didn't want to have one useless level > > Turns out it wasn't as useless as you thought :-) heh :) > > since LVM already does the job (bett