Questions tagged [grub2-mkconfig]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
22 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 ...
0
votes
0answers
21 views

Should a parameter like 'audit_backlog_limit', present in the '/boot/grub2/grub.cfg', be among the 'kernelopts' in the /boot/grub2/grubenv?

While looking over a SUSE Linux Enterprise Server hardening baseline, I noticed that there's a rule checking if the value of audit_backlog_limit is sufficient. checking The way used to check if the ...
0
votes
0answers
55 views

How to generate grub.cfg file?

I have a USB flash with GPT partition format. I use Grub2 to make a bootable usb. After grub-install x86_64-efi and i386-pc successfully. No grub.cfg file in /mnt/sdb2/EFI/BOOT/grub. So how to ...
0
votes
0answers
123 views

Installing Fedora 33 on Oryx Pro and regenerating grub.conf caused boot issues

I have a shiny System76 Oryx Pro 6 with Pop_OS 20.10 on it. I have a second drive I wanted to dual boot on using Fedora. Well, after installing Fedora 33 Workstation on the second drive, it because ...
1
vote
1answer
44 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
0answers
168 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
1answer
4k 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
0answers
16 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)
0
votes
1answer
2k 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 (...
3
votes
1answer
1k 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
0answers
44 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 ...
1
vote
2answers
813 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
1answer
103 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
1answer
713 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
0answers
121 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
1answer
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
1answer
4k 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
2answers
593 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
1answer
2k 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
0answers
751 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
2answers
981 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
0answers
811 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
1answer
2k 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 ...
0
votes
2answers
7k 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 ...
3
votes
1answer
3k 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 ...