Re: Grub2 svn2059

2009-04-04 Thread Andreas Born
BandiPat wrote: phcoder wrote: Have you re-run grub-setup? -- No, I've never run grub-setup after an install, only grub-install & grub-mkconfig. What will that program do? I tried to read the man page, but it gave me an error. It's invoked by grub-install to do the actual installati

Re: Grub2 svn2059

2009-04-05 Thread Andreas Born
BandiPat schrieb: Thanks Andreas, I just figured that out as well when testing on another machine just now. If you still have the file I sent you for svn2059, would you mind testing it on your machine as well. I'm tempted to send you the svn2059 or 2065 to compile on your current machine, to

[PATCH] prevent duplicated entries due to symlinks

2009-05-01 Thread Andreas Born
out. Andreas diff --git a/ChangeLog b/ChangeLog index 9097f25..ddf1c3e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2009-05-01 Andreas Born + +* util/grub.d/10_linux.in: Prevent duplicated entries because both + symlink and symlinked kernel are detected, only use the symlink +

Re: [PATCH] prevent duplicated entries due to symlinks

2009-05-05 Thread Andreas Born
resort initrd.img initrd.gz and initrd.splash are tried in that order (that's also new). Roughly speaking only new fallback options. Do you see a problem there or do you have a concrete versioned name to add? Andreas diff --git a/ChangeLog b/ChangeLog index 2203b68..f1606ba 100644 --- a/Cha

[PATCH] create variables when exporting them

2009-10-15 Thread Andreas Born
This patch changes grub_env_export to create variables with empty value, if necessary. This makes it possible to export variables before actually assigning them any value and is the way bash behaves. Thanks Andreas ChangeLog: 2009-10-15 Andreas Born * kern/env.c (grub_env_export

Re: [PATCH] create variables when exporting them

2009-10-15 Thread Andreas Born
Here you go: ChangeLog: 2009-10-15 Andreas Born * kern/env.c (grub_env_export): Create nonexistent variables before exporting. The mixed indentation (tabs and spaces) in kern/env.c was a bit confusing. Andreas Colin Watson schrieb: On Thu, Oct 15, 2009 at 08:40:37PM +0200

Re: [bug #27710] variable type not exported into new context

2009-12-06 Thread Andreas Born
As of r1917 grub_env_context_open still doesn't mark exported variables as global in the new context. Attached patch exports them with grub_env_export in the new context. Andreas Born schrieb: URL: <http://savannah.gnu.org/bugs/?27710> Summary: variable type n

Re: [bug #27695] parser.sh ignores the closing quote when preceeded by a variable

2009-12-06 Thread Andreas Born
Problem exists still as of r1917. I've attached a rediffed version of Vladimir's patch. The behaviour without the patch changed (it's even more confusing), but it's basically still the same: grub> echo "$root" grub>" hd0,1 Vladimir 'phcoder

Re: [PATCH] create variables when exporting them

2009-12-06 Thread Andreas Born
Same here. Nothing changed as of r1917 and I didn't get any further feedback either. I've attached a rediffed version, too. Andreas Born schrieb: Here you go: ChangeLog: 2009-10-15 Andreas Born * kern/env.c (grub_env_export): Create nonexistent variables before exporti

Re: [PATCH] create variables when exporting them

2009-12-15 Thread Andreas Born
I just noticed that I forgot the header line of the diff. Sorry for that. New double checked version attached. The Changelog is still: 2009-12-15 Andreas Born * kern/env.c (grub_env_export): Create nonexistent variables before exporting. Andreas Born schrieb: Same here. Nothing

Re: [bug #27710] variable type not exported into new context

2009-12-15 Thread Andreas Born
Seems like I completely forgot the diff here. Sorry, this time it is attached. Changelog: 2009-12-15 Andreas Born * kern/env.c (grub_env_context_open): Reapply global flag for variables exported to the new context. This behaviour can be really annoying. If one boots to the grub menu

Re: Secure Boot. Why don't you take the wind out of their sails?

2012-07-09 Thread Andreas Born
thing is verified the glamorously advertised, all-encompassing, magic protection is actually a fallacy and just very limited. If it weren't for the seemingly obvious true concerns of global companies, it could actually be quite an interesting technology. Andreas Born _

Re: Secure Boot. Why don't you take the wind out of their sails?

2012-07-09 Thread Andreas Born
Am 10.07.2012 03:23, schrieb richardvo...@gmail.com: I'll decloak to offer my response, but please remember that I'm not one of the developers so my opinion is of limited value. By the same token, I've been recognized by Microsoft for community contributions, but I do not work for them and do no

Re: LiveCD bootloader

2010-09-08 Thread Andreas Born
Hi, we're building our LiveCD with Grub2. You can have a look at the config files we use/generate here: http://salix.svn.sourceforge.net/viewvc/salix/salix-live/trunk/livegrub2/ The other live stuff in general is here: http://salix.svn.sourceforge.net/viewvc/salix/salix-live/trunk/ For the bui

GRUB2 fails when booting from CD

2010-09-08 Thread Andreas Born
Am 08.09.2010 17:46, schrieb Colin Watson: On Wed, Sep 08, 2010 at 05:28:07PM +0200, Andreas Born wrote: - Starting Grub2 fails on my pretty new desktop (the only such report as far as I'm concerned) Fails how? After selecting to boot from cdrom in the bios it output

Re: GRUB2 fails when booting from CD

2010-09-26 Thread Andreas Born
ping Am 08.09.2010 18:31, schrieb Andreas Born: Am 08.09.2010 17:46, schrieb Colin Watson: On Wed, Sep 08, 2010 at 05:28:07PM +0200, Andreas Born wrote: - Starting Grub2 fails on my pretty new desktop (the only such report as far as I'm concerned) Fails how? After selecting to boot

Re: GRUB2 fails when booting from CD

2010-09-28 Thread Andreas Born
Am 28.09.2010 20:11, schrieb Phillip Susi: On 9/28/2010 12:37 PM, Andreas Born wrote: If I understood that part about hd emulation right, that would mean the image wouldn't work on any machine? Or is it possible to switch dynamically with one single image between hd emulation and nati

Re: GRUB2 fails when booting from CD

2010-12-27 Thread Andreas Born
I tested it too. Hope that helps. Regards, Andreas Am 25.12.2010 21:45, schrieb Vladimir 'φ-coder/phcoder' Serbinenko: On 09/08/2010 06:31 PM, Andreas Born wrote: Am 08.09.2010 17:46, schrieb Colin Watson: On Wed, Sep 08, 2010 at 05:28:07PM +0200, Andreas

Re: Regarding ENV variable

2011-01-04 Thread Andreas Born
I just quickly tested this behaviour with bash (and busybox). With neither of them I needed to use eval. Although eval could be a nice feature, it may be better to consider adapting to this seemingly common behaviour. Here's the output from bash: $ blub="blub1 blub2" $ touch $blub $ ls $blub blu

Re: Error: prefix not set

2011-06-20 Thread Andreas Born
Hi, I think this is the issue described here: http://www.mail-archive.com/grub-devel@gnu.org/msg16839.html Regards, Andreas Am 20.06.2011 09:28, schrieb Yves Blusseau: Hi all, I see a message "prefix not set" when the grub kernel try to load the grub.cfg file and that the normal module is

Build failure: Error: attempt to move .org backwards

2012-01-18 Thread Andreas Born
eaving directory `/home/shador/projects/checkouts/grub/branches/build/grub-core' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/shador/projects/checkouts/grub/branches/build' make: *** [all] Fehler 2 Regards, Andreas Born

Re: Build failure: Error: attempt to move .org backwards

2012-01-18 Thread Andreas Born
-long-ago with that suggestion for another person as well. He said you can increase it as long as you don't do it too much and as long as the value is divisible by 8. --S Quoting Andreas Born, who wrote the following on Wed, 18 Jan 2012: Hello, having trouble building the latest bzr 37

Re: Build failure: Error: attempt to move .org backwards

2012-01-18 Thread Andreas Born
add redundancy stuff in grub-setup (since it was causing me problems I haven't had time to identify). You may want to try that also -- make sure you ifdef out the code that sets the redundancy size also, otherwise, you're going to crash. --S Quoting Andreas Born, who wrote the foll

Re: gettext in scripts

2012-02-10 Thread Andreas Born
Hi, this is a great feature! Our LiveCD project (Salix Live) uses grub as bootloader and we offer a localized boot menu, which is - at least last time I checked - roughly implemented like SGD's localization. So not only SGD could benefit from such an infrastructure and this is something we've

Support for different hotkey action than execute

2012-02-26 Thread Andreas Born
Attached patch introduces a new environment variable hotkey_action. It can be set to select or execute, whereas the latter is the default. So the default behaviour doesn't change. With select set instead a menu entry is just selected and not executed/booted on hotkey press. This is for example

Re: [PATCH] Making exported variables really global

2012-03-04 Thread Andreas Born
Am 04.03.2012 18:55, schrieb Andreas Vogel: Please let me summarize this issue after thinking about it again: Right now the submenu command opens a new context. All exported vars in the parent context are also exported to the new context of the submenu. This is the same behaviour like for Unix s

Re: Support for different hotkey action than execute

2012-03-04 Thread Andreas Born
Any problem with this patch? Or why is there no comment? I know, it's really long. ;) In fact, if possible, I'd be very happy if we can still get this into 2.00. Am 27.02.2012 00:08, schrieb Andreas Born: Attached patch introduces a new environment variable hotkey_action. It can

Re: Frozen

2012-03-04 Thread Andreas Born
Am 04.03.2012 13:17, schrieb Vladimir 'φ-coder/phcoder' Serbinenko: You forget the case line_start = 0. Please try: -for (i = k - 1; i > (signed) line_start - 1 && i >= 0; +for (i = k - 1; i >= 0 && (unsigned) i >= line_start; Fixes it here with gcc 4.5.2. But now getting: gcc

Re: [PATCH] Making exported variables really global

2012-03-04 Thread Andreas Born
Am 04.03.2012 23:48, schrieb Andreas Vogel: First of all thanks for your detailed comment. Am 04.03.2012 22:03, schrieb Andreas Born: Am 04.03.2012 18:55, schrieb Andreas Vogel: Please let me summarize this issue after thinking about it again: Right now the submenu command opens a new

Grub version variable in shell

2012-03-10 Thread Andreas Born
ainf**k parser at least. :D For completeness two-line patch attached. (Untested) Andreas Born === modified file 'grub-core/normal/main.c' --- grub-core/normal/main.c 2012-03-04 23:41:37 + +++ grub-core/normal/main.c 2012-03-11 02:29:53 + @@ -552,6 +552,8 @@ g

Re: Grub version variable in shell

2012-03-11 Thread Andreas Born
Am 11.03.2012 03:51, schrieb Vladimir 'φ-coder/phcoder' Serbinenko: On 11.03.2012 03:40, Andreas Born wrote: Hi, it would be great to have a variable like version or grub_version in the shell. Sorry, if there is already such an option and I didn't find it. But I only saw cpu

Re: Grub version variable in shell

2012-03-11 Thread Andreas Born
Am 11.03.2012 13:47, schrieb Vladimir 'φ-coder/phcoder' Serbinenko: Why not define "feature_bugXYZ_fixed" for bugs? Which ones are missing in 2.00~beta1? In 1.98 there was that export issue, I already mentioned. When opening a new context with configfile e.g. variables were exported to the new

Re: Grub version variable in shell

2012-03-11 Thread Andreas Born
Am 11.03.2012 15:07, schrieb Vladimir 'φ-coder/phcoder' Serbinenko: On 11.03.2012 14:55, Andreas Born wrote: In 1.98 there was that export issue, I already mentioned. When opening a new context with configfile e.g. variables were exported to the new context, but not marked anymore fo

Re: assigning a value to a variable in 00_header

2012-05-02 Thread Andreas Born
- Ursprüngliche Mitteilung - > Sorry, > the source code examples I've sent are from grub.cfg and not from > 00_header - in 00_header a $ needs to be escaped with \ > > Greetings > Joachim > > Am 02.05.2012 15:12, schrieb Joachim Mammele: > > Hi everybody, > > > > I'd like to add a valu