does grub understand LVM raid1 layouts?

2014-08-28 Thread Bayard Bell
In moving my boot device to mirrored LVM under Debian jessie, I ended up unable to boot. I thought my problem was that I failed to run install-grub after adding GRUB_PRELOAD_MODULES=lvm to /etc/default/grub, but when I finally sorted out a working PXE image for rescue, I found that I was unable to

Re: does grub understand LVM raid1 layouts?

2014-08-28 Thread Andrei Borzenkov
В Thu, 28 Aug 2014 14:31:30 +0100 Bayard Bell пишет: > In moving my boot device to mirrored LVM under Debian jessie, I ended up > unable to boot. I thought my problem was that I failed to run install-grub > after adding GRUB_PRELOAD_MODULES=lvm to /etc/default/grub, but when I > finally sorted ou

[RFC PATCH 0/3] grub powerpc64 little-endian enablement

2014-08-28 Thread Paulo Flabiano Smorigo
From: Paulo Flabiano Smorigo Hi, At the beginning of the year we provide a patchset that enabled GRUB for little-endian PowerPC. Our approach at the time was to build GRUB itself and its tools in 64-bit little-endian. One of the reasons of build in 64-bit is to avoid 32-bit dependencies in the d

[RFC PATCH 1/3] Add powerpc little-endian (ppc64le) flags

2014-08-28 Thread Paulo Flabiano Smorigo
libgcc dependency was removed *just* for this target because the distros that use ppc64el doesn't have 32-bit support on it. * configure.ac: Add targets for powerpc64el and skip libgcc. * Makefile.am: Likewise. --- configure.ac | 17 +++-- grub-core/Makefile.am | 2 ++ 2 fil

[RFC PATCH 3/3] Suport for bi-endianess in elf file

2014-08-28 Thread Paulo Flabiano Smorigo
* grub-core/kern/elf.c: check and switch endianess with grub_{be,le}_to cpu functions. * grub-core/kern/elfXX.c: Likewise. Also-by: Tomohiro B Berry --- grub-core/kern/elf.c | 60 +++-- grub-core/kern/elfXX.c | 73 ++

[RFC PATCH 2/3] Files reorganization and include some libgcc fuctions

2014-08-28 Thread Paulo Flabiano Smorigo
As we avoid libgcc dependency for powerpc64el, we moved some functions to other files and add the necessary ones. * Makefile.core.def: Include compiler-rt.S. * misc.c: Add the necessary libgcc functions. * compiler-rt.S: New file. * libgcc.h: Move some content from here ... * compiler.h: ... to he

[PATCH] Fix build with glibc 2.20

2014-08-28 Thread Khem Raj
* grub-core/kern/emu/hostfs.c: squahes below warning warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" Signed-off-by: Khem Raj --- grub-core/kern/emu/hostfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-core/kern/emu/hostfs.c b/g