Re: [PATCH] Add support for specifying the boot device by label

2023-09-26 Thread darkpenguin
On 11/09/23 01:20, Vladimir 'phcoder' Serbinenko wrote: > Unlike UUID, label may contain spaces. AFAICT your code fails with spaces It fails indeed. However, I can't even figure out how to make spaces in labels work for *anything* - not only grub.cfg, but also fstab. Neither quoting nor escaping t

Re: [PATCH] acpi: skip NULL entries in RSDT and XSDT

2023-09-26 Thread Daniel Kiper
On Mon, Sep 25, 2023 at 01:58:18PM +0800, Michael Chang via Grub-devel wrote: > During attempts to configure a serial console, a Page Fault Exception > and system reset were encountered, specifically on release 2.12-rc1. > This issue was not present in prior versions and seemed to affect only a > s

Re: [PATCH v2 0/2] util/grub-install-common: Print usable grub-mkimage command

2023-09-26 Thread Daniel Kiper
On Fri, Sep 22, 2023 at 02:34:16PM -0500, Glenn Washburn wrote: > This fixes an issue where grub-install does not print a grub-mkimage > command, when running in verbose more, that can be run by grub-mkimage. > Specifically, --dtb and --sbat will not take empty strings as arguments. > > changes fro

Re: [PATCH] Fix 64-bit FreeBSD booting on BIOS

2023-09-26 Thread Daniel Kiper
On Sat, Jul 08, 2023 at 03:50:23PM +0200, Vladimir 'phcoder' Serbinenko wrote: > From 57725b7197bbb5964afcbf610549551e20c179ae Mon Sep 17 00:00:00 2001 > From: Vladimir Serbinenko > Date: Sat, 8 Jul 2023 07:16:22 +0200 > Subject: [PATCH] relocator: Fix incorrect instruction on 32-to-64 bit boot s

Re: bli module inclusion gives me just black screen on real hardware

2023-09-26 Thread Daniel Kiper
On Sat, Aug 12, 2023 at 03:01:19PM +0200, Tobias Powalowski via Grub-devel wrote: > Am 12.08.23 um 14:52 schrieb Oliver Steffen: > > Quoting Daniel Kiper (2023-08-11 18:13:57) > > > Hi, > > > > > > Sorry for late reply but I was on vacation... > > > > > > On Tue, Jul 18, 2023 at 02:34:08PM +0200,

How Linus distro like Fedora named all utilities binary file prefixed with grub2-*

2023-09-26 Thread document via Grub-devel
Hi, Anyone teach me how grub 2 build from source but all utilities binary file will prefixed with grub2-*, e.g /usr/bin/grub-mkimage will installed as /usr/bin/grub2-mkimage, yes, Fedora did it. I've checked some web pages especially "https://src.fedoraproject.org/rpms/grub2/tree/rawhide"; but

Re: How Linus distro like Fedora named all utilities binary file prefixed with grub2-*

2023-09-26 Thread Mike Gilbert
On Tue, Sep 26, 2023 at 12:56 PM document via Grub-devel wrote: > > Hi, > > Anyone teach me how grub 2 build from source but all utilities binary file > will prefixed with grub2-*, > e.g /usr/bin/grub-mkimage will installed as /usr/bin/grub2-mkimage, yes, > Fedora did it. > > I've checked some w

Re: How Linus distro like Fedora named all utilities binary file prefixed with grub2-*

2023-09-26 Thread document via Grub-devel
>> Hi, >> >> Anyone teach me how grub 2 build from source but all utilities binary file will prefixed with grub2-*, >> e.g /usr/bin/grub-mkimage will installed as /usr/bin/grub2-mkimage, yes, Fedora did it. >> >> I've checked some web pages especially "https://src.fedoraproject.org/rpms/grub2/tr

Re: Relocation overflow on RISC-V with multi-range memory layout

2023-09-26 Thread Wu, Fei
On 9/25/2023 4:51 PM, Wu, Fei wrote: > Hi All, > > I'm enabling PCIe passthrough on qemu riscv, the physical memory > range between 3GB and 4GB is reserved. Therefore if guest has 4GB ram, > two ranges are created as [2G, 3G) and [4G, 7G). More details can be > found here: > https://lore.kernel.or

Re: [PATCH] Add support for specifying the boot device by label

2023-09-26 Thread darkpenguin
Here is an updated patch that uses GRUB_ENABLE_LINUX_LABEL=true instead. Supporting whitespace or other symbols in the label doesn't make sense until we can figure out how to properly specify them in grub.cfg - so far, nothing I've tried works (escaping, quoting, %20, \x20). --- diff --git a/uti