Questions tagged [grub2]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
56 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 ...
anurag's user avatar
  • 101
1 vote
0 answers
17 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 ...
Joymaker's user avatar
  • 111
0 votes
2 answers
260 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 ...
Melab's user avatar
  • 963
0 votes
0 answers
35 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 ...
4Dummies's user avatar
  • 173
0 votes
0 answers
31 views

Grub2 boot from local disk reboots machine

I am having a strange issue with one machine (Lenovo T420) All Legacy machines have PXE Boot as first boot entry. Via PXE the client gets a grub and if no pxe config file is set on a server the client ...
raddirad's user avatar
  • 101
0 votes
2 answers
62 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 ...
ZEE's user avatar
  • 908
2 votes
0 answers
113 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....
Tuxifan WasAuchImmer's user avatar
0 votes
0 answers
475 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 ...
Astor Wilyam's user avatar
1 vote
0 answers
91 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 ...
AlexIoT's user avatar
  • 11
1 vote
0 answers
19 views

grub2 cannot detemine new created nvme1n1

I add drive nvme1n1 GPT, add the partition nvme1n1p1 (ext4) Here some outputs: lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 55.6M 1 loop /snap/core18/2667 loop1 ...
ilw's user avatar
  • 135
0 votes
1 answer
153 views

Get device part of a file path within grub.cfg

I'm writing a custom grub.cfg for a drive that can be used in different computers. Depending on the computer I use it in, the device identifier may be different (going from hd0, to hd1 or hd2, ...
paranoidduck's user avatar
0 votes
0 answers
33 views

Mapping of Disks and underneath "Primary/Logical" Partition(s) by Unix Terminal Prompt Commands and GRUB Prompt Commands (With GRUB Naming Convention)

In Unix ("Ubuntu/lUbuntu") how do I find mapping for Disk + Logical and/or Primary Partition Information between the "ls" output at "GNU GRUB Bootloader Prompt (GRUB Prompt) ...
Nilabja Saha's user avatar
0 votes
0 answers
200 views

How To Automatically Load Kernel and Initrd for Ubuntu VM

Using grub2-bhyve and vmbhyve, I setup an Ubuntu-server-22.04.1 VM on a FreeBSD 12.3 host. The issue is that every time I start the VM I am presented with the Grub CLI (not menu table) and I have to ...
Anon's user avatar
  • 1
1 vote
0 answers
183 views

Dual boot Linux and Windows in a laptop with a broken screen [HP]

I know there are a lot of similar questions to this one (especially related to display GRUB or the BIOS in a external monitor) but none of the given answers have solved my problem, so I thought this ...
pedomarco's user avatar
0 votes
0 answers
63 views

Which Linux rescue disk has out the box serial console support?

We have a RHEL8 machine in a different city that needs to be rescued. The machine is connected to a serial console, and we can successfully access the BIOS and choose a disk to boot from. Our problem ...
Graham Leggett's user avatar
0 votes
0 answers
124 views

grub-install error: missing moddep.lst - except, it isn't

It's that time of the year again. A BIOS firmware upgrade killed my GRUB installation. Even with legacy boot and choosing the disk, not UEFI, it boots into Windows. Now, I can boot into Linux using a ...
r.beer's user avatar
  • 1
0 votes
0 answers
691 views

grub2win BasicArrayRead input file open error

I am trying to make dual boot Windows 11 and Android x86 Using Advanced Android x86 Installer, This wizard use grub2win to boot Androidx86, but it seems that configuration files for boot is not ...
Hypensterisk's user avatar
0 votes
0 answers
22 views

Lost grub on every blackout

I added a Linux (Ubuntu) partition to my Windows pc to have boot OS for work, and Grub has been installend along it. It happened recently after a blackout in the building that the pc started the ...
fudo's user avatar
  • 101
0 votes
0 answers
143 views

Grub doesn't show up after windows restart but it does after ubuntu restart

I have dual boot with Ubuntu 22.04 and Windows 10. When I try to restart in Ubuntu grub shows up just fine but when I restart in Windows 10 I get a black screen and nothing boots up. I need to then ...
Nikolay Soserov's user avatar
0 votes
0 answers
26 views

System will not boot to disk even after Boot Repair

I have a system that refuses to boot to disk (or to boot to [defaulted] USB) without manual intervention. (It will not boot to disk at all.) HISTORY - may be unimportant: This HP Proliant Microserver ...
Dennis 's user avatar
0 votes
1 answer
936 views

error: file '/grub/i386-pc/normal.mod' not found

I get this error after installing opensuse 15.2 on a Dell Latitude E5410 (~year 2011), where the hard drive was replaced. I tried default as well as manual setups and partitions. I tried suggestions ...
Friedrich -- Слава Україні's user avatar
0 votes
0 answers
61 views

Grub2 hangs on menu if keyboard not plugged in

I have just transferred my Gentoo Linux amd64 system to new hardware. When I boot the system with the keyboard connected, I get the prompt "The highlighted entry will be executed in X seconds&...
Robert S's user avatar
  • 797
0 votes
0 answers
228 views

adding a grub2 menuentry to a local disk grub to enable booting from a pxe server

Here is my scenario: Have a pxeserver on a private network. have pc systems with no graphics cards, but all have serial port. all boot from grub2 to local disk. What I want to do is to add an entry, ...
dithotx's user avatar
0 votes
0 answers
556 views

GRUB error after upgrade from Centos 7.9 to AlmaLinux 8.5

During the test-upgrade of one of the VM's we are shipping our software on I ran into an issue where just before the last reboot in the process of upgrading OS from CentOS 7.9 to AlmaLinux 8.5 (after ...
user avatar
1 vote
2 answers
1k views

UEFI does not recognize 32 MiB FAT32 EFI system partition

During the installation of Parrot on a VirtualBox machine, I manually created a 32 MiB partition (since I don't intend to multi-boot or upgrade the VM, that's way more than enough for the single OS) ...
antichris's user avatar
  • 1,156
1 vote
0 answers
240 views

Diagnosing a blank screen at drive decryption - garuda linux

I have a dual boot setup of windows and garuda Linux which have been working fine (efi). I've been working mainly in garuda and haven't done a reboot for a while. My system drive is luks encrypted and ...
SwiftD's user avatar
  • 528
4 votes
1 answer
764 views

Disallow changing boot option and bash-like command line in grub

I'm using Arch Linux and in my home, I share my computer to others. They have physical access to my computer and I don't want them changing how GRUB boot into Linux by pressing e or have a command ...
Someone1611's user avatar
1 vote
0 answers
382 views

grub2: error: can't allocate initrd - chainload an NTFS partition from FAT32 without errors on initial ramdisk (initrd) file

The OS with Ubuntu 20.04.3 LTS Desktop 64-bit is located in the gpt2 partition with the filesystem NTFS. This is the structure of the gpt1 partition with the filesystem FAT32: . ├── boot │   └── grub │...
Mario Palumbo's user avatar
0 votes
1 answer
298 views

grub2 terminal: redirect command output to file

I refer to the syntax used by grub2, for example when you start a pendrive and you are presented with the grub2 terminal. I would like to redirect the output of the lsmod command to a file in some ...
Mario Palumbo's user avatar
0 votes
1 answer
624 views

Grub2: no timeout on Fedora31

I've found many articles saying to edit /etc/default/grub and change to GRUB_TIMEOUT=-1 . There is much advice to then run update-grub which I don't have. This site suggests instead grub2-mkconfig -o /...
Swiss Frank's user avatar
0 votes
0 answers
803 views

grub2-install fails with error "efibootmgr: option requires an argument -- 'd'"

I'm trying to install grub2 on disks but if always fails with the following error message. However it confirms the installation completes but doesn't update efi boot entries. I have to manually load ...
Vinayak Krishna's user avatar
0 votes
0 answers
1k views

Grub2: stdin: invalid argument

I have attempted to create a UEFI pen drive that installs Ubuntu 20.04 LTS Desktop 64-bit. The exFAT partition gpt2 contains the entire Ubuntu 20.04 LTS system image. The FAT32 partition gpt1 contains ...
Mario Palumbo's user avatar
1 vote
1 answer
349 views

Problems to install windows 10 and Linux uing UEFI

I want to install windows 10 and linux (ubuntu 21 or debian 11) in a new SSD (480 GB). But I have some problems with that, first I installed Windows 10, it created some partitions: sda1 (100 MB -> ...
Igorov's user avatar
  • 11
0 votes
0 answers
1k views

How to fix `Error: unknown filesystem Entering rescue mode... grub rescue` on ubuntu 21.10

I was working with my PC that it hanged and I pressed the Shut Down button until PC turned off. After that when I wanted to turn on the computer I got this error: error: unkown filesystem Entering ...
Mahdi Jafari's user avatar
0 votes
0 answers
57 views

Virtualization Plus Dual Boot

tl;dr Is it possible to run a Linux as a VM guest on top of Windows, where the Linux and Windows are dual-boot (grub) "siblings" so to say? Why? Sorry if this seems unnecessarily hairy. ...
Rusi's user avatar
  • 144
1 vote
0 answers
18 views

Can't automount partition that contain the booting iso file

I have a strange problem i am dual booting windows with chromeos from iso file using grub2 i am using the following udev rules ACTION=="add", SUBSYSTEMS=="block", ATTRS{removable}==...
Mohamed A'esam's user avatar
0 votes
1 answer
167 views

GRUB2 how to shutdown computer if disk not found with search command

I'm using the GRUB2 to load Windows To Go with following grub.cfg menu entry: menuentry "MS Windows" --class cl-windows --id id-windows { search --fs-uuid --no-floppy --set=root XXXX-...
widz jutuba's user avatar
2 votes
1 answer
154 views

Unable to install Linux in a PC with Windows 10

This is my problem: I have a netbook PC with this issues: Lenovo ideapad 320 CPU: Dual Core Intel Celeron N3350 RAM: 4 Gb Hard disk SSD SATA 500 Gb This computer is running Windows 10, and I want to ...
user3733164's user avatar
1 vote
0 answers
326 views

Applying theme on GNU GRUB 2.06 for windows

Hello everyone is there anyway to make gnu grub themes working in windows? I setup the Gnu grub 2.06 for windows (not grub2win) but I'm confused how to setup a theme which was easy in linux by adding ...
K S Maan's user avatar
0 votes
0 answers
1k views

How do i get Windows 10 to appear in my grub menu, after a Fedora 35 reinstall, on my dual boot system?

My dual boot (Windows 10 and Fedora 35) Dell Precision 3541 has been running well for some time. Recently, the Fedora 35 install became corrupted, so I reinstalled it from the same Live USB stick I ...
jazcap53's user avatar
  • 101
2 votes
1 answer
524 views

In Linux, how does a bootloader find a bootable disk?

I am using CentOS 7 and have attached multiple disks to it. I know my OS, kernel, initramfs etc. resides at "/dev/sda" and that is the bootable disk. But how does grub2 deduce that? Does it ...
ik005's user avatar
  • 31
0 votes
0 answers
356 views

GRUB isn't a boot option after rebooting

So I haven't been able to boot into grub since I added a fourth drive to my machine and the drives changed names (sda changed into sdb). To try to fix it I: 1-I generated a new fstab and deleted the ...
koa's user avatar
  • 1
1 vote
0 answers
143 views

Grub menu enters shell with Fedora 34 install

I recently did a Fedora 34 minimal install on my own PC. It works fine. Same household, different PC: Grub greets me with a grub> shell. Typing exit worked as expected, I entered the normal menu ...
Zacki's user avatar
  • 11
2 votes
2 answers
3k 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 ...
William Seligman's user avatar
0 votes
1 answer
134 views

Creating custom OL8 ISO fails to find grub2 package

I'm trying to build a custom Oracle Linux 8 ISO using the steps described here: https://www.golinuxcloud.com/create-custom-iso-rhel-centos-8/ Everything starts out fine, the ISO is bootable, the ...
mkerins's user avatar
  • 11
0 votes
1 answer
302 views

Removing GRUB removed option to boot from USB

I have a laptop running windows 10. Using an Ubuntu live USB, I installed a bootable Ubuntu system to another USB. After creating this and booting into it, when I went to reboot my computer without ...
JCL's user avatar
  • 1
0 votes
2 answers
3k views

Where to install Grub for Debian upgrade?

I am upgrading a Debian system, and it is asking me where to install grub. I have Debian installed on /dev/sda1. Does the grub bootloader need to be installed on /dev/sda or /dev/sda1?
thecomputerguru's user avatar
0 votes
0 answers
106 views

Dell Latitude 7390 Business Laptop hangs randomly when powered it on

I have Latitude 7390 Business Laptop purchased 3 years ago. Windows has been removed and Ubuntu 20.04 has been installed on it. Normally, when I power it on, the Dell Logo appears for a few seconds. ...
faceclean's user avatar
  • 337
0 votes
1 answer
154 views

What boot technology is this system using?

Context Windows 10 Home 21H1 Virtualbox 6.1 CentOS 8 VM BIOS mode: Question What boot technology is being used on this VM? I suspect BIOS is loading a stage 1 MBR boot loader, which loads GRUB2. ...
Neal Eastwood's user avatar
0 votes
0 answers
205 views

Windows shows BSOD when trying to boot on dual boot with ubuntu

I am using a refurbished lenovo flex 14 machine I bought on ebay with a fresh windows 10 install. After it arrived I installed ubuntu 20.04 on the machine and used the configuration to install ...
DiegoVM's user avatar

1
2 3 4 5
11