May I suggest some grub.cfg backup to grub-mkconfig?

2010-01-24 Thread rubisher
Hello all, I like to keep some backup of my grub.cfg between each change. I could obvioulsy do it manualy but may be something like: # diff -Nau grub-mkconfig.orig grub-mkconfig --- grub-mkconfig.orig 2010-01-24 14:43:52.0 + +++ grub-mkconfig 2010-01-24 14:48:16.0 +000

Changes in GRUB help

2010-01-24 Thread KESHAV P.R.
Hi, I am Keshav from India. First of all, thank you to all the GRUB and GRUB2 developers. I am no programmer but I do know a few technical details of a computer. I have been using GRUB2 for few months now, in both BIOS-GPT mode and UEFI-X64-GPT mode. It is working in both modes perfectly although s

Announcing GRUB 1.97.2

2010-01-24 Thread Robert Millan
Hi, GNU GRUB version 1.97.2 has been released. GRUB, also known as the GRand Unified Bootloader, is a modular, portable bootloader that supports a number of platforms, including standard BIOS-based PCs, IEEE-1275 platforms (such as the OLPC and some PowerPC/Sparc64 hardware) and coreboot, the fr

Re: Announcing GRUB 1.97.2

2010-01-24 Thread Robert Millan
On Sun, Jan 24, 2010 at 07:36:51PM +0100, Robert Millan wrote: > - A number of header declarations had their copyright/license headers > missing. They had been imported in GRUB Legacy many years ago, and > recently found their way into the 1.97 release. The files in question were import

Re: [PATCH] Multiboot video support

2010-01-24 Thread Robert Millan
On Wed, Jan 20, 2010 at 12:43:38PM +0100, Michal Suchanek wrote: > Shouldn't the structure also include the framebuffer orientation? > > If framebuffer transform support is included in grub it would be good > to pass the orientation the user specified for grub graphics output to > the OS so that t

grub2 can't see my linux kernel file

2010-01-24 Thread j t
Hi. I have a problem using grub2 version 1.97~beta4 on my Thinkpad X31. I've installed grub2 successfully, and when I switch on, the grub screen appears, but when I try to find my linux kernel file, grub2 can't see it. I've had a great conversation with Jordan Uggla over on the help-grub mailing l

Re: [PATCH] nested partitions

2010-01-24 Thread Robert Millan
On Fri, Jan 22, 2010 at 07:03:21PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > > This can be done by extending "has_partitions" to be set to "yes" in those > > specific partition types. The implementation should be the least intrusive > > possible, taking into account that this kind of

Re: [PATCH] nested partitions

2010-01-24 Thread Robert Millan
On Fri, Jan 22, 2010 at 10:43:09AM -0800, Seth Goldberg wrote: > > The UEFI specification specifies support for nested MSDOS labels (MSDOS > labels that include partitions in which another MSDOS partition table can > be nested). This is not talking just about extended partitions, but > about

Re: [PATCH] Multiboot video support

2010-01-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Robert Millan wrote: > On Wed, Jan 20, 2010 at 12:43:38PM +0100, Michal Suchanek wrote: > >> Shouldn't the structure also include the framebuffer orientation? >> >> If framebuffer transform support is included in grub it would be good >> to pass the orientation the user specified for grub graphi

Re: comment about grub_error, capitalisation and one commit

2010-01-24 Thread Robert Millan
On Wed, Jan 20, 2010 at 11:37:38PM +, Carles Pina i Estany wrote: > a) if someone has a better idea to avoid this mistake again than paying > attention I can implement. > b) Robert: I reverse it, fine? I just removed capitalization of error strings in the whole file. A generic check would be

Re: grub payload fails on coreboot

2010-01-24 Thread Robert Millan
On Fri, Jan 22, 2010 at 04:39:47PM +0100, Andreas B. Mundt wrote: > Hi, > > Vladimir 'Ï-coder/phcoder' Serbinenko wrote: > > > Is your coreboot compiled with multiboot support? > > I guess so, from the serial log: > > ACPI: done. > ACPI tables: 4677 bytes. > > Multiboot Information structure h

Re: [PATCH] nested partitions

2010-01-24 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Robert Millan wrote: > On Fri, Jan 22, 2010 at 07:03:21PM +0100, Vladimir 'φ-coder/phcoder' > Serbinenko wrote: > >>> This can be done by extending "has_partitions" to be set to "yes" in those >>> specific partition types. The implementation should be the least intrusive >>> possible, taking i

Re: [PATCH] Multiboot video support

2010-01-24 Thread Michal Suchanek
2010/1/24 Vladimir 'φ-coder/phcoder' Serbinenko : > Robert Millan wrote: >> On Wed, Jan 20, 2010 at 12:43:38PM +0100, Michal Suchanek wrote: >> >>> Shouldn't the structure also include the framebuffer orientation? >>> >>> If framebuffer transform support is included in grub it would be good >>> to

Re: [PATCH] nested partitions

2010-01-24 Thread Bruce Dubbs
Robert Millan wrote: On Fri, Jan 22, 2010 at 07:03:21PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: Partition types are easily screwed. Why not just check for the presence of the label? I have a feeling I already explained this somewhere. Doesn't seem to be in this thread, maybe on

Re: [PATCH] nested partitions

2010-01-24 Thread Michal Suchanek
2010/1/25 Bruce Dubbs : > Robert Millan wrote: >> >> On Fri, Jan 22, 2010 at 07:03:21PM +0100, Vladimir 'φ-coder/phcoder' >> With this approach, the burden is no longer in GRUB.  Then I don't care >> how weird disk layouts can become, because GRUB doesn't have to probe >> them.  We can even suppor

Re: [PATCH] nested partitions

2010-01-24 Thread Robert Millan
On Sun, Jan 24, 2010 at 10:20:49PM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > > With this approach, the burden is no longer in GRUB. Then I don't care > > how weird disk layouts can become, because GRUB doesn't have to probe > > them. > We still have to for partition_iterate. partit

Re: [PATCH] nested partitions

2010-01-24 Thread Robert Millan
On Sun, Jan 24, 2010 at 06:38:40PM -0600, Bruce Dubbs wrote: > I like this idea, but wonder if it would be useful to have something > like (grub drive, partition type, filesystem type) for each partition to > consider. For example: > > (hd0,gpt1,ext2) Filesystems have essentially the same pro

Re: [PATCH] Multiboot video support

2010-01-24 Thread Robert Millan
On Mon, Jan 25, 2010 at 12:29:41AM +0100, Michal Suchanek wrote: > 2010/1/24 Vladimir 'φ-coder/phcoder' Serbinenko : > > There is a big difference between orientation and the rest of fields: > > orientation is configuration variable whereas other fields are a > > hardware information. [...] > > Un

Re: [multiboot2] Tagged multiboot2 header

2010-01-24 Thread Robert Millan
On Thu, Jan 21, 2010 at 12:49:55AM +0100, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > +...@item architecture > +The field @samp{architecture} specifies the Central Processing Unit > +Instruction Set Architecture. Since @samp{magic} isn't a palindrome > +it already specifies the endianness ISAs

Re: [PATCH] nested partitions

2010-01-24 Thread Robert Millan
On Mon, Jan 25, 2010 at 08:31:35AM +0100, Robert Millan wrote: > When you hide complexity from the user, the user doesn't generally care or > want to understand what this involves. When we accept "(hd0,1)" from the > user, it implies we know what's the partition label in hd0, but reality is > that

Re: [PATCH] make 'sleep --interruptible 0' interruptible

2010-01-24 Thread Robert Millan
On Wed, Jan 20, 2010 at 10:50:25PM +0100, Szymon Janc wrote: > > > On the PC architecture, you can't check for Escape without having some > > kind of delay. Only modifier keys can be checked instantaneously. > > > > http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu/lucid/grub2/lucid/annot > >

Re: [PATCH] [RESEND] GRUB script lexer rewrite using flex

2010-01-24 Thread Robert Millan
On Sat, Jan 23, 2010 at 10:39:47AM +0530, BVK Chaitanya wrote: > Attached is the updated patch with changes as per review comments (by > phcoder). With these changes sh.mod file size is reduced from 38K to > 28K :-) Very nice! But I thought the flex-based rewrite would involve some size increase