Package Details: xen-grub-pv32 2.12.r0.g5ca9db2-1

Git Clone URL: https://aur.archlinux.org/xen-grub.git (read-only, click to copy)
Package Base: xen-grub
Description: GRUB bootloader for Xen 32bit PV domUs
Upstream URL: https://www.gnu.org/software/grub/
Licenses: GPL-3.0-or-later
Submitter: Refutationalist
Maintainer: Refutationalist
Last Packager: Refutationalist
Votes: 0
Popularity: 0.000000
First Submitted: 2025-03-13 05:58 (UTC)
Last Updated: 2025-03-13 05:58 (UTC)

Latest Comments

Sven commented on 2025-03-24 02:39 (UTC)

I had to heavily patch the grub.cfg used by this package. Since the file in the memdisk is also called /boot/grub/grub.cfg, the search command will not return the right root device. It will set the memdisk to root. Not sure what to do here.

Also, my VMs did not have a grub.cfg that sets the default, timeout, or timeout_style variables. It was a minimal file, only including a menuentry. When booting the VM, grub was stuck in the menu. That took me a while to find. Setting the variables before calling configfile does not help. The configfile command seems to reset those variables.

Right now, I am setting the root statically and attempt to load the grub config from a couple of common paths. I fixed the grub.cfg inside the VMs to set default and timeout variables.

Sven commented on 2025-03-23 15:51 (UTC) (edited on 2025-03-23 16:32 (UTC) by Sven)

It seems to me that this packages probes a number of non-standard locations for grub.cfg. The Arch wiki recommends /boot/grub/grub.cfg but this packages probes for /boot/grub2/grub.cfg instead [2]. It also doesn't probe for /grub/grub.cfg, which would be the right location if a separate boot partition was used.

[1] https://wiki.archlinux.org/title/GRUB#Configuration
[2] https://aur.archlinux.org/cgit/aur.git/tree/grub.cfg?h=xen-grub