Questions tagged [grub2-mkconfig]
The grub2-mkconfig tag has no usage guidance.
39
questions
0
votes
1
answer
39
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 ...
0
votes
1
answer
467
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
113
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
943
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
2k
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 did ...
0
votes
1
answer
100
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-...
0
votes
0
answers
1k
views
System fails to boot new kernel after CentOS 9 Stream migration
I have performed a migration from CentOS 8 Stream to Centos 9 Stream on a VPS server of mine with directions I found on Github which have worked, except grub still boots the old kernel from when the ...
0
votes
0
answers
822
views
Using GRUB on an EFI machine to boot Windows 10 originally installed on a BIOS machine
I'm working on an EFI machine, and have a hard drive taken from a BIOS machine with Windows 10 on it. I'd like to use GRUB to boot that BIOS install of Windows but I can't seem to get it to work. os-...
1
vote
0
answers
552
views
Fix grub to boot correctly into CentOS
I had a dual-boot computer with windows and CentOS 8 [A] on it, each one in different partitions. I created a new partition and successfully installed CentOS Stream [B] on it, but now I'm unable to ...
1
vote
1
answer
1k
views
grub-mkconfig - one Linux kernel, multiple boot entries with different kernel options
GRUB version: 2.04-20
One Linux kernel only; I need to have two GRUB entries to boot the kernel with different set of kernel options. For the time being, after each grub-mkconfig or update-grub2 which ...
0
votes
0
answers
280
views
How to reconfigure Grub2 setup after moving from LVM to non-LVM setup
I reconfigured a Fedora installation from an LVM configuration to use plain partitions running EXT4. Of course, grub.cfg still contains the old LVM mount names (fedora_localhost-root, ...
0
votes
1
answer
390
views
update-grub finds two copies of all distros
Here is the output of update-grub on my system with an external (/dev/sdb) and internal (/dev/sda) SSD. Anybody know why I see two copies of each boot OS? Or how to start fresh?
root@hp:~# update-...
0
votes
1
answer
761
views
GRUB on EFI system does not automatically load grub.conf
After a Rocky Linux migration (pun intended) no bootloader was found when booting. Booting in rescue mode from a USB drive, I was able to restore a GRUB prompt when booting normally. From that prompt, ...
0
votes
1
answer
1k
views
os-prober fails to report my current OS, thus update-grub missed it
os-prober fails to report my current OS, thus update-grub missed the very OS I need when generating the boot menu entries. What's the fix?
The detailed background is here, basically my system was ...
0
votes
0
answers
747
views
Changing default GRUB values in /etc/grub.d in archlinux
I need some help with the grub configuration. I am trying to change some values in /etc/default/grub without changing it in that file, and adding the changes in a file in /etc/grub.d/ directory
For ...
0
votes
1
answer
2k
views
/usr/bin/grub-probe: error: failed to get canonical path of `/'
I'm trying to install GRUB from a live USB onto a different drive. While grub-install works fine, grub-mkconfig -o /mnt/boot/grub/grub.cfg (/mnt being the mount-point of the drive I'm installing to) ...
0
votes
1
answer
1k
views
grub-mkconfig adding entry for other Linux system but ignoring its Grub config
I've got a machine with two Linux systems and Windows. When I run grub-mkconfig from my Ubuntu Mate system, it identifies and creates entries for itself, the second Linux system (KISS Linux), and ...
0
votes
1
answer
239
views
How to make sure grub2 has the drivers it needs during a Linux installation?
I'm installing a GNU/Linux system; specifically, it's antiX GNU/Linux 19.3. I'm on a rather old system - from around 2000, and it's a 32-bit processor.
Now, if I just go through the installer and only ...
1
vote
2
answers
1k
views
How do I start a Windows 10 partition on a MBR partitioned disk on a system that otherwise uses GPT/UEFI GRUB?
Okay, let me explain. This is a UEFI computer. It has two disks. The primary disk is partitioned with GPT and boots via GRUB2 to an Arch Linux partition. The secondary disk is partitioned with MBR and ...
0
votes
0
answers
459
views
Fedora 30: How to create dual boot with Windows 7?
I have read through all the similar questions here on SE and I am not seeing an answer to my question.
My workstation currently has Fedora 30 running and grub2 installed. This is pure BIOS, no EFI in ...
0
votes
1
answer
13k
views
os-prober Doesn't Detect Windows 10 in Archlinux [duplicate]
I installed Arch recently (as in, yesterday). I was able to successfully install Grub in the EFI system Partition with grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub --...
1
vote
0
answers
26
views
No grub screen when i start my system
no grub screen after installing ubuntu 18.04 it takes me straight to linux (i am a new person)
2
votes
1
answer
6k
views
grub-mkconfig gives error in chroot environment
I'm trying to make a Debian installation manually from scratch to an external disk within a live Debian CD.
I created a Debian Stretch rootfs via multistrap by following the instructions from here (...
5
votes
1
answer
3k
views
What is the correct way to handle default kernelopts in Fedora 31?
I'm running Fedora 31 and when I installed it (F29) I added the option mem_sleep_default=deep to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub. Now I wanted to remove that option but found the file ...
0
votes
0
answers
92
views
GRUB does not show selection of OS
I have installed Arch Linux and GRUB afresh. It seems to have worked alright, but when I now boot from the harddisk, I only get the GRUB prompt, without any operating systems to boot. My guess is that ...
2
votes
2
answers
5k
views
update-grub2 creates grub.cfg.new instead of grub.cfg
When I run update-grub2 on my Debian Buster server, instead of creating a grub.cfg it creates a grub.cfg.new, even though grub.cfg does not exist.
And because of this my machine boots into a broken ...
0
votes
1
answer
300
views
How to headless dual-boot Linuxes?
I'm home user of Centos 7. I've install Centos 8 additionaly. I will install Centos 9 over Centos 7 in the future. So I have and will have old copy and new os on the same hard disk.
[root@Prestigio ...
3
votes
1
answer
2k
views
Why isn't my compiled kernel showing up in the GRUB boot menu?
I am trying to compile and install my own kernel (5.2.0-rc7) and everything seems to be working fine until I reboot to actually boot into it and am unable to select it from my GRUB boot menu. I have ...
1
vote
0
answers
347
views
Can I interpret Grub2's post-MBR gap?
While setting up a RAW disk image for use in a QEMU-based virtual machine, I became frustrated because QEMU would load GRUB but then GRUB would not load a menu of OSes to boot into. I've come to the ...
2
votes
1
answer
2k
views
CentOS 7 stuck at grub prompt after upgrading Kernel
I tried to upgrade the Kernel using YUM and when I ran
[root@AFIBAMBOO bin]# grub2-mkconfig -o /boot/grub2/grub.cfg
No path or device is specified.
Usage: grub2-probe [OPTION...] [OPTION]... [PATH|...
1
vote
1
answer
6k
views
Failed finding GRUB drives of recently installed distros on another drive, edit device.map?
I am running Linux Mint 19.1 on a Samsung 860 EVO 500 GB (dev/sdb) along with Windows 10 on it and recently added a Crucial MX500 1TB (dev/sda) to try out and use more distros, both of them are ...
0
votes
2
answers
1k
views
Setting Kernel parameters when grub.cfg is on another distro
My setup is:
-Windows 10 on a M.2 SSD
-Ubuntu 18.04 on a normal ssd (sdb)
-Arch Linux on sdb as well but on different partitions
I first installed ubuntu with grub and later added arch linux ...
2
votes
1
answer
5k
views
Using Label in grub on Debian 9
I installed my server with Debian 9 and Grub with a LABEL. In my /etc/fstab I see My label as followed:
LABEL=root / ext4 errors=remount-ro 0 1
/dev/sr0 /media/cdrom0 udf,...
1
vote
0
answers
1k
views
ARCH grub-mkconfig doesn't do anything
i tried installing ARCH and everything seems to work pretty fine.
I followed this installation for the most part (https://gitlab.com/jsherman82/notes/blob/master/arch.md)
But i seem to have a problem ...
1
vote
2
answers
2k
views
I can't make a GRUB config
A few weeks ago, I accidentally updated my kernel, and out of nowhere I got these strange pixelated lines all over my screen. So, I decided to try and use the linux-lts kernel. But, when I tried to ...
1
vote
0
answers
2k
views
grub2-mkconfig creates grub2-efi.cfg different from the existing one, but why?
On Fedora 29 on a machine with UEFI hardware.
Trying to generate a new /etc/grub2-efi.cfg.
Dry run first!
Change nothing in /etc/default/grub.
(Actually wanted to remove rhgb quiet from the ...
0
votes
1
answer
4k
views
/etc/default/grub: line 60: terminal_output: command not found [closed]
I am using centos7 when I run command sudo grub2-mkconfig -o /boot/grub2/grub.cfg I get error /etc/default/grub: line 60: terminal_output: command not found
The lines after 60 of /etc/default/grub ...
1
vote
3
answers
13k
views
Configure separated GRUB to run Linux from LVM ddrescued device
I got new 120GB SSD and I want to restore my Linux Mint from my ddrescued /dev/mapper/mint--vg-root
I splited SSD to 500MB sdb1 Ext4 and 119GB sdb2 LVM as it was before crash.
Then I created mint-vg ...
4
votes
1
answer
4k
views
Grub2 not finding windows partition
I have brand new laptop with windows 10. Using NVME ssd drive. I am trying to do multiboot using UEFI.
For some reason, grub-mkconfig -o /boot/grub/grub.cfg is not finding my windows partition. I ...