Questions tagged [grub2]
GRUB2 is the second revision of the GRand Unified Bootloader, with versions numbered 1.9x and 2.yz.
1,463
questions
0
votes
0answers
14 views
Make grub let me me choose the new kernel
there's somethings I don't understand with kernel installed packages.
Sometimes I have all the kernel packages installed in a "basic version" and its upgraded version.
Let's say : 4.18.0-240....
0
votes
0answers
14 views
init unable to find root device on computer in restoration
I'm a bit out of solution on this one :
I am restoring an old computer (15 years old...), which was running archlinux.
I have inadvertently erased the pacman package database (and all /var ...), and I ...
0
votes
1answer
43 views
Boot Linux from ISO Image inside Windows 7 Partion
I have a Windows 7 Laptop from a friend where he wants me to install Linux for him to try. The MBR partition table is already full, so there is no option to add another partition and install Linux ...
0
votes
0answers
32 views
Fedora 33 not booting into latest kernel
Not the best picture (sorry), but every now and again whenever Fedora does an update, it appears to be adding a new line to my boot menu - the picture is old, I now have 3 versions of the kernal in ...
1
vote
0answers
16 views
My 40_custom doesn't work
Hello and thanks for coming help me
My 40_custom is as follows :
#!/bin/sh
exec tail -n +3 $0
menuentry "Kali Linux custom configuration" {
search --set=root --label Kali --hint hd0,...
1
vote
1answer
26 views
Dual Boot install failure of Debian 11/Win 10 on UEFI only (Dell Inspiron 17 7706) system
I tried to install a root-encypted Debian 11 (Bullseye, netinst, daily build 2021-03-29, cryptsetup) next to the existing Win 10 as Dual boot on a strict UEFI-only system (Dell Inspiron 17 7706, BIOS ...
0
votes
0answers
17 views
Adding an if condition inside the grub configuration file
By default when I have only one kernel, the output of ls /boot/ | wc -l is 13. However, sometimes I want to compile and install another kernel to my system and after that I want the grub menu to pop ...
0
votes
1answer
18 views
How can I get Windows to let me always boot straight into grub
I dualboot Ubuntu and Windows and have 2 SSD's. The first one, 1TB is dedicated to Windows and the other, 500GB is for Ubuntu. I had it setup to boot into Grub but every time Windows would upgrade or ...
1
vote
2answers
85 views
I had two grubs but not anymore, and I want both back
I have Ubuntu Linux 20.04 and Kali 2021 installed, and before reinstalling both, I had two grubs, the main one showed up when I started the pc, it was the Ubuntu one, and the second one showing up ...
0
votes
1answer
14 views
System keeps booting into Grub2
My system keeps booting into the Grub2 Command Line interface on startup. I used to run Windows 10 and Ubuntu on Dual Boot, and after I updated my Windows 10 to Windows Server 2019, on every startup, ...
0
votes
0answers
8 views
No GRUB entry after installation of manjaro-architect
I have used the XFCE live cd, to launch into manjaro-architect, not the standalone ISO.
I am planning to dual boot with windows, but now I have only one SSD plugged in, and aside the firmware having ...
0
votes
1answer
41 views
Grub starts in command line after BIOS update and can't boot any OS
my problem is very similar to this question asked by Antoine Aubry.
I have an ASUS laptop with Windows 10 and Ubuntu 20.04.2 LTS installed in dual boot. After a recent BIOS update, when I start my ...
0
votes
1answer
35 views
grub-install: info: … but x86_64-efi platform not available
I've installed LUbuntu on a system and it boots nicely in BIOS mode. Unfortunately I need to boot the system in EFI mode, so I booted the stick again. Made sure that it booted in EFI, mounted ...
0
votes
1answer
27 views
Booting Windows on EFI from Linux msdos (invalid signature)
My first boot partition table is ms-dos style.
My fifth disk has GPT table partition GPT, with:
EFI partition as first partitiion
Windows as 4th partition
my /boot/grub.d/gurb.cfg can't boot ...
0
votes
1answer
17 views
Grub2 ignore my grub.cfg
My /boot/grub/grub.cfg is the following, but I can't have the countdown or the auto select after 10 seconds:
#
#
GRUB_DEFAULT="0"
GRUB_TIMEOUT_STYLE="menu"
GRUB_TIMEOUT="10&...
1
vote
0answers
36 views
Can't boot ISO file from custom grub menuentry
I was attempting to boot an ISO file without a usb, so I added a grub menuentry and when I booted into it, it always just shows a completely black screen, I even tried grml-rescueboot but still the ...
0
votes
0answers
18 views
grub2: specify http location for linux and initrd in grub.cfg
I am trying to configure network boot to install different Linux OS versions on PowerPC environment. I have an CentOS source machine with httpd, dhcpd and tftp configured. My http server is hosting ...
0
votes
1answer
47 views
Set default boot entry to Windows instead of Fedora
I have the following options on my machine in Grub when I boot it up:
Fedora (5.10.21-200.fc33.x86_64) 33 (Workstation Edition)
Fedora (5.10.19-200.fc33.x86_64) 33 (Workstation Edition)
Fefora (5.8.15-...
-1
votes
0answers
17 views
Can't dual boot into Windows 10 from an Ubuntu/Windows 10 installation
After I install Windows 10, turn off fast startup and turn off the computer, whenever I try to boot into Windows again it fails. Ubuntu works fine, so I decide to run bootrepair. It says:
The disk ...
1
vote
2answers
68 views
windows missing from boot menu, manjaro
Suddenly windows is missing from bootmenu maybe after an update, or maybe after a sudden shutdown during windows boot process.
os-prober output:
/dev/sdb1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot ...
0
votes
1answer
18 views
How can I make Windows bootable again on OpenSuse Leap?
I have installed OpenSUSE Leap on an MS Windows (10 Home) laptop and it now only offers Linux in the boot menu. How can I get Windows into the boot menu?
Leap is currently 15.1¹, having been upgraded ...
0
votes
0answers
55 views
How to boot to nvme and install grub to external drive?
I have one SSD and two NVME.
My old motherboard does not detect the NVME to boot it.
I tried to install the system and the boot in the NVME, but it was not detected by CLOVER (https://github.com/...
0
votes
0answers
25 views
Grub Shell: Boot without graphics drivers
At boot, instead of the usual Menu, I am greeted with the Grub Shell. I know how to set the linux kernel and inintrd image, but using the boot command also apparently loads the GPU drivers (my ...
1
vote
1answer
29 views
Grub: configuration to boot on specific partition without menu
I installed Grub on a UEFI bootable key, this works fine.
Now I want to use this key to boot on a single partition, containing an installed Ubuntu.
I would like Grub to choose it immediately, without ...
1
vote
0answers
24 views
Grub 2 incident
I'm a fedora Linux user. And right now I am having trouble to boot the OS from grub.
All I see is 4 kernels. And when I press return key
It shows:
error:../../grub-core/script/lexer.c:337:syntax ...
1
vote
3answers
226 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
85 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
5 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
39 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
20 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
13 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
30 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
49 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
│ ...
2
votes
1answer
99 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
52 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
40 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
125 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
20 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
32 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
38 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
127 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
80 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
24 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
37 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
36 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
60 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
49 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
46 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
37 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 ...