Questions tagged [grub2-mkconfig]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

os-prober doesn't detect Windows11 on device type nvme0n1

Not like os-prober Doesn't Detect Windows 10 in Archlinux, as I have installed ntfs-3g already. The tip in GRUB2 (and os-prober) doesn't find Windows 10 not working either, as I have tried ...
user avatar
  • 485
0 votes
0 answers
21 views

The grub doesn't update in fedora and windows dualboot

I can't update the grub of Fedora to show Windows 10 in. I tried sudo grub2-mkconfig -o /boot/grub2/grub.cfg and sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg with the same output Generating ...
user avatar
1 vote
0 answers
84 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 ...
user avatar
  • 377
1 vote
1 answer
139 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 ...
user avatar
  • 2,211
0 votes
0 answers
73 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, ...
user avatar
0 votes
1 answer
75 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-...
user avatar
  • 11
0 votes
1 answer
204 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, ...
user avatar
  • 101
0 votes
1 answer
309 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 ...
user avatar
  • 485
0 votes
0 answers
171 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 ...
user avatar
0 votes
1 answer
456 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) ...
user avatar
0 votes
1 answer
701 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 ...
user avatar
0 votes
1 answer
71 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 ...
user avatar
  • 7,249
1 vote
1 answer
291 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 ...
user avatar
  • 111
0 votes
0 answers
334 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 ...
user avatar
0 votes
1 answer
8k 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 --...
user avatar
1 vote
0 answers
20 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)
user avatar
2 votes
1 answer
3k 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 (...
user avatar
  • 1,947
3 votes
1 answer
2k 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 ...
user avatar
0 votes
0 answers
63 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 ...
user avatar
  • 5,122
1 vote
2 answers
2k 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 ...
user avatar
0 votes
1 answer
154 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 ...
user avatar
3 votes
1 answer
1k 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 ...
user avatar
  • 133
1 vote
0 answers
213 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 ...
user avatar
  • 905
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|...
user avatar
1 vote
1 answer
5k 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 ...
user avatar
0 votes
2 answers
915 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 ...
user avatar
  • 9
2 votes
1 answer
3k 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,...
user avatar
  • 151
1 vote
0 answers
883 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 ...
user avatar
1 vote
2 answers
1k 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 ...
user avatar
1 vote
0 answers
1k 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 ...
user avatar
0 votes
1 answer
3k 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 ...
user avatar
  • 5,410
1 vote
3 answers
10k 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 ...
user avatar
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 ...
user avatar
  • 507