[PATCH] Test for files with ls

2008-07-07 Thread Lampersperger Andreas
Hi, I have there a small patch to commands/ls.c, whichs makes the ls-command return an error for non existing fils (as the bash ls command). With this patch, one can have in the grub.cfg files statements like: if ls /boot/grub/grub.cfg.gfx ; then source /boot/grub/grub.cfg.gfx fi I would be

Re: Idea: Single-time setting change

2008-07-07 Thread Pavel Roskin
On Sun, 2008-07-06 at 19:55 +, Jago Pearce wrote: > Simply add an option to so that the > default boot can be changed to something, but then changes back to it\'s > original setting after that boot. > > This way I can create an option of > `Reboot into Windows`, walk away for a coffee and find

Still unable to install grub 2 on my lvm setup

2008-07-07 Thread Jean-Christophe Haessig
Hello, I'm still trying to build and use the latest GRUB cvs version when there seems to be some movement in the LVM field. There was a thread in the ML three weeks ago and I tried it again, but I still get the same errors as I got, back in January. The system can be booted with a floppy where th

Re: Still unable to install grub 2 on my lvm setup

2008-07-07 Thread Bean
On Mon, Jul 7, 2008 at 10:50 PM, Jean-Christophe Haessig <[EMAIL PROTECTED]> wrote: > Hello, > > I'm still trying to build and use the latest GRUB cvs version when there > seems to be some movement in the LVM field. There was a thread in the ML > three weeks ago and I tried it again, but I still ge

Re: Still unable to install grub 2 on my lvm setup

2008-07-07 Thread jean-christophe.haessig
On Mon, 7 Jul 2008 23:05:33 +0800, Bean <[EMAIL PROTECTED]> wrote: > You need to use the lzma patch, which reduces the size of core.img. Thanks for the suggestion, I'll give it a try... But I'd still like to have an answer to the following question : where the hell does grub want to store that im

Re: Still unable to install grub 2 on my lvm setup

2008-07-07 Thread Pavel Roskin
On Mon, 2008-07-07 at 19:26 +0200, [EMAIL PROTECTED] wrote: > On Mon, 7 Jul 2008 23:05:33 +0800, Bean <[EMAIL PROTECTED]> wrote: > > > You need to use the lzma patch, which reduces the size of core.img. > > Thanks for the suggestion, I'll give it a try... But I'd still like > to have an answer to

Re: Endianness macros capitalization

2008-07-07 Thread Christian Franke
Javier Martín wrote: El dom, 06-07-2008 a las 20:30 +0200, Robert Millan escribió: On Sun, Jul 06, 2008 at 12:54:58AM +0200, Javier Martín wrote: El sáb, 05-07-2008 a las 17:30 -0400, Pavel Roskin escribió: They probably should be functions. We may want to sparse annotate GRUB

a bug in read

2008-07-07 Thread Yoshinori K. Okuji
Hello, I have noticed that read.c has a bug. In this line: while ((line[i - 1] != '\n') && (line[i - 1] != '\r')) LINE is not initialized yet at the first time, so this refers to a uninitialized location. Regards, Okuji ___ Grub-devel mailing lis

Re: Still unable to install grub 2 on my lvm setup

2008-07-07 Thread Jean-Christophe Haessig
Le lundi 07 juillet 2008 à 13:46 -0400, Pavel Roskin a écrit : > If the first partition starts on cylinder 0 (which is the most common), > it starts on head 1. All space on head 0, cylinder 0 is available. The > maximal number on sectors per track is 63, and that's what is normally > used (old d

grub to help refund of pre-installations

2008-07-07 Thread Yoshinori K. Okuji
Hello, Some french-speaking people might have read this, but I would like to explain some ideas, since I am involved with this news somehow: http://www.zdnet.fr/actualites/informatique/0,39040745,39382177,00.htm This news, basically, says that my company will provide a solution to activating p

Re: grub to help refund of pre-installations

2008-07-07 Thread Jean-Christophe Haessig
Le mardi 08 juillet 2008 à 07:32 +0200, Yoshinori K. Okuji a écrit : In fact, you want to write a GRUB module which deciphers a partition when given a key. That's no DRM in any way. In the DRM world, users don't (and can't) get the real keys. JC -- AVIS : Falsifier le contenu et usurper l'ide

Re: Still unable to install grub 2 on my lvm setup

2008-07-07 Thread Michael Guntsche
On Tue, 08 Jul 2008 07:18:59 +0200, Jean-Christophe Haessig <[EMAIL PROTECTED]> wrote: > Er... There are no partitions on my disks. I create them like this : > > pvcreate /dev/hda > > Since the whole disk is used for LVM and LVM is some kind of > partitioning scheme, I didn't find useful to mak

Re: grub to help refund of pre-installations

2008-07-07 Thread Michael Gorven
On Tuesday 08 July 2008 07:32:40 Yoshinori K. Okuji wrote: > This news, basically, says that my company will provide a solution to > activating pre-installed software in a computer, after entering an access > code with cryptography, using GRUB 2. I have been working on adding support for encrypted