【BUG】grub2 serial module coredump

2024-07-05 Thread 岳远昆
Hello, I recently discovered a bug. When using the serial module in the grub shell, there was no response from the grub shell, and it is initially suspected to be a core dump. Through debugging analysis of grub-core/kern/acpi.c, grub2 crashed after grub_memcmp (tbl ->signature, sig

Re: [PATCH] lvm: Grub2 fails to detect LVM volumes due to an incorrect computation of mda_end

2024-05-15 Thread Michael Chang via Grub-devel
On Thu, May 16, 2024 at 12:04:21PM GMT, Michael Chang wrote: > On Wed, May 08, 2024 at 05:48:15PM GMT, Daniel Kiper via Grub-devel wrote: > > Adding Marta... > > > > On Mon, May 06, 2024 at 03:18:45PM -0500, Glenn Washburn wrote: > > > From: Rogier > > > > > > When handling a regular LVM volume,

Re: [PATCH] lvm: Grub2 fails to detect LVM volumes due to an incorrect computation of mda_end

2024-05-15 Thread Michael Chang via Grub-devel
On Wed, May 08, 2024 at 05:48:15PM GMT, Daniel Kiper via Grub-devel wrote: > Adding Marta... > > On Mon, May 06, 2024 at 03:18:45PM -0500, Glenn Washburn wrote: > > From: Rogier > > > > When handling a regular LVM volume, Grub can fail with the message: > > error: disk

Re: [PATCH] lvm: Grub2 fails to detect LVM volumes due to an incorrect computation of mda_end

2024-05-08 Thread Daniel Kiper via Grub-devel
Adding Marta... On Mon, May 06, 2024 at 03:18:45PM -0500, Glenn Washburn wrote: > From: Rogier > > When handling a regular LVM volume, Grub can fail with the message: > error: disk `lvmid/**------ > /**------**' not found. > > If the

[PATCH] lvm: Grub2 fails to detect LVM volumes due to an incorrect computation of mda_end

2024-05-06 Thread Glenn Washburn
From: Rogier When handling a regular LVM volume, Grub can fail with the message: error: disk `lvmid/**------ /**------**' not found. If the condition which triggers this exists, grub-probe will report the error mentioned above. Similarly,

Re: bug #61620: Grub2 fails to detect LVM volumes with: error: disk `lvmid/*/*' not found

2024-05-06 Thread Glenn Washburn
o this (I suppose I nor many others have a VG that has been changed more than 220 times). I'll submit a proper patch to the list to get the ball moving on this. Glenn > > --- > Index: grub2-2.02+dfsg1/grub-core/disk/lvm.c > =

Re: bug #61620: Grub2 fails to detect LVM volumes with: error: disk `lvmid/*/*' not found

2024-05-02 Thread Horst Prote
the issue tracker saying that patches will not be looked at > unless they are sent to this list for review. > > Would you be willing to submit the patch to the list so it can be > reviewed? OK, here is the patch from bug #61620 as supplied by https://savannah.gnu.org/users/rogier777

Re: bug #61620: Grub2 fails to detect LVM volumes with: error: disk `lvmid/*/*' not found

2024-04-26 Thread Glenn Washburn
On Wed, 3 Apr 2024 10:23:59 +0200 Horst Prote wrote: > Hi, > > could the patch supplied in bug #61620 > (https://savannah.gnu.org/bugs/?func=detailitem_id=61620) please be > reviewed and applied. Unfortunately, the issues tracker is mostly unused. Patches are exclusively reviewed on this list.

Grub2 language .po files - Doubts about original strings syntax

2024-04-05 Thread bovirus (gmail)
Hi. I have some doubts about language sorurce strings syntax Starting lowercase (instead uppercase) with multiline strings. Ex other software is using the embedding area, and there is not enough room for core.img. Such software is often trying to store data in a way that avoids

bug #61620: Grub2 fails to detect LVM volumes with: error: disk `lvmid/*/*' not found

2024-04-03 Thread Horst Prote
Hi, could the patch supplied in bug #61620 (https://savannah.gnu.org/bugs/?func=detailitem_id=61620) please be reviewed and applied. Thanks, Horst Prote -- Horst Prote, FMI__o Systemadministration Abt. ALG und TI Universitaet Stuttgart `\<,Tel: +49 711 685-88348, FAX:

[SECURITY PATCH 0/6] GRUB2 NTFS driver vulnerabilities - 2023/10/03

2023-10-03 Thread Daniel Kiper
Hi all, This patch set contains a bundle of fixes for various security flaws discovered in the GRUB2 NTFS driver code recently. The most severe ones, i.e. potentially exploitable, have CVEs assigned and are listed at the end of this email. Details of exactly what needs updating will be provided

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/tree/ra

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.

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/ra

Re: Installed Fedora 38 (sway) / grub2 on a new HD - boots OK but does not have a menuentry item in grub.cfg ?

2023-05-03 Thread Oliver Steffen
used: > > - cat /etc/os-release > > NAME="Fedora Linux" > VERSION="38 (Sway)" > . > PRETTY_NAME="Fedora Linux 38 (Sway)" > ANSI_COLOR="0;38;2;60;110;180" > . > VARIANT="Sway" > VARIANT_ID=sway > > - The install pi

Installed Fedora 38 (sway) / grub2 on a new HD - boots OK but does not have a menuentry item in grub.cfg ?

2023-04-21 Thread Philip Rhoades via Grub-devel
PRETTY_NAME="Fedora Linux 38 (Sway)" ANSI_COLOR="0;38;2;60;110;180" . VARIANT="Sway" VARIANT_ID=sway - The install picked up old Fedora boot setups which show up in /boot/grub2/grub.conf like this: menuentry 'Fedora Linux 37 (KDE Plasma) (on /dev/sde3)' --class gnu

IPV4 UEFI grub2 PXE boot, network unavailable immediately after grub starts

2023-04-04 Thread alexander . burmashev
abnormal traffic before it happens via tcpdump, nothing suspicious in tftp log, though i might have not been trying/checking hard enough. According to grub variables everything is setup correctly, so there is no issue with dhcp traffic ? The exact loop grub2 is entering is permacycling over https

Re: clang appends an extra string to Grub2 making it not work with MBR systems

2023-01-17 Thread Mike Gilbert
On Tue, Jan 17, 2023 at 12:50 PM Daniel Kiper wrote: > > On Tue, Jan 03, 2023 at 01:15:46AM +, Immolo via Grub-devel wrote: > > Using Gentoo with clang on a MBR system I have come across an extra string > > the > > content /lib/ld-linux.so.2 is being added to > >

Re: clang appends an extra string to Grub2 making it not work with MBR systems

2023-01-17 Thread Daniel Kiper
On Tue, Jan 03, 2023 at 01:15:46AM +, Immolo via Grub-devel wrote: > Using Gentoo with clang on a MBR system I have come across an extra string the > content /lib/ld-linux.so.2 is being added to > /usr/lib/grub/i386-pc/diskboot.img > and /usr/lib/grub/i386-pc/boot.img taking it over 512 bytes

[PATCH 0/1] Grub2 clang MBR image fix

2023-01-12 Thread Nicholas Vinson
When building grub, the files boot.img and diskboot.img are generated from ELF reference images and have the expectation that they will be 512 bytes inside each. However, when GRUB is built with clang, these files become bigger than 512-bytes because the name of the ELF interpreter is appended to

Re: clang appends an extra string to Grub2 making it not work with MBR systems

2023-01-12 Thread Vladimir 'phcoder' Serbinenko
Can you upload diskboot.exec and boot.exec somewhere? Did you see any errors? Ideally we should have errored out if those files are not 512 bytes On Tue, 3 Jan 2023 at 09:09, Immolo via Grub-devel wrote: > Using Gentoo with clang on a MBR system I have come across an extra string > the content

Re: clang appends an extra string to Grub2 making it not work with MBR systems

2023-01-12 Thread Daniel Kiper
On Tue, Jan 03, 2023 at 01:15:46AM +, Immolo via Grub-devel wrote: > Using Gentoo with clang on a MBR system I have come across an extra string the > content /lib/ld-linux.so.2 is being added to > /usr/lib/grub/i386-pc/diskboot.img > and /usr/lib/grub/i386-pc/boot.img taking it over 512 bytes

clang appends an extra string to Grub2 making it not work with MBR systems

2023-01-02 Thread Immolo via Grub-devel
Using Gentoo with clang on a MBR system I have come across an extra string the content /lib/ld-linux.so.2 is being added to /usr/lib/grub/i386-pc/diskboot.img and /usr/lib/grub/i386-pc/boot.img taking it over 512 bytes meaning it can't be used on a MBR system. You can use truncate to remove the

Re: [SECURITY PATCH 00/13] Multiple GRUB2 vulnerabilities - 2022/11/15

2022-11-16 Thread Daniel Kiper
On Tue, Nov 15, 2022 at 07:00:20PM +0100, Daniel Kiper wrote: > Hi all, > > This patch set contains a bundle of fixes for various security flaws > discovered > in the GRUB2 font code during last few months. The most severe ones, i.e. > potentially > exploitable, have CVEs as

[SECURITY PATCH 00/13] Multiple GRUB2 vulnerabilities - 2022/11/15

2022-11-15 Thread Daniel Kiper
Hi all, This patch set contains a bundle of fixes for various security flaws discovered in the GRUB2 font code during last few months. The most severe ones, i.e. potentially exploitable, have CVEs assigned and are listed at the end of this email. Details of exactly what needs updating

Re: multiboot2 and module2 boot issues via GRUB2

2022-07-19 Thread Bruno via Grub-devel
Hello folks. Thank you for this. I a incurring the same problem, can’t boot into Xen. Did anyone implement the grub2 patch? Is there any way around this? I have posted it on stackexchange with more details and the config files: https://unix.stackexchange.com/q/710400/375983

[PATCH RESEND v3] Simple HiDPI support for GRUB2

2022-06-27 Thread Zhang Boyang
Hi, This is a resend of my [PATCH v3]. Thank you. Best Regards, Zhang Boyang === Changes in [PATCH RESEND V3]: Rebased to latest git head. Changes in [PATCH V3]: 1/2: To avoid interger overflow during scaling, this patch intruduces GRUB_FONT_MAX_DIMENSION and GRUB_FONT_MAX_SCALE. The font

[SECURITY PATCH 00/30] Multiple GRUB2 vulnerabilities - 2022/06/07 round

2022-06-07 Thread Daniel Kiper
Hi all, This patch set contains a bundle of fixes for various security flaws discovered in the GRUB2 during last year. The most severe ones, i.e. potentially exploitable, have CVEs assigned and are listed at the end of this email. Additionally, the list of CVEs contains a CVE assigned

Re: Comparable syslinux kernel command in GRUB2?

2022-03-17 Thread Daniel Kiper
d translates to GRUB2. I've tried `linux` and `linux16`, but those don't > work. I've found some examples of using `multiboot`, but that just hangs. I > tried chainloading the ISO as well as the `syslinux_source` and > `syslinux_configfile` (which is not the way I'd like to go in the end

Comparable syslinux kernel command in GRUB2?

2022-03-13 Thread Robert LeBlanc
I'm trying to convert a syslinux/isolinux config from the VMware ESXi installer ISO for PXE booting and I'm trying to figure out how the syslinux 'kernel' command translates to GRUB2. I've tried `linux` and `linux16`, but those don't work. I've found some examples of using `multiboot

Re: grub2 + xen + lz4 kernels

2021-12-01 Thread Juergen Gross via Grub-devel
On 01.12.21 20:24, Shaun Reitan wrote: Hi Daniel thanks for your reply!  You mentioned finding a new LZ4 library but grub2 already looks to support lz4 compressed kernels. The issue is that they don't look to be supported under the Xen platform with a target of x86_64. Grub does "su

Re[2]: grub2 + xen + lz4 kernels

2021-12-01 Thread Shaun Reitan
Hi Daniel thanks for your reply! You mentioned finding a new LZ4 library but grub2 already looks to support lz4 compressed kernels. The issue is that they don't look to be supported under the Xen platform with a target of x86_64. I'm going to poke around on this today and see what I can

Re: grub2 + xen + lz4 kernels

2021-11-30 Thread Daniel Kiper
On Tue, Nov 30, 2021 at 07:21:42AM +0100, Juergen Gross via Grub-devel wrote: > On 30.11.21 00:25, Shaun Reitan wrote: > > I currently use XEN to boot PV (paravirt) virtual server instances for > > our customers. Grub2 introduced support for booting a xen kernel > > direct

Re: grub2 + xen + lz4 kernels

2021-11-29 Thread Juergen Gross via Grub-devel
On 30.11.21 00:25, Shaun Reitan wrote: I currently use XEN to boot PV (paravirt) virtual server instances for our customers. Grub2 introduced support for booting a xen kernel directly from a guests disk image which has worked great for years. We use the following command to build our image

Re: grub2 + xen + lz4 kernels

2021-11-29 Thread Andy Smith
st to Xen PVH mode. The Grub2 PVH image can boot LZ4-compressed kernels and all versions of Ubuntu that use LZ4 kernels also support booting as a PVH mode guest without any change to the guest. grub-mkimage -O i386-xenpvh -o /opt/grub/lib/pvhgrub.bin … I am not sure that you will find anyone to wo

grub2 + xen + lz4 kernels

2021-11-29 Thread Shaun Reitan
I currently use XEN to boot PV (paravirt) virtual server instances for our customers. Grub2 introduced support for booting a xen kernel directly from a guests disk image which has worked great for years. We use the following command to build our image grub-mkstandalone -O x86_64-xen -o grub2

Grub2 Password complexity and verification with the old password

2021-10-03 Thread bit_cof...@163.com
Hi, Currently, when changing the GRUB2 password, the old password is not verified and the password complexity is not checked. As a result, the GRUB2 password may be cracked by brute force. Does the community have any development plans for this? Recently I have been trying to develop code

Re: Bug#991691: Possible CVE-2014-5461 in grub2

2021-08-09 Thread Daniel Kiper
Hi, On Fri, Jul 30, 2021 at 08:55:06PM +0400, Movses Tovmasyan wrote: > Package: grub2 > Version: 2.02~beta3-5+deb9u2 > Tags: patch > > grub2 uses the obsolete version of minilua > (single-file port of Lua) which has CVE-2014-5461 > Patch attached below. Thanks for the re

Bug#991691: Possible CVE-2014-5461 in grub2

2021-07-30 Thread Movses Tovmasyan
Package: grub2 Version: 2.02~beta3-5+deb9u2 Tags: patch grub2 uses the obsolete version of minilua (single-file port of Lua) which has CVE-2014-5461 Patch attached below. patch Description: Binary data ___ Grub-devel mailing list Grub-devel@gnu.org

Re: grub2 - get drive parameters

2021-07-27 Thread Daniel Kiper
CC-ing Vladimir. On Mon, Jul 26, 2021 at 05:24:17PM +, Roma Jam via Grub-devel wrote: > Dear Grub-devel Subscribers, > > Hi everyone! > > Is there any option to get information of disks in system from grub2?  > > I'm looking for disk parameters such as name, pro

grub2 - get drive parameters

2021-07-26 Thread Roma Jam via Grub-devel
Dear Grub-devel Subscribers, Hi everyone! Is there any option to get information of disks in system from grub2?  I'm looking for disk parameters such as name, product and serial which is returned with INQUIRY scsi request.  Are there any other options but to use nativedisk with my own

Re: [PATCH 2/2] grub2: use stat instead of udevadm for partition lookup

2021-07-14 Thread Daniel Kiper
adm to resolve the sysfs path for > > >> a block device. That can be accomplished by stating the device node > > >> and using the major/minor to follow the symlinks in /sys/dev/block/. > > > >> This cuts the execution time of grub2-mkconfig from 10s to 2s o

Re: [PATCH 2/2] grub2: use stat instead of udevadm for partition lookup

2021-07-14 Thread Petr Vorel
o resolve the sysfs path for > > > > a block device. That can be accomplished by stating the device node > > > > and using the major/minor to follow the symlinks in /sys/dev/block/. > > > > This cuts the execution time of grub2-mkconfig from 10s to 2s on > > >

Re: [PATCH 2/2] grub2: use stat instead of udevadm for partition lookup

2021-07-14 Thread Michael Chang via Grub-devel
gt; > > a block device. That can be accomplished by stating the device node > > > and using the major/minor to follow the symlinks in /sys/dev/block/. > > > > This cuts the execution time of grub2-mkconfig from 10s to 2s on > > > my system. > > >

Re: [PATCH 2/2] grub2: use stat instead of udevadm for partition lookup

2021-07-13 Thread Michael Chang via Grub-devel
e accomplished by stating the device node > > and using the major/minor to follow the symlinks in /sys/dev/block/. > > > > This cuts the execution time of grub2-mkconfig from 10s to 2s on > > my system. > > Petr, where you able to reproduce this issue? Could th

Re: [PATCH 2/2] grub2: use stat instead of udevadm for partition lookup

2021-07-13 Thread Jeff Mahoney via Grub-devel
gt;> and using the major/minor to follow the symlinks in /sys/dev/block/. >> >> This cuts the execution time of grub2-mkconfig from 10s to 2s on >> my system. >> >> Signed-off-by: Jeff Mahoney >> [ pvorel: include grub/osdep/major.h ] >> Signed-off-by: Petr

Re: [PATCH 2/2] grub2: use stat instead of udevadm for partition lookup

2021-07-13 Thread Petr Vorel
ating the device node > >> and using the major/minor to follow the symlinks in /sys/dev/block/. > >> This cuts the execution time of grub2-mkconfig from 10s to 2s on > >> my system. > >> Signed-off-by: Jeff Mahoney > >> [ pvorel: include grub/osd

Re: [PATCH 2/2] grub2: use stat instead of udevadm for partition lookup

2021-07-13 Thread Daniel Kiper
/sys/dev/block/. > > This cuts the execution time of grub2-mkconfig from 10s to 2s on > my system. > > Signed-off-by: Jeff Mahoney > [ pvorel: include grub/osdep/major.h ] > Signed-off-by: Petr Vorel > --- > grub-core/osdep/linux/hostdisk.c | 8 > 1 file change

Re: [PATCH 2/2] grub2: use stat instead of udevadm for partition lookup

2021-07-13 Thread Petr Vorel
r/minor to follow the symlinks in /sys/dev/block/. > > This cuts the execution time of grub2-mkconfig from 10s to 2s on > > my system. > Petr, where you able to reproduce this issue? No, I'm sorry, I haven't even tried, because accessing sysfs seems to me as a quickest way anyway.

Re: [PATCH 2/2] grub2: use stat instead of udevadm for partition lookup

2021-07-13 Thread Paul Menzel
/. This cuts the execution time of grub2-mkconfig from 10s to 2s on my system. Petr, where you able to reproduce this issue? Could the specifications of Jeff’s system be added to the commit message? Signed-off-by: Jeff Mahoney [ pvorel: include grub/osdep/major.h ] Signed-off-by: Petr Vorel --- grub

[PATCH 2/2] grub2: use stat instead of udevadm for partition lookup

2021-07-08 Thread Petr Vorel
From: Jeff Mahoney sysfs_partition_path calls udevadm to resolve the sysfs path for a block device. That can be accomplished by stating the device node and using the major/minor to follow the symlinks in /sys/dev/block/. This cuts the execution time of grub2-mkconfig from 10s to 2s on my system

Re: boot/grub2: grub-core-build-fixes-for-i386 (grub-2.04 + binutils-2.35.2 + pseudo-op .code64)

2021-05-18 Thread John Paul Adrian Glaubitz
Hello Jan! On 5/18/21 7:05 AM, Jan Nieuwenhuizen wrote: >>> Sure, sent separately to bug-grub. >> >> I cannot find your updated patch. > > It's here: > > https://lists.gnu.org/archive/html/bug-grub/2021-05/msg9.html > >> May I ask you to send it using "git-send-email" to

Re: boot/grub2: grub-core-build-fixes-for-i386 (grub-2.04 + binutils-2.35.2 + pseudo-op .code64)

2021-05-17 Thread Jan Nieuwenhuizen
Daniel Kiper writes: Hello Daniel, [..] >> Sure, sent separately to bug-grub. > > I cannot find your updated patch. It's here: https://lists.gnu.org/archive/html/bug-grub/2021-05/msg9.html > May I ask you to send it using "git-send-email" to grub-devel@gnu.org? (waiting with this

Re: boot/grub2: grub-core-build-fixes-for-i386 (grub-2.04 + binutils-2.35.2 + pseudo-op .code64)

2021-05-17 Thread Daniel Kiper
Hi Jan, On Thu, May 13, 2021 at 12:35:25PM +0200, Jan Nieuwenhuizen wrote: > Daniel Kiper writes: > > Hello Daniel, > > > May I ask you to try latest GRUB master git branch [1]? The GRUB 2.04 > > release is a few years old. We are going to release 2.06 soon. > > Sure. The bug is still there (see

Re: boot/grub2: grub-core-build-fixes-for-i386 (grub-2.04 + binutils-2.35.2 + pseudo-op .code64)

2021-05-13 Thread Jan Nieuwenhuizen
e `%rax' lib/i386/relocator64.S:98: Error: bad register name `%rax' lib/i386/relocator64.S:132: Error: bad register name `%rip)' --8<---cut here---end--->8--- >> > lib/i386/relocator64.S:66: Error: unknown pseudo-op: `.code64' >> >> So, the working pat

Re: [Buildroot] boot/grub2: grub-core-build-fixes-for-i386 (grub-2.04 + binutils-2.35.2 + pseudo-op .code64)

2021-05-13 Thread John Paul Adrian Glaubitz
Hello Mikhail! On 5/13/21 9:19 AM, Mikhail B. WproxyM wrote: > As expected, they do not want to include fix patch, because "The GRUB 2.04 > release is a few years old." Since GRUB 2.06 will hopefully be released within the next weeks, you should be able to upgrade to the new upstream release,

Re: [Buildroot] boot/grub2: grub-core-build-fixes-for-i386 (grub-2.04 + binutils-2.35.2 + pseudo-op .code64)

2021-05-13 Thread Mikhail B. WproxyM
ice, but I am not sure that it will work. > The patch was already ignored some time before by grub2 developers, > because it is not included in upstream. I will try. > > -- > Best regards, Mikhail B. > > ср, 28 апр. 2021 г. в 14:44, Thomas Petazzoni < > thomas.petazz...@bootlin.com>: &

Re: boot/grub2: grub-core-build-fixes-for-i386 (grub-2.04 + binutils-2.35.2 + pseudo-op .code64)

2021-05-05 Thread Daniel Kiper
nch [1]? The GRUB 2.04 release is a few years old. We are going to release 2.06 soon. > > lib/i386/relocator64.S:66: Error: unknown pseudo-op: `.code64' > > So, the working patch is attached. Please add it to grub2. You can find a few comments below... > From 270667540146f8ef9ea7a44258a

Re: Fwd: boot/grub2: grub-core-build-fixes-for-i386 (grub-2.04 + binutils-2.35.2 + pseudo-op .code64)

2021-05-05 Thread John Paul Adrian Glaubitz
So, the working patch is attached. Please add it to grub2. Please re-send your patch using git-send-email, see [1], for example. Adrian > [1] https://git-send-email.io/ -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glau

boot/grub2: grub-core-build-fixes-for-i386 (grub-2.04 + binutils-2.35.2 + pseudo-op .code64)

2021-05-05 Thread Mikhail B. WproxyM
We are using binutils-2.35.2+ (later then 2.29.1), grub-2.04, cross-compiling on recent buildroot under i386/i686 and getting error: > lib/i386/relocator64.S:66: Error: unknown pseudo-op: `.code64' So, the working patch is attached. Please add it to grub2. Sources: 1) https://debbugs.gnu.

Fwd: boot/grub2: grub-core-build-fixes-for-i386 (grub-2.04 + binutils-2.35.2 + pseudo-op .code64)

2021-05-05 Thread Mikhail B. WproxyM
We are using binutils-2.35.2+ (later then 2.29.1), grub-2.04, cross-compiling on recent buildroot under i386/i686 and getting error: > lib/i386/relocator64.S:66: Error: unknown pseudo-op: `.code64' So, the working patch is attached. Please add it to grub2. Sources: 1) https://debbugs.gnu.

Re: multiboot2 and module2 boot issues via GRUB2

2021-04-08 Thread Daniel Kiper
On Thu, Apr 01, 2021 at 08:43:46PM +0100, Andrew Cooper via Grub-devel wrote: > On 01/04/2021 09:44, Roger Pau Monné wrote: > > On Thu, Apr 01, 2021 at 09:31:07AM +0200, Jan Beulich wrote: > >> On 01.04.2021 03:06, Roman Shaposhnik wrote: > >>> And the obvious next question: is my EVE usecase

Re: multiboot2 and module2 boot issues via GRUB2

2021-04-07 Thread Glenn Washburn
On Thu, 1 Apr 2021 20:43:46 +0100 Andrew Cooper via Grub-devel wrote: > On 01/04/2021 09:44, Roger Pau Monné wrote: > > On Thu, Apr 01, 2021 at 09:31:07AM +0200, Jan Beulich wrote: > >> On 01.04.2021 03:06, Roman Shaposhnik wrote: > >>> And the obvious next question: is my EVE usecase esoteric

Re: multiboot2 and module2 boot issues via GRUB2

2021-04-06 Thread Andrew Cooper via Grub-devel
On 06/04/2021 19:03, Roman Shaposhnik wrote: > On Tue, Apr 6, 2021 at 10:51 AM Andrew Cooper > mailto:andrew.coop...@citrix.com>> wrote: > > On 06/04/2021 09:19, Jan Beulich wrote: > > On 01.04.2021 21:43, Andrew Cooper wrote: > >> On 01/04/2021 09:44, Roger Pau Monné wrote: > >>>

Re: multiboot2 and module2 boot issues via GRUB2

2021-04-06 Thread Roman Shaposhnik
On Tue, Apr 6, 2021 at 10:51 AM Andrew Cooper wrote: > On 06/04/2021 09:19, Jan Beulich wrote: > > On 01.04.2021 21:43, Andrew Cooper wrote: > >> On 01/04/2021 09:44, Roger Pau Monné wrote: > >>> On Thu, Apr 01, 2021 at 09:31:07AM +0200, Jan Beulich wrote: > On 01.04.2021 03:06, Roman

Re: multiboot2 and module2 boot issues via GRUB2

2021-04-06 Thread Andrew Cooper via Grub-devel
On 06/04/2021 09:19, Jan Beulich wrote: > On 01.04.2021 21:43, Andrew Cooper wrote: >> On 01/04/2021 09:44, Roger Pau Monné wrote: >>> On Thu, Apr 01, 2021 at 09:31:07AM +0200, Jan Beulich wrote: On 01.04.2021 03:06, Roman Shaposhnik wrote: > And the obvious next question: is my EVE

Re: multiboot2 and module2 boot issues via GRUB2

2021-04-06 Thread Roman Shaposhnik
On Tue, Apr 6, 2021 at 1:19 AM Jan Beulich wrote: > On 01.04.2021 21:43, Andrew Cooper wrote: > > On 01/04/2021 09:44, Roger Pau Monné wrote: > >> On Thu, Apr 01, 2021 at 09:31:07AM +0200, Jan Beulich wrote: > >>> On 01.04.2021 03:06, Roman Shaposhnik wrote: > And the obvious next question:

Re: multiboot2 and module2 boot issues via GRUB2

2021-04-06 Thread Jan Beulich via Grub-devel
On 01.04.2021 21:43, Andrew Cooper wrote: > On 01/04/2021 09:44, Roger Pau Monné wrote: >> On Thu, Apr 01, 2021 at 09:31:07AM +0200, Jan Beulich wrote: >>> On 01.04.2021 03:06, Roman Shaposhnik wrote: And the obvious next question: is my EVE usecase esoteric enough that I should just go

Re: multiboot2 and module2 boot issues via GRUB2

2021-04-01 Thread Andrew Cooper via Grub-devel
On 01/04/2021 09:44, Roger Pau Monné wrote: > On Thu, Apr 01, 2021 at 09:31:07AM +0200, Jan Beulich wrote: >> On 01.04.2021 03:06, Roman Shaposhnik wrote: >>> And the obvious next question: is my EVE usecase esoteric enough that >>> I should just go ahead and do a custom GRUB patch or is there a

Re: multiboot2 and module2 boot issues via GRUB2

2021-04-01 Thread Krystian Hebel
On 01.04.2021 10:44, Roger Pau Monné via Grub-devel wrote: On Thu, Apr 01, 2021 at 09:31:07AM +0200, Jan Beulich wrote: On 01.04.2021 03:06, Roman Shaposhnik wrote: And the obvious next question: is my EVE usecase esoteric enough that I should just go ahead and do a custom GRUB patch or is

Re: multiboot2 and module2 boot issues via GRUB2

2021-04-01 Thread Roger Pau Monné via Grub-devel
On Thu, Apr 01, 2021 at 09:31:07AM +0200, Jan Beulich wrote: > On 01.04.2021 03:06, Roman Shaposhnik wrote: > > And the obvious next question: is my EVE usecase esoteric enough that > > I should just go ahead and do a custom GRUB patch or is there a more > > general interest in this? > > Not sure

Re: multiboot2 and module2 boot issues via GRUB2

2021-04-01 Thread Jan Beulich via Grub-devel
On 01.04.2021 03:06, Roman Shaposhnik wrote: > And the obvious next question: is my EVE usecase esoteric enough that > I should just go ahead and do a custom GRUB patch or is there a more > general interest in this? Not sure if it ought to be a grub patch - the issue could as well be dealt with

Re: multiboot2 and module2 boot issues via GRUB2

2021-03-31 Thread Roman Shaposhnik
Hi Andrew! first of all -- thanks for pointing me in the right direction. So after reading relevant sources: comments inline. On Tue, Mar 30, 2021 at 12:08 PM Andrew Cooper wrote: > On 30/03/2021 19:28, Roman Shaposhnik wrote: > > Hi! > > > > seems like I've run into an issue with multiboot2

Re: multiboot2 and module2 boot issues via GRUB2

2021-03-30 Thread Andrew Cooper via Grub-devel
On 30/03/2021 19:28, Roman Shaposhnik wrote: > Hi! > > seems like I've run into an issue with multiboot2 and module2 > commands that I can't quite explain. Since it may be something > super simply and silly -- I wanted to reach out here before I do > a GRUB/Xen/LK source deepdive. > > So here's

Re: [SECURITY PATCH 000/117] Multiple GRUB2 vulnerabilities - 2021/03/02 round

2021-03-22 Thread Daniel Kiper
On Thu, Mar 18, 2021 at 09:58:23AM +0100, Paul Menzel wrote: > Dear Darren, dear Darren, > > Am 02.03.21 um 19:00 schrieb Daniel Kiper: > > Thank you very much for finding and fixing all these issues, and > coordinating the publication. > > […] > > >

Re: [SECURITY PATCH 000/117] Multiple GRUB2 vulnerabilities - 2021/03/02 round

2021-03-18 Thread Paul Menzel
Dear Darren, dear Darren, Am 02.03.21 um 19:00 schrieb Daniel Kiper: Thank you very much for finding and fixing all these issues, and coordinating the publication. […] .../lib/gnulib-patches/fix-null-state-deref.patch | 12 + .../gnulib-patches/fix-regcomp-uninit-token.patch | 15 +

Re: [SECURITY PATCH 000/117] Multiple GRUB2 vulnerabilities - 2021/03/02 round

2021-03-09 Thread Daniel Kiper
On Tue, Mar 09, 2021 at 10:57:36AM -0500, Neal Gompa wrote: > On Tue, Mar 2, 2021 at 4:08 PM Daniel Kiper wrote: > > > > Hi Adrian, > > > > On Tue, Mar 02, 2021 at 08:37:14PM +0100, John Paul Adrian Glaubitz wrote: > > > Hi Daniel! > > > > > > On 3/2/21 7:00 PM, Daniel Kiper wrote: > > > > The

Re: [SECURITY PATCH 000/117] Multiple GRUB2 vulnerabilities - 2021/03/02 round

2021-03-09 Thread Neal Gompa
On Tue, Mar 2, 2021 at 4:08 PM Daniel Kiper wrote: > > Hi Adrian, > > On Tue, Mar 02, 2021 at 08:37:14PM +0100, John Paul Adrian Glaubitz wrote: > > Hi Daniel! > > > > On 3/2/21 7:00 PM, Daniel Kiper wrote: > > > The BootHole vulnerability [1][2] announced last year encouraged many > > > people

Re: [SECURITY PATCH 000/117] Multiple GRUB2 vulnerabilities - 2021/03/02 round

2021-03-02 Thread Daniel Kiper
Hi Adrian, On Tue, Mar 02, 2021 at 08:37:14PM +0100, John Paul Adrian Glaubitz wrote: > Hi Daniel! > > On 3/2/21 7:00 PM, Daniel Kiper wrote: > > The BootHole vulnerability [1][2] announced last year encouraged many > > people to > > take a closer look at the security of boot process in general

Re: [SECURITY PATCH 000/117] Multiple GRUB2 vulnerabilities - 2021/03/02 round

2021-03-02 Thread Bruce Dubbs
On 3/2/21 1:37 PM, John Paul Adrian Glaubitz wrote: Hi Daniel! On 3/2/21 7:00 PM, Daniel Kiper wrote: The BootHole vulnerability [1][2] announced last year encouraged many people to take a closer look at the security of boot process in general and the GRUB bootloader in particular. Due to

Re: [SECURITY PATCH 000/117] Multiple GRUB2 vulnerabilities - 2021/03/02 round

2021-03-02 Thread John Paul Adrian Glaubitz
Hi Daniel! On 3/2/21 7:00 PM, Daniel Kiper wrote: > The BootHole vulnerability [1][2] announced last year encouraged many people > to > take a closer look at the security of boot process in general and the GRUB > bootloader in particular. Due to that, during past few months we were getting >

[SECURITY PATCH 000/117] Multiple GRUB2 vulnerabilities - 2021/03/02 round

2021-03-02 Thread Daniel Kiper
hardware will be updated. Updated GRUB2, shim and other boot artifacts from all the affected vendors will be made available when the embargo lifts or some time thereafter. An updated dbx from the various affected vendors will also ship, although possibly not at the same time. The new Microsoft dbx

Re: [ANNOUNCEMENT] GRUB2 minisumit starts in November

2020-10-14 Thread Steve McIntyre
On Wed, Oct 14, 2020 at 03:37:32PM +0200, Daniel Kiper wrote: >Hey, > >GRUB2 minisumit starts in November. CfP is open. More you can find here: > https://twitter.com/3mdeb_com/status/1316057910816976899?s=20 Cool! Do you have a wiki page or similar to track things? :-) -- St

[ANNOUNCEMENT] GRUB2 minisumit starts in November

2020-10-14 Thread Daniel Kiper
Hey, GRUB2 minisumit starts in November. CfP is open. More you can find here: https://twitter.com/3mdeb_com/status/1316057910816976899?s=20 Daniel ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

grub2 + xhci

2020-08-13 Thread Roma Jam via Grub-devel
Dear Grub-devel Subscribers, Hi everyone. Does anybody work on grub2 xhci implementation at the moment? To speak briefly, we have an idea to use native drivers but we ran into the problem that native drivers does not work properly on hosts with xhci. I wonder is there any chance to connect

Re: [SECURITY PATCH 00/28] Multiple GRUB2 vulnerabilities - BootHole

2020-07-29 Thread John Paul Adrian Glaubitz
Hi Dimitri! On 7/29/20 11:20 PM, Dimitri John Ledkov wrote: > Disclosures were done to a subset of binary distributions that have a > trust path to shims signed with Microsoft UEFI CA 2011 db key. Arch > Linux does not provide shim-signed with keys controlled by Arch Linux > and it doesn't

Re: [SECURITY PATCH 00/28] Multiple GRUB2 vulnerabilities - BootHole

2020-07-29 Thread Dimitri John Ledkov
On Wed, 29 Jul 2020 at 21:20, John Paul Adrian Glaubitz wrote: > > On 7/29/20 10:12 PM, Christian Hesse wrote: > > This does not apply on top of grub 2.04. Will downstream maintainers have to > > do their cherry-picking on its own or will a maintenance branch on top of > > grub-2.04 (or what

Re: [SECURITY PATCH 00/28] Multiple GRUB2 vulnerabilities - BootHole

2020-07-29 Thread John Paul Adrian Glaubitz
On 7/29/20 10:12 PM, Christian Hesse wrote: > This does not apply on top of grub 2.04. Will downstream maintainers have to > do their cherry-picking on its own or will a maintenance branch on top of > grub-2.04 (or what ever) be available? > I would like to push updates to the Arch Linux

Re: [SECURITY PATCH 00/28] Multiple GRUB2 vulnerabilities - BootHole

2020-07-29 Thread Christian Hesse
Daniel Kiper on Wed, 2020/07/29 19:00: > I am posting all the GRUB2 upstream patches which fixes all security bugs > found and reported up until now. Major Linux distros carry or will carry > soon one form or another of these patches. Now all the GRUB2 upstream > patches are in t

[SECURITY PATCH 00/28] Multiple GRUB2 vulnerabilities - BootHole

2020-07-29 Thread Daniel Kiper
Hi all, We have recently been made aware of a problem with GRUB2 by security research firm Eclypsium that allows a bad actor to circumvent UEFI Secure Boot. Normally, when Secure Boot is enabled, only modules [1] that have a valid signature can be loaded. The bug allows this to be circumvented

Re: [PATCH] grub2/btrfs: Add ability to boot from subvolumes

2020-07-13 Thread Michael Chang
Besides Jeff's patch, we had been using patch to have grub booting from default subvolume with the path relative to it, rather than booting from real root and using absoute path [1]. [1] http://git.savannah.gnu.org/cgit/grub.git/commit/?id=82591fa6e7941efe2723a23cb1d924dfe0641974 IMHO grub

Re: [PATCH] grub2/btrfs: Add ability to boot from subvolumes

2020-07-13 Thread Thomas Schneider
Hello, in order to answer questions why this feature is needed I'll re-post my original feature request. Grub is booting the default subvolume in BTRFS w/o any manual modification in Grub configuration. Current situation: Booting a snapshot created with Snapper

Re: [PATCH] grub2/btrfs: Add ability to boot from subvolumes

2020-07-12 Thread Jeff Mahoney
On 7/11/20 7:09 AM, Vladimir 'phcoder' Serbinenko wrote: > Why is this patch needed? Can't subvolumes be reached from real root? > Isn't autogenerated grub.cfg use the names based on real root We use it to boot from snapshots, which include the grub configs (though not grub itself). It allows

Re: [PATCH] grub2/btrfs: Add ability to boot from subvolumes

2020-07-11 Thread Vladimir 'phcoder' Serbinenko
Why is this patch needed? Can't subvolumes be reached from real root? Isn't autogenerated grub.cfg use the names based on real root On Sat, Jul 11, 2020, 05:52 wrote: > From: Jeff Mahoney > > This patch adds the ability to specify a different root on a btrfs > filesystem too boot from other

[PATCH] grub2/btrfs: Add ability to boot from subvolumes

2020-07-10 Thread jeffm
From: Jeff Mahoney This patch adds the ability to specify a different root on a btrfs filesystem too boot from other than the default one. btrfs-list-snapshots will list the subvolumes available on the filesystem. set btrfs_subvol= and set btrfs_subvolid= will specify which subvolume to use

Re: Bug#912846: grub2: stop depending on ttf-dejavu-core

2020-05-26 Thread Daniel Kiper
Hi, In general I am OK with the patch. However, I want to ask you to respot it using "git send-email". Additionally, please add proper commit message and your SOB. Daniel On Sat, May 23, 2020 at 06:02:35PM +0200, Fabian Greffrath wrote: > Control: forwarded -1 grub-devel@gnu.org > Control: tags

Re: Bug#912846: grub2: stop depending on ttf-dejavu-core

2020-05-23 Thread Fabian Greffrath
Control: forwarded -1 grub-devel@gnu.org Control: tags -1 upstream Hi grub devs, the attached patch adds /usr/share/fonts/truetype/dejavu to the DejaVu font search path in configure.ac. This is the directory where the fonts-dejavu-core package in Debian installs its fonts. Thanks! - Fabian

Re: GRUB2,ECC

2020-04-22 Thread Daniel Kiper
On Sun, Apr 19, 2020 at 08:47:08PM +0800, 9. wrote: > Hi, have you considered making grub2 support ecc, and if so, when? > Thanks for reading and looking forward to your reply. > > I would like to add a few words to my question > ECC is an algorithm for encryption——Elliptic c

Re: GRUB2,ECC

2020-04-19 Thread 9.
Hi, have you considered making grub2 support ecc, and if so, when? Thanks for reading and looking forward to your reply. I would like to add a few words to my question ECC is an algorithm for encryptionElliptic curve encryption algorithm --Original-- From

GRUB2,ECC

2020-04-17 Thread 9.
Hi, have you considered making grub2 support ecc, and if so, when? Thanks for reading and looking forward to your reply.___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

  1   2   3   4   5   6   7   8   9   10   >