Questions tagged [grub2-mkconfig]
38 questions
4
votes
1 answer
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 like this:
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed…
P1zz4br0etch3n
- 43
- 1
- 4
4
votes
1 answer
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 have my UEFI partition mounted to /boot.
I have…
dman
- 517
- 1
- 5
- 16
3
votes
1 answer
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 written a script (and done it manually with no…
guribe94
- 133
- 4
2
votes
0 answers
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 know about this prior to updating, but when i…
user541458
- 21
- 2
2
votes
1 answer
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 (44fbcc).
Inside chroot environment, when it comes…
ceremcem
- 2,231
- 1
- 23
- 53
2
votes
2 answers
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 grub, because it cannot find grub.cfg.
Is there a…
Hunter.S.Thompson
- 8,839
- 7
- 26
- 41
2
votes
1 answer
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|DEVICE]
Try 'grub2-probe --help' or 'grub2-probe…
anwar ul hasan
- 21
- 3
2
votes
1 answer
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,iso9660 user,noauto 0 0
But I see this…
Noob
- 151
- 1
- 8
1
vote
0 answers
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 the information?
Or must I also use Kconfig to…
Engineer999
- 1,111
- 2
- 15
- 32
1
vote
1 answer
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 videoinfo in grub prompt and it returns two…
zakrapovic
- 466
- 1
- 6
- 16
1
vote
0 answers
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 boot into [A].
How can I fix it?
Further…
Gypaets
- 407
- 1
- 4
- 11
1
vote
1 answer
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 produces one entry with…
Krackout
- 2,480
- 9
- 25
1
vote
1 answer
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 only boots if I disable the primary disk in the…
Anthony
- 111
- 2
1
vote
0 answers
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)
Swojas Bhalunkar
- 11
- 1
1
vote
0 answers
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 conclusion that GRUB must not be able to locate…
Huckle
- 975
- 2
- 8
- 30