Questions tagged [grub2]

Grub2 is Grub version 2, a multiboot bootloader from the GNU project.

Filter by
Sorted by
Tagged with
10 votes
1 answer
12k views

Changing GRUB_TIMEOUT value doesn’t seem to work

Yes, I did do sudo update-grub. Changing the /etc/default/grub GRUB_TIMEOUT variable seems to work once, but then after that first time every time I reboot the timeout is 30 seconds and my time I set ...
2 votes
1 answer
3k views

Boot different OS if booted via Wake on LAN with GRUB

I have a PC running Windows and Linux. I want the Windows system to be the default system because this PC is mainly used for gaming. I do, however, occasionally use it as my remote development box. ...
0 votes
0 answers
17 views

Unable to get to switch_root mode in CentOS 7

I am trying to reset the root password on my old drive, and I followed this instruction: https://www.redhat.com/sysadmin/recover-root-passwd However, instead of booting into a 'rescue' prompt as the ...
1 vote
1 answer
4k views

Add Windows partition to grub2 boot loader in CentOS 7

I had Windows 7 installed on my laptop. Then I installed CentOS 7. Installation completed successfully, but when I reboot I can see only CentOS and CentOS recovery. I did not see the Windows partition....
1 vote
2 answers
3k views

Ubuntu 13.04 won't recognize my bootable USB

I'm currently using Ubuntu 13.04 on my ASUS F201E laptop. I'm trying to install a new OS that is meant to be more compatible with my harware. I've already created a bootable USB with the new OS on it ...
0 votes
1 answer
160 views

Add "Windows 10" (with Bitlocker encrypted) boot entry to GRUB [duplicate]

I have a dual boot system with Windows 10 & Ubuntu Unity 23.10. My main system is the Ubuntu system, but from time to time i have something todo on Windows. Currently im switching with the BIOS/...
1 vote
0 answers
38 views

Grub script how to remove menuentries

I made a grub script to detect bootable disks and show them on grub menu. It is working but I want to put a rescan button and to make that first I need to remove old menuentries. How can I do? My ...
0 votes
0 answers
91 views

bootmgfw.efi not able to load further after being downloaded by network during PXE, but loads fine if loaded from disk

I am trying to load into winpe using bootmgfw.efi, it is being downlaoded by TFTP download looks fine, but after downloading, it is stuck at a blank screen and TFTP log says downloaded is the last ...
1 vote
0 answers
356 views

Grub2 commands to automatically boot from Windows (UEFI installation & BIOS firmware)

The following chain of commands works when Windows is installed in UEFI and UEFI firmware is present. If Windows is installed in UEFI and that in combination with BIOS firmware the command will not ...
3 votes
3 answers
5k views

Can GRUB access an NVMe drive when the BIOS lacks support for it?

An NVMe drive can be installed in a computer whose BIOS doesn't have support for it; any running OS can still access it using drivers, it just cannot be used as a boot drive. Does GRUB have the ...
1 vote
2 answers
3k views

GRUB slow/irresponsive when in UEFI bios mode

I have a GTX 1060 GPU, a ultrawide (21:9) 2560x1080 monitor and a MSI B-450 A PRO motherboard (bios version V10.C - 2019/11/12). Recently i've change the bootmode of my bios from CSM to UEFI. after ...
2 votes
3 answers
8k views

How to hide recovery partition from Grub2

I've installed a Linux distribution on a friend's PC. He does not know how to use Linux or even Windows very well, and I'd like for it to be as easy as possible. When I installed GRUB, it detected his ...
2 votes
2 answers
7k views

Boot ISO image from GRUB4DOS on EFI machines

I failed with loading ISO image (non-distro) from GRUB2 from USB stick, but found the way how I can boot the GRUB4DOS and then load the image from there. However, it doesn't work all the time and the ...
1 vote
0 answers
93 views

Boot android x86 installed on disk image file with grub

I have it installed on a file a86.img in disk which I boot with qemu. Here is what I have so far but it gets stuck at Detecting Android x86... menuentry "Android x86" --class android { ...
2 votes
1 answer
7k views

Error 0xc000007b when trying to start \EFI\ubuntu\shimx64.efi (Ubuntu) through Windows 8.1 Bootmanager on an UEFI System

Error 0xc000007b when trying to start \EFI\ubuntu\shimx64.efi (Ubuntu) through Windows 8.1 Bootmanager on an UEFI System EFI Entries During Ubuntu Setup, Ubuntu automatically created an EFI start ...
1 vote
2 answers
15k views

GRUB 2 boot error: "out of memory"

I just installed a SAS/SATA 3 controller (IBM M1015) and now I am unable to boot the system (GRUB 2 bootloader). The last boot messages I see are: Verifying DMI Pool Data ................. . out of ...
0 votes
1 answer
110 views

How to install Linux Porteus on an Acer Aspire SW5-012?

I would like to install Linux Porteus on my Acer Aspire SW5-012 tablet. It has an atom processor which is 64-bit but a UEFI bootloader which is 32-bit. I was told that I could use Grub2 and make 64-...
1 vote
1 answer
5k views

Boot Kali iso from HDD in existing boot menu

Currently, we have FOG as our computer imaging solution. All PCs have PXE boot setup, and FOGs boot menu is showing. What I would like to do is to add the Kali iso as a start-up option, which would ...
0 votes
0 answers
54 views

Grub2 insists on including zfs module when it does not exist

I'm creating a bootloader using grub2-install, it works fine but it keeps emitted this extraneous message: Booting `SUSE Linux Enterprise High Performance Computing 15 SP5' Loading kernel ... error:...
2 votes
0 answers
281 views

Proxy DHCP via dnsmasq: Grub welcomes me, but then gets stuck

I am attempting to EFI PXE boot GRUB2 using a Proxy DHCP server... It worked just fine with this configuration, which simply replaced the DHCP server: interface=enp3s0 dhcp-range=192.168.1.10,192.168....
1 vote
3 answers
11k views

Arch Linux: booting in blind mode UEFI

I recently installed Arch on an old box for someone else, and I'm running into a problem: I am booting to a GRUB shell, and when I manually load the kernel with linux /boot/vmlinuz-linux and initrd /...
1 vote
2 answers
5k views

Accidentally deleted Windows MBR

While I was trying to dual boot Windows 10 and Ubuntu, I accidentally deleted the Windows 10 boot loader. I can't boot into Windows now however Ubuntu does work. Any Ideas?
0 votes
1 answer
3k views

Installing GRUB2 to a USB drive as a backup bootloader

I want to install GRUB2 onto a drive with no iso on the drive, but as a secondary bootloader. I'm using archlinux and want a backup that doesn't have to be hard installed on my machine. How would I go ...
0 votes
0 answers
69 views

During GRUB stage, Intel GPU-based system freezes if video is interrupted

I am in hell trying to figure out what is broken here. I am running linux (both Debian Bookworm and Buster have been tested, but the problem happens presumably before the kernel loads). I have a ...
0 votes
2 answers
2k views

not able to boot into windows 10 after installing kali in dual boot mode

I have installed kali linux 5.4.0 with qindows 10. But from grub i am not able to boot into win10. If I click on win10, it is coming back to grub. If I change boot mode to "UEFI" then it is not ...
0 votes
0 answers
376 views

GRUB2: Configure multiple Windows and Linux operating systems on single EFI system

I've installed two instances of Windows 11 and one instance of Ubuntu 23.10 on my laptop with a single SSD. After install my file system looks like this sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL ...
1 vote
2 answers
3k views

How to boot system normally from grub prompt?

How can I boot Linux from the grub> prompt, as if I were booting from cold? I have full disk encryption. When I fat-finger the encryption password, it bumps me to grub rescue (bonus points if you ...
2 votes
1 answer
3k views

configure grub to work with either UEFI or PC BIOS boot

Is there a way to use GRUB to boot in a system that will only boot in UEFI mode AND (without changing anything on the disk) also boot in a system that will only boot in PC BIOS (legacy) mode? I want ...
1 vote
0 answers
923 views

What does “/EndEntire” followed by “file path: /ACPI(…,…)/PCI(…)/UnknownMessaging(…)/HD(…,…,…,…,…)/File(…)/File(…)/EndEntire” during boot mean?

I use Secure Boot, followed by GRUB2, set up to boot Debian 12 and Windows 11 at the choice of a user. Right after the user chooses Windows and hits ⏎, we see a black screen with two white lines on it ...
2 votes
2 answers
4k views

Debugging PXE booting problems with GRUB

I want to boot the current Antergos Live CD via pxenetboot. To do this, I downloaded the ISO, mounted it and copied the contents into /tftp/antergos/. Then I set up dnsmasq to offer tftp and used ...
1 vote
0 answers
115 views

How to override grub_arg in grubby for non-default grub entries in Fedora 38?

After discovering and working around a bug in grub2-set-password, I am now able to set password protection for grub2 in Fedora 38. While this method asks for a password when trying to edit a grub menu ...
2 votes
2 answers
1k views

How to password protect grub boot menu in Fedora 38?

I have been trying to password-protect grub boot menu in Fedora 38. Now, unfortunately, the Fedora guide for GRUB2 is "currently in the process of revision," so I have had to work with other ...
1 vote
2 answers
162 views

GRUB stopped working

GRUB stopped detecting Windows and I followed a tutorial that is now lost to time and it didn't work. Since I need Windows for gaming still I just repartitioned everything and installed Windows onto ...
0 votes
2 answers
4k views

EFI and GRUB2 where to get binaries and how to mount the boot system

UEFI and GRUB2 Anybody knows the site to get the binaries (bootia32.efi and bootx64.efi) to boot grub2... also the GRUB2 binaries... and a good tutorial help on this... I want to make a multi-boot ...
0 votes
0 answers
3k views

How to manually setup Windows 10 and Ubuntu 22.04 Dual Boot under UEFI

Note: Please read the full post with due diligence before posting comments/answers or downvoting/closing this question. In case your solution pertains to using some third party boot manager please ...
1 vote
1 answer
3k views

Linux Mint livecd does not recognize Windows 8 partition

My system has two SSDs. I re-installed Windows 8 onto the disk0. I want to install Linux mint on the other SSD. Secure-boot is disabled, fastboot is disabled, csm is enabled I run Linux Mint 16 x64 ...
1 vote
0 answers
93 views

How to fix Windows boot after grub installed? [duplicate]

I had a laptop running Windows 10, quite nicely. I used an Ubuntu installer to try and install a dual-boot system. When it asked me if I wanted to let it install grub in the boot record, I pointedly ...
3 votes
1 answer
4k views

not enough space for grub2 to install core.img - how to install Scientific Linux?

I have Windows 10 -- and I've already shrunk its partitions. There's plenty of disk space (two disks, 1900G on one and 214G on the other available). I'm trying to use Scientific Linux's installer, ...
2 votes
2 answers
5k views

How to boot from local disk using grub2 during a PXE boot

I have a working BIOS-based PXE boot setup that I established years ago on a Linux CentOS 7 server. In the pxelinux.cfg/default file, I have the following lines (among other menu entries): LABEL local ...
0 votes
0 answers
152 views

How do I get rid of GRUB and go back to Windows 10 only

There are answers to similar questions about prior Windows releases (XP and 7 mostly), but I cannot follow them in Windows 10. Too many menu options and commands do not exist in Windows 10. My ...
0 votes
2 answers
121 views

Chainload a LinuxOS present in a GPT disk

booting from a MBR disk... how to chainload a LinuxOS present in another disk (let's say Disk#2) Disk#2 was a boot disk from other computer, is a GPT disk with a single Linux distro installed I want ...
6 votes
3 answers
712 views

Is there a way to prevent Windows 8 upgrade from erasing the bootloader?

Is there a way to tell the Windows 8 installer not to erase the grub bootloader? For example, changing something in the OEM folder or some kind of slipstream technique similar to how it is possible to ...
8 votes
2 answers
31k views

How can I discover which bootloader is installed where?

On a Debian Linux box, I'm running into a very strange situation where after power-on, GRUB fails with the error "no such partition", but if I then hit the reset button, it boots normally. I'm trying ...
10 votes
2 answers
13k views

What does GRUB_DEFAULT="1>2" mean?

One of our Debian-servers won't boot into the newest installed kernel, and during troubleshooting I came across this: grep GRUB_DEFAULT /etc/default/grub Output: GRUB_DEFAULT="1>2" I ...
1 vote
0 answers
298 views

Exiting the GRUB pager

I have turned on pager and debug for GRUB in grub.cfg: set pager=1 set debug=all Now I'm stuck with long output that GRUB produces. How can I quit that? I tried using Ctrl + D, Ctrl + C, Esc, Q, but ...
50 votes
1 answer
23k views

How can I scroll in the GRUB 2 shell?

The outputs of the help and/or vbeinfo command of the GRUB 2 shell are massive. How can I scroll up the output? I've tried PageUp and Shift+PageUp, but nothing happened.
0 votes
0 answers
1k views

failed to execute /init (error -2) Kernel panic - not syncing: no working init found. Try pasing init= option to kernel. Somehow related to ldconfig

What I did before the problem. Having Ubuntu server (Ubuntu 20.04.5 LTS, focal). Have installed Visual code, JDK, direnv (10.02.2023). Tried to install a script folowing by instruction. [This is the ...
1 vote
0 answers
738 views

Unable to skip Grub v. 2.02 boot menu on Ubuntu 18.04

I have one OS on my Lenovo Flex 5 15 - Elementary OS 5 (just one of many distributions based on Ubuntu 18.04). When I turn my laptop on, Grub v. 2.02 boot menu appears and I have 30 seconds to choose (...
11 votes
2 answers
60k views

Searching for grub configuration file in CentOS 7

Im searching for grub.conf file in CentOS 7. I cant find it with locate(I called updatedb before). Where does it stores? In older versions of CentOS I could find it.
7 votes
2 answers
19k views

How do I recreate a wiped /boot filesystem in Ubuntu

I accidentally overwrote the /boot filesystem on a running Ubuntu host where the root fs and swap are LVs, and the kernel, initramfs, etc. are under /boot with grub modules and config under /boot/grub....

1
2 3 4 5
11