Re: A thread on grub-bug could need attention

2018-01-31 Thread Thomas Schmitt
Hi, Michel Bouissou wrote: > I'm happy to report that the USB stick I made today with > grub-mkrescue-sed.sh does boot alright on tested machines. So GRUB itself is ok with the machine. GPT and MBR partitions alike. > The HP tested machine has, AFAIK, no CSM "legacy" boot mode at all and I > be

Re: A thread on grub-bug could need attention

2018-01-31 Thread Michel Bouissou
Hi, Le 31/01/2018 à 22:37, Thomas Schmitt a écrit : > > In this case a run with grub-mkrescue-sed.sh will not make much sense. > First one will have to configure GRUB to enable at least one of the EFI > variants. I dimly remember that the machine was 64 bit, i.e. should run > bootx64.efi. I'm ha

[PATCH] Make grub-install check for errors from efibootmgr

2018-01-31 Thread Steve McIntyre
Code is currently ignoring errors from efibootmgr, giving users clearly bogus output like: Setting up grub-efi-amd64 (2.02~beta3-4) ... Installing for x86_64-efi platform. Could not delete variable: No space left on device Could not prepare Boot variable: No space l

Re: [PATCH] Make grub-install check for errors from efibootmgr

2018-01-31 Thread Steve McIntyre
On Tue, Jan 30, 2018 at 06:44:05PM +0100, Daniel Kiper wrote: >On Mon, Jan 29, 2018 at 06:54:23PM +, Steve McIntyre wrote: >> >> diff --git a/grub-core/osdep/unix/platform.c >> b/grub-core/osdep/unix/platform.c >> index a3fcfcaca..b3a617e44 100644 >> --- a/grub-core/osdep/unix/platform.c >> ++

Re: A thread on grub-bug could need attention

2018-01-31 Thread Thomas Schmitt
Hi, it comes to me that possibly Michel's grub-mkrescue run was BIOS-only. So Michel, take much care to come back in good shape. We have experiments to do. :)) --- At least on Debian the boot equipment prepared by grub-mkrescue

[PATCH 2/2] .mod files: Strip annobin annotations and .eh_frame, and their relocations

2018-01-31 Thread Peter Jones
This way debuginfo built from the .module will still include this information, but the final result won't have the data we don't actually need in the modules, either on-disk, loaded at runtime, or in prebuilt images. Signed-off-by: Peter Jones --- grub-core/genmod.sh.in | 4 1 file changed,

[PATCH 1/2] mkimage: avoid copying relocations for sections that won't be copied.

2018-01-31 Thread Peter Jones
Some versions of gcc include a plugin called "annobin", and in some build systems this is enabled by default. This plugin creates special ELF note sections to track which ABI-breaking features are used by a binary, as well as a series of relocations to annotate where. If grub is compiled with thi

Re: A thread on grub-bug could need attention

2018-01-31 Thread Daniel Kiper
On Wed, Jan 31, 2018 at 10:38:03AM +0100, Michel Bouissou wrote: > Hello, > > Le 30/01/2018 ?? 20:15, Thomas Schmitt a ??crit??: > > It also does not work when booting the ISO images which shall install > > the systems. > > E.g. debian-9.3.0-amd64-netinst.iso : > Yes. AFAIR I had tested all the lat

Re: A thread on grub-bug could need attention

2018-01-31 Thread Thomas Schmitt
Hi, Michel Bouissou wrote: > I would assume that I need to create a "minimal" directory with a > "dummy" file inside like previously ? Yes. The experiment can well wait until you are back from travel. > However, I don't have any "grub-mkrescue-sed.sh" file Get it from https://dev.lovelyhq

Re: A thread on grub-bug could need attention

2018-01-31 Thread Michel Bouissou
Hi, Le 31/01/2018 à 13:20, Thomas Schmitt a écrit : > This run too ? > > grub-mkrescue -o output.iso minimal \ > --xorriso=...path.../grub-mkrescue-sed.sh \ > -partition_offset 16 > I would assume that I need to create a "minimal" directory with a "dummy" file i

Re: A thread on grub-bug could need attention

2018-01-31 Thread Thomas Schmitt
Hi, i wrote: > > It also does not work when booting the ISO images which shall install > > the systems. Michel Bouissou wrote: > Yes. AFAIR I had tested all the latest (in december) standard > installation media for at least : > [...] > - Debian live debian-live-9.3.0-amd64-xfce.iso looks much l

Re: [PATCH] chainloader: Fix wrong break condition (must be AND not OR)

2018-01-31 Thread C. Masloch
On at 2018-01-29 18:09 +01:00, Daniel Kiper wrote: > On Sun, Jan 21, 2018 at 04:02:10PM +0100, C. Masloch wrote: >> The definition of bpb's num_total_sectors_16 and num_total_sectors_32 >> is that either the 16-bit field is non-zero and is used (in which case >> eg mkfs.fat sets the 32-bit field to

Re: A thread on grub-bug could need attention

2018-01-31 Thread Michel Bouissou
Hello, Le 30/01/2018 à 20:15, Thomas Schmitt a écrit : > It also does not work when booting the ISO images which shall install > the systems. > E.g. debian-9.3.0-amd64-netinst.iso : Yes. AFAIR I had tested all the latest (in december) standard installation media for at least : - Manjaro Cinnamon x