Questions tagged [grub-mkconfig]
`grub-mkconfig` is the command used to generate a GRUB configuration file. Use this tag for questions related to the `grub-mkconfig`, `update-grub` commands and their equivalents.
47 questions
2 votes
1 answer
127 views
grub-mkconfig is not finding my theme files even though the paths and filenames are correct
I have the FlatSense grub theme successfully installed and working on EndeavourOS (EOS) 64-bit with an XFCE4 DE on an ext4 partition on my UEFI multiboot system. No problems there. However, ...
0 votes
1 answer
439 views
Rocky 9.5 cannot update grub kernel parameters
I've freshly installed Rocky 9.5 as a VM hosted by UTM/qemu on MacOs. It boots and can connect to the network. However, I cannot seem to modify the grub2 configuration to modify kernel parameters. ...
0 votes
2 answers
284 views
Changing the screen resolution of GRUB on a VMware virtual machine
I installed Arch Linux on a VMware virtual machine. To launch I use GRUB bootloader. I need to set the resolution for GRUB 16:9: 1366x768 or higher. Using vbeinfo (in GRUB) I can see the list of ...
1 vote
0 answers
277 views
Kernel options not loaded after updating grub.cfg
[edit: problem solved at the bottom, although I'm still not sure why it happens this way] Distro is Alma Linux 9.5 and kernel is 5.14.0-503.15.1.el9_5.x86_64. This is my first time making edits to the ...
0 votes
0 answers
150 views
Can GRUB2 be scaled? If so, how? If not, why not?
Rationale The XOrg 11 and KWin Wayland compositors are able to scale their outputs using 1:1 (integer — an example is 100%) and non-integer (125%) scales. However, I see no information online about ...
0 votes
0 answers
1k views
grub2: which /boot/efi/EFI/*/grub.cfg does it read?
I have a dualboot linux, fedora and almalinux. After installing almalinux, I couldn't see the fedora's kernel versions, just multiple entries of Fedora. Most of the links I found are wrong. https://...
1 vote
1 answer
495 views
Moving /boot, how to update grub to find new location /boot/grub2/i386-pc/{core,boot}.img
Grub2 systems hard-code the location of stage2 files. This info is stored in the bootloader partition. I understand that grub-install will write this and more. My question is how does grub2-install ...
2 votes
1 answer
1k views
modprobe: FATAL: Module dm_mod not found in directory /lib/modules/6.6.16
I have built a custom kernel and given a CONFIG_LOCALVERSION of -grant-nvme during compilation. However, when I try to boot into it, no matter what I do, grub seems to look for /lib/modules/6.6.16 and ...
3 votes
1 answer
2k views
Repair Fedora GRUB after grub2-mkconfig gone wrong
I was trying to enable fractional scaling in Fedora 39 using ChatGPT and he recommended the following: # NVIDIA's proprietary driver requires DRM KMS to be disabled for Wayland to work. # Edit the ...
2 votes
1 answer
2k views
The grub2-mkconfig does not propagate renamed root logical volume on RHEL 9
On the RHEL 9.3 I have renamed the logical volume (LV) /dev/lvm01/root to /dev/lvm01/root.vol. I did everything to make the new name correctly recognized: changed /etc/fstab entry reloaded systemd ...
1 vote
1 answer
2k views
update-grub ignoring GRUB_GFXMODE only
I uncommented /etc/default/grub and changed to following: GRUB_GFXMODE=2560x1440x32 Then, ran sudo update-grub without issues. Now, the /boot/grub/grub.cfg still contains: ... if loadfont $font ; ...
1 vote
0 answers
208 views
Use device tree or Kconfig to load a driver
I would like to add and enable a new device in an embedded Linux image. Is it enough to just specify the information in a device tree file and then the driver for the device will get loaded based on ...
1 vote
1 answer
2k views
Low resolution grub arch nvidia
This is not a big deal but this has been frustrating for a while now. My graphic card is an RTX 3070 When I boot with grub I am stuck with a very low resolution, probably 1024. I checked the command ...
2 votes
0 answers
3k views
Updated GRUB on Arch Linux, tried fix but GRUB gives error: Symbol grub_debug_malloc not found
I posted this same post on r/archlinux but have not gotten much results. I updated Arch Linux (vanilla), but now GRUB boots into firmware. (I am sure a lot of you guys have known this issue, and I ...
0 votes
1 answer
222 views
Booting into Xen with grub2-mkconfig 2.03 on centos8 x86_64
Linux localhost.localdomain 4.18.0-394.el8.x86_64 #1 SMP Tue May 31 16:19:11 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux grub2-mkconfig (GRUB) 2.03 On my centos8, I have installed centos-release-...