Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)

2008-01-09 Thread Jan Nieuwenhuizen
Robert Millan writes: > Wait, do lvm devices actually contain a partition map? I don't think so. LVM devices have volume groups and logical volumes. > If not, then this is > normal, although in this case grub-probe should tell you the partmap > for > whatever physical partition contains the lv

Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)

2008-01-09 Thread Jan Nieuwenhuizen
Robert Millan writes: > > grub-mkimage --output=/boot/grub/core.img --prefix=/boot/grub ext2 lvm > > pc gpt biosdisk _chain > What happens if you change grub-mkimage parameter order? Put "lvm" as the > last one. Yes, that's it. For the archives, this grub-mkimage --output=/boot/grub/

Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)

2008-01-09 Thread Robert Millan
On Wed, Jan 09, 2008 at 10:08:50AM +0100, Jan Nieuwenhuizen wrote: > Robert Millan writes: > > > Wait, do lvm devices actually contain a partition map? > > I don't think so. LVM devices have volume groups and logical volumes. > > > If not, then this is > > normal, although in this case grub-pr

Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)

2008-01-09 Thread Jan Nieuwenhuizen
Robert Millan writes: > Partition maps aren't really mandatory; much like lvm/raid. Hmm, yes of course. But having one may save your day if booting fails and you have useful non-lvm partitions. It is very useful if you can browse/use all your hdx,y if booting fails? Jan. -- Jan Nieuwenhuiz

Re: lvm does not work when included in core.img [FIXED]

2008-01-09 Thread Jan Nieuwenhuizen
Jan Nieuwenhuizen writes: > grub-mkimage --output=/boot/grub/core.img lvm ext2 pc gpt biosdisk > grub-setup --root-device='(lvmraid-lvm0)' '(hd0)' For the record: lvm should be last, ie grub-mkimage --output=/boot/grub/core.img ext2 pc gpt biosdisk lvm works for me [pc gpt] is option

Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)

2008-01-09 Thread Robert Millan
On Wed, Jan 09, 2008 at 10:00:37AM +0100, Jan Nieuwenhuizen wrote: > Robert Millan writes: > > > > grub-mkimage --output=/boot/grub/core.img --prefix=/boot/grub ext2 > > > lvm pc gpt biosdisk _chain > > > What happens if you change grub-mkimage parameter order? Put "lvm" as the > > last one

Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)

2008-01-09 Thread Robert Millan
On Wed, Jan 09, 2008 at 11:53:53AM +0100, Jan Nieuwenhuizen wrote: > Robert Millan writes: > > > Partition maps aren't really mandatory; much like lvm/raid. > > Hmm, yes of course. But having one may save your day if booting fails > and > you have useful non-lvm partitions. It is very useful i

GRUB / RISC OS

2008-01-09 Thread Robert Millan
Hi Timothy, I just came across your old mails about RISC OS port in grub-devel archive. Please, can you tell us what's the current status wrt getting your port merged? I'd like to have a look at what's missing. Thanks! -- Robert Millan I know my rights; I want my phone call! What use is a

Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)

2008-01-09 Thread Jan Nieuwenhuizen
Robert Millan writes: > The problem with that is it can't really solve the problem, only provide a > half-baked solution. If you include pc and gpt, you're misusing space in > a component where it's really critical, and you still don't support all > partitions GRUB might be installed on. For tha

Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)

2008-01-09 Thread Martin Braure de Calignon
Le mercredi 09 janvier 2008 à 12:41 +0100, Robert Millan a écrit : > On Wed, Jan 09, 2008 at 10:00:37AM +0100, Jan Nieuwenhuizen wrote: > > Robert Millan writes: > > > > > > grub-mkimage --output=/boot/grub/core.img --prefix=/boot/grub ext2 > > > > lvm pc gpt biosdisk _chain > > > > > What

Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)

2008-01-09 Thread Jan Nieuwenhuizen
Robert Millan writes: > I reworked and cleaned up the patch a bit. Please, can you test this one? This has lvm after biosdisk, which looks ok. grub-mkimage --output=/boot/grub/core.img --prefix=/tmp/boot/grub ext2 biosdisk lvm _chain Haven't boot-tested this yet, but should be ok. Btw, I

Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)

2008-01-09 Thread Martin Braure de Calignon
Le mercredi 09 janvier 2008 à 14:40 +0100, Martin Braure de Calignon a écrit : > /usr/lib/grub/update-grub_lib: line 103: probe: command not found > Updating /boot/grub/grub.cfg ... > Found linux image: /boot/vmlinuz-2.6.23-1-amd64 > Found initrd image: /boot/initrd.img-2.6.23-1-amd64 > done GRU

Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)

2008-01-09 Thread Robert Millan
On Wed, Jan 09, 2008 at 02:36:28PM +0100, Jan Nieuwenhuizen wrote: > Robert Millan writes: > > > I reworked and cleaned up the patch a bit. Please, can you test this one? > > This has lvm after biosdisk, which looks ok. > > grub-mkimage --output=/boot/grub/core.img --prefix=/tmp/boot/grub e

Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)

2008-01-09 Thread Martin Braure de Calignon
Le mercredi 09 janvier 2008 à 15:34 +0100, Robert Millan a écrit : > On Wed, Jan 09, 2008 at 02:50:20PM +0100, Martin Braure de Calignon wrote: > > GRUB_PRELOAD_MODULES="`${GRUB_PRELOAD_MODULES} ${grub-probe} -t abstrac > > > > > > on this line change ${grub-probe} ${grub_probe} > > Thanks It

Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)

2008-01-09 Thread Robert Millan
On Wed, Jan 09, 2008 at 02:07:20PM +0100, Jan Nieuwenhuizen wrote: > Robert Millan writes: > > > The problem with that is it can't really solve the problem, only provide a > > half-baked solution. If you include pc and gpt, you're misusing space in > > a component where it's really critical, and

Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)

2008-01-09 Thread Martin Braure de Calignon
Is it normal ? > grub-probe /usr > ext2 and not lvm :-/ -- Martin Braure de Calignon signature.asc Description: Ceci est une partie de message numériquement signée ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/g

Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)

2008-01-09 Thread Robert Millan
On Wed, Jan 09, 2008 at 02:56:42PM +0100, Martin Braure de Calignon wrote: > Is it normal ? > > > grub-probe /usr > > ext2 > > and not lvm :-/ Yes, the default is "-t fs". Try with "-t abstraction". Did my patch work? -- Robert Millan I know my rights; I want my phone call! What use is a

Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)

2008-01-09 Thread Robert Millan
On Wed, Jan 09, 2008 at 02:50:20PM +0100, Martin Braure de Calignon wrote: > GRUB_PRELOAD_MODULES="`${GRUB_PRELOAD_MODULES} ${grub-probe} -t abstrac > > > on this line change ${grub-probe} ${grub_probe} Thanks -- Robert Millan I know my rights; I want my phone call! What use is a phone call

Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)

2008-01-09 Thread Robert Millan
On Wed, Jan 09, 2008 at 03:55:18PM +0100, Martin Braure de Calignon wrote: > > Le mercredi 09 janvier 2008 à 15:34 +0100, Robert Millan a écrit : > > On Wed, Jan 09, 2008 at 02:50:20PM +0100, Martin Braure de Calignon wrote: > > > GRUB_PRELOAD_MODULES="`${GRUB_PRELOAD_MODULES} ${grub-probe} -t abs

[PATCH] jpeg image reader

2008-01-09 Thread Bean
Hi, this patch handle jpeg image files. diff --git a/conf/i386-pc.rmk b/conf/i386-pc.rmk index a46bc74..4beeeff 100644 --- a/conf/i386-pc.rmk +++ b/conf/i386-pc.rmk @@ -136,7 +136,7 @@ pkglib_MODULES = biosdisk.mod _chain.mod _linux.mod linux.mod normal.mod \ _multiboot.mod chain.mod mult

Re: [PATCH] jpeg image reader

2008-01-09 Thread Bean
Hi, I just fix a small bug that can cause color distortion, here is the new patch. diff --git a/conf/i386-pc.rmk b/conf/i386-pc.rmk index a46bc74..4beeeff 100644 --- a/conf/i386-pc.rmk +++ b/conf/i386-pc.rmk @@ -136,7 +136,7 @@ pkglib_MODULES = biosdisk.mod _chain.mod _linux.mod linux.mod normal.

Re: [PATCH] force load of lvm and raid before entering normal mode (Re: LVM on debian)

2008-01-09 Thread Martin Braure de Calignon
Le mercredi 09 janvier 2008 à 16:36 +0100, Robert Millan a écrit : > There should be one. Can you find out why 00_header is not echoing it? because font_path is never called ? with font_path under update-grub_lib in 00headers it works -- Martin Braure de Calignon signature.asc Description:

Re: [PATCH] jpeg image reader

2008-01-09 Thread Vesa Jääskeläinen
Bean wrote: Hi, I just fix a small bug that can cause color distortion, here is the new patch. Nice job for implementing JPEG. This is the major reason I made the bitmap loader interface, to allow other people to write loaders... now if we would just have PNG support ;) I will not comment

Re: revision control of `configure'

2008-01-09 Thread Pavel Roskin
On Tue, 2008-01-08 at 12:57 +0100, Robert Millan wrote: > http://cvs.savannah.gnu.org/viewvc/grub2/configure?root=grub&view=log > > Does it make sense to keep `configure' under revision control? Almost every > commit for unrelated things tends to change the whole thing. I suggested it in the day

[PATCH] fix `lvm' and `raid' loading for grub-install/core.img and update-grub/grub.cfg problems

2008-01-09 Thread Robert Millan
I just installed an LVM test system to debug this. On Wed, Jan 09, 2008 at 05:27:37PM +0100, Martin Braure de Calignon wrote: > > Le mercredi 09 janvier 2008 à 16:36 +0100, Robert Millan a écrit : > > > There should be one. Can you find out why 00_header is not echoing it? > > because font_pa