Questions tagged [grub2]

GRUB2 is the second revision of the GRand Unified Bootloader, with versions numbered 1.9x and 2.yz.

Filter by
Sorted by
Tagged with
1
vote
3answers
74 views

Ubuntu on Mac: Executing 'grub-install /dev/nvme0n1' failed

I know this is a super common issue, but if I am here it means I have already searched and tried many roads: unsuccessfully. I am trying to install Ubuntu on a MacBookPro 13" 2019, running MacOS ...
2
votes
1answer
56 views

How to verify signed UEFI binaries?

I'm trying to understand why secure boot works on my machine. It is enabled in the UEFI config, everything boots just fine, and mokutil --sb-state says SecureBoot enabled. But I think it shouldn't. ...
0
votes
0answers
4 views

failed to get canonical path of `/dev/nbd0p1'

I am getting failed to get canonical path of '/dev/nbd0p1' when running upate-grub in a chroot. I mounted the qcow2 disk image with qemu-nbd -c /dev/nbd0 g4.qocw2 && mount /dev/nbd0p1 /mnt. I ...
1
vote
1answer
13 views

Custom signed Centos 7 PXE Secureboot with Shim and grub: invalid kernel signature

As the title suggests, I'm trying to set up a system that uses PXE boot to boot into CentOS7 with custom signing keys. This process is adapted from several guides but the gist of it is that I use grub ...
1
vote
0answers
15 views

How to redirect GRUB2 output to a MMIO serial UART?

Is it possible to redirect GRUB2 output to a MMIO serial UART? For example I have a UART that is displayed in a Linux boot log as: AMDI0020:01: ttyS5 at MMIO 0xfedca000 (irq = 4, base_baud = 3000000) ...
0
votes
0answers
12 views

Kernel Panicking saying that it can't mount root file system

I'm doing linux from scratch, I'm getting this kernel error. My root is on /dev/vdb2. Here is my grub.cfg. I'm using UEFI boot on a virtual machine. Here is my kernel configuration. I have enabled ...
0
votes
1answer
22 views

Created a partition for CentOS 8 and can no longer boot Windows 10

I had a Windows 10 PC and wanted to create a CentOS 8 partition. I shrank the memory of the current partition and left ~100 GB to install CentOS into. Upon installation I selected the partition and ...
0
votes
0answers
42 views

Dual boot (Ubuntu)-(Ubuntu with boot partition on usb)

I have two internal SSDs in my computer, one that currently has Ubuntu 20 installed with the following partitioning: nvme0n1 │ ...
-1
votes
0answers
26 views

GRUB2 theme did not put a seperator before it; now update-grub won't work

So, I decided to get a GRUB2 theme called "Oxygen". However, die to the fact that it did not put a seperator before itself, if I try to run update-frub it looks for a non existent path. How ...
2
votes
1answer
92 views

Hide devices in chrooted environment

On Linux, I'm looking for a way to run grub-install <device> and update-grub in a chrooted environment without some devices being taken into account by GRUB (I don't want them to appear at boot)....
0
votes
0answers
34 views

Ubuntu installation: Empty installation type

Now I am facing a new problem. Installation type is empty, and the page in which Installer asks option like 1. Install Ubuntu alongside windows 2. Something else is also missing. After choosing ...
0
votes
0answers
29 views

Cannot install GRUB on boot partition

I want to do exactly this, https://superuser.com/q/187586 But when I run grub-install /dev/sda5, warning: File system `ext2' doesn't support embedding. warning: Embedding is not possible. GRUB can ...
0
votes
0answers
31 views

How do I disable Intel Rapid Storage Technology in order to install Linux Mint?

I have an Acer Predator Helios 300 with a 256GB SSD. It came with Windows 10 when I bought it, now I want to switch to Linux, because I'd like to learn how to work with it to better prepare for my ...
0
votes
0answers
19 views

Boot Loader Problems

*strong text boot loader problems. no boot menu after installation restarted PC would not start just demanded a disk No boot menu. entered bios and clicked on the SSD drive. Only Ubuntu is on ...
0
votes
2answers
28 views

Does GRUB format your ESP?

I am installing Arch Linux on my laptop that came preinstalled with Windows 10 and after several times of restarting, I realised that you needed to install a bootloader because pacstrap doesn't do it. ...
0
votes
0answers
28 views

I have to put the commands below each time in grub command line to be able to boot

These are the commands that i have to put each time to be able to boot to my PC set prefix=(hd2,gpt2)/boot/grub set prefix=(hd2,gpt2) insmod linux insmod normal normal after entering the last ...
1
vote
2answers
115 views

I cannot select a GRUB option because of buggy keyboard inputs

Problem I want to start Ubuntu in recovery mode because it won't boot normally. I have three options in my GRUB selection screen: If I press the down arrow on my keyboard, the selection moves all the ...
6
votes
3answers
2k views

Kali ate my Windows 10 :(

I know other questions similar to this have been asked, but I think this situation is a bit different. System is a Lenovo T430 with 2xSSDs (one is in the optical drive bay). Original install was Win10 ...
3
votes
1answer
61 views

grub command after fresh install of 20.04 focal alongside Win10 on NVMe drive

I have a Windows 10 install on an NVMe drive. I've installed Ubuntu 20.04 and all installed smoothly, until the first boot. I was greeted with a grub prompt. grub> After searching the forums and ...
0
votes
0answers
19 views

How to get Windows boot again

I formatted the drive that contained Ubuntu Budgie, from MS-windows. Then I opened cmd with administrator privileges and head to diskpart and removed the Ubuntu directory from there, but maybe ...
0
votes
0answers
34 views

How do I set a fallback entry by id or title in GRUB?

How do I set the fallback entry by ID or select an entry in a submenu? The only option that works currently is using numbered entries (i.e. set fallback=0). Background My team remotely updates devices ...
0
votes
0answers
33 views

Grub's console ls command detects one more drive than I really have

I have two drives. The first has only one ext4 partition, which is used to store data. The second has seven partitions, including the EFI boot partition and four operating systems. For some reason, ...
0
votes
0answers
43 views

grub2 and initramfs prompt cannot find nvme device file in /dev

I’ve had an existing xubuntu 20.04 install for a while now. My hard drive is a Samsung M.2 nvme device. All of a sudden I’m getting a grub prompt/command line on boot up. It cannot find my root ...
0
votes
0answers
40 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
43 views

Incorrect password in Kali Linux

I have my Kali Linux and Windows dual booted. It had been a few days since I logged in to my Kali Linux but when I tried to login today, it says my password is incorrect. It was working fine before. I ...
2
votes
1answer
34 views

What's the maximum disk size GRUB can use?

Let's assume a reasonably modern BIOS (2005-), with no bugs/quirks, 512 sector size, LBA48 addressing, and Enhanced Disk Drive support. The reason for asking is that by a naïve reading of INT 13h ...
0
votes
0answers
16 views

Create boot options in Grub2 on USB

I want to create a USB drive that can boot multiple diagnostic tools, stored in dirrerent image files. In legacy Grub I was able to edit the menu simply add the devices. I am not sure how I should do ...
1
vote
1answer
39 views

Choosing which OS to boot into before rebooting (Windows and Linux dual boot)

I have a Windows 10 machine, and I've to dual booted it with Ubuntu 18.04. I connect remotely to this machine most of the time, and I need to switch between OSs every now and then. I'd like to be able ...
0
votes
1answer
22 views

rhel + kernel upgrade on physical machine

we have rhel 7.2 server on DELL HW we upgrade the kernel version to version 3.10.0-693.el7 from previews that was 3.10.0-327.el7 and we did reboot in order to start the rhel with new kernel version ...
0
votes
0answers
21 views

Can't boot into windows after switching Ubuntu versions

I have two separate hard drives, one with a windows 10 installation and one with an ubuntu 16.04 installation. The grub menu would load normally, and I was able to use both partitions. Today I decided ...
1
vote
1answer
43 views

GRUB config file is set to an old /root partition after every kernel update

Context I have a laptop with a SATA (sdb/hd1) slot and an m.2 (sda/hd0) slot. I had an SSD on the hd0 slot with the boot and EFI partition, and an HHD on the hd1 with the /, /home and swap partitions ...
0
votes
1answer
59 views

Removing a file in /etc/grub.d

Can I remove a file in /etc/grub.d that was not created by me without it being overwritten? I'm using fedora if that matters.
0
votes
0answers
20 views

Grub: Found Image on wrong partition

My PC has 3 Partions: /dev/mmcblk0p1 - EFI /dev/mmcblk0p2 - Ubilinux (Debian) /dev/mmcblk0p3 - Ubuntu 20.04 Ubuntu is the newest I have installed. I've installed on ubuntu a custom kernel with this ...
0
votes
2answers
55 views

Laptop will no longer boot any Linux distro

After successfully booting Debian (many times), and then installing Linux Mint over it only to boot into a grub menu and not the proper Linux Mint, my laptop (Lenovo IdeaPad 1 11IGL05 81VT) no longer ...
1
vote
0answers
55 views

Prevent ZFS pool automount

There's a Manjaro installation on ZFS that I'd like to chroot into from a rescue system on a USB stick. When booting the rescue system, the ZFS pools are automatically detected and mounted, if ...
1
vote
0answers
48 views

grub2-install error - disk not found

I've a CentOS 7 server that isn't booting anymore, ends in grub rescue with following error: error: disk `mduuid/7d1ea14d586da4ea38a163ecc38fa93f' not found. I've booted into systemrescue ISO, mounted ...
0
votes
0answers
39 views

apt trying to remove a package that is marked manually installed

I have my broken system, always boots into Windows. I didn't use this PC for like 10 days, it didn't have power either so I think the CMOS battery died and now all boot entries dead. but it isn't a ...
0
votes
0answers
36 views

Issue with GRUB/EFI after installing Ubuntu on Dell R820

I should preface this by saying that I'm a linux noob, so if I misuse or misunderstand terminology I'm sorry in advance. Also, there's a good chance I made a mistake when troubleshooting or trying ...
0
votes
1answer
27 views

grub does not start my secondary linux entry, both entries start the same linux

I had a previous Linux Mint 19.2 installed like: /dev/sda3 /boot /dev/sda4 / /dev/sda5 /home And then I installed another Linux Mint 20 reusing the /boot partition: /dev/sda3 /boot /dev/sd8 / Now ...
0
votes
0answers
23 views

Error attempting renistall Grub2 bootloader from Opensuse Leap 15.2 Rescue Console

Following a recent problematic patch my Opensuse Leap 15.2 system stalled during boot, then landed me at the grub prompt. So I booted to the rescue console and attempted to chroot to reinstall the ...
0
votes
0answers
24 views

Getting “failed to get canonical path of `/boot/grub'” when I try to use grub-install

I was following this medium article to fix dual booting issues in my system. But I get stuck installing the grub as I keep getting grub-install: error: failed to get canonical path of '/boot/grub'. ...
9
votes
4answers
1k views

Do all linux distros have same boot files and all the main files?

I am having a question that do all the linux distros boot files,grub files and kernel files , that are main to run them and only the iso image of the distro is different?I have Fedora installed on my ...
0
votes
1answer
120 views

How to set the default prefix for grub (EFI)?

I have had four hard days with trying to install OpenZFS 2.0.0 on a vanilla debian buster and to boot from it. To make a long story short, OpenZFS 2.0.0 runs, and buster boots from it, but only with a ...
0
votes
1answer
32 views

What is “dmname” in Arch linux grub config

Hello and thanks for clicking into this for a look. I noticed that in the arch wiki, under cryptdevice in dm-crypt you have this: cryptdevice This parameter will make the system prompt for the ...
0
votes
1answer
20 views

Why does installing a new GRUB makes booting into Windows Server impossible?

I was installing three different systems on a hard drive: Windows Server 2012 R2, Ubuntu Client 16.04 and Ubuntu Server 16.04. When I finished installing Ubuntu Server I can't access Windows Server ...
0
votes
0answers
31 views

Error: No such device: <UUID of CentOS Live CD>, but live CD isn't connected

I've searched far and wide for an answer on this but couldn't find a clear answer, hoping I can get something here - so I ran some dd commands to copy data from one device to another within a CentOS ...
0
votes
1answer
35 views

Tar up the whole BLFS system

I have successfully installed BLFS 8.4 and now I want to transfer it to another machine. Would it work if I tar up the whole BLFS system and then untar it on an empty partition on another machine? If ...
-1
votes
1answer
33 views

I can not find a distribution that uses grub, than will boot for me

I have tried many distributions and if they use grub, then they don't work. But if the system is installed with, rEFInd, then the system starts up and runs. For example, I have attached an error ...
0
votes
0answers
24 views

Problems dual booting - W2019 Server, CentOS, rufus, Dell Studio 1557

I have an oldish Dell Studio 1557 laptop (decent enough - 1TB Samsung SSD, 8GB RAM) on which I've installed Windows Server 2019 Standard from an .iso. I only used about 350GB for the Windows install. ...
1
vote
0answers
243 views

Signing grub for secureboot uefi: Secureboot forbids to load module (memdisk)/boot/grub/x86_64-efi/normal.mod

While trying to setup secureboot in custom Debian based system, grub is not loading if SB is on. I'm using shim (signed by MS) as first stage bootloader. Now I plan to use MOK to sign grub2 and ...

1
2 3 4 5
29