Skip to main content

Questions tagged [grub2]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
34 views

grub conflicts with grub2

What should I do now? I want to add windows 10 into grub so is grub2 recommended? I renew /usr/sbin/update-grub : exec grub-mkconfig -o /boot/grub/grub.cfg "$@" ======> exec grub2-...
张绍峰's user avatar
  • 137
0 votes
0 answers
63 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 ...
HCSF's user avatar
  • 165
0 votes
1 answer
357 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/...
Marc's user avatar
  • 383
1 vote
0 answers
44 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 ...
0x01010's user avatar
  • 111
0 votes
0 answers
105 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 ...
Sagar C A's user avatar
1 vote
0 answers
134 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 { ...
Dennis M's user avatar
0 votes
0 answers
69 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:...
rusty's user avatar
  • 125
0 votes
1 answer
154 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-...
tsisarishotmailcom's user avatar
1 vote
1 answer
5k 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 ...
silvanathecat's user avatar
0 votes
0 answers
74 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 ...
Dave's user avatar
  • 21
0 votes
0 answers
459 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 ...
NanoBreaker's user avatar
1 vote
2 answers
4k 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 ...
some bits flipped's user avatar
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 ...
Juan's user avatar
  • 599
1 vote
1 answer
962 views

Odd message during boot using GRUB

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 ...
user avatar
1 vote
0 answers
136 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 ...
jhu's user avatar
  • 141
2 votes
2 answers
2k 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 ...
jhu's user avatar
  • 141
1 vote
2 answers
164 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 ...
Budy's user avatar
  • 19
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 ...
anurag's user avatar
  • 101
1 vote
0 answers
105 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
4 votes
3 answers
6k 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
  • 1,125
0 votes
0 answers
171 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
  • 183
0 votes
2 answers
129 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
  • 956
2 votes
0 answers
313 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
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 ...
Astor Wilyam's user avatar
1 vote
0 answers
386 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
38 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
  • 155
0 votes
1 answer
605 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
63 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
1 vote
0 answers
352 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
166 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
979 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
334 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
39 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
  • 151
0 votes
1 answer
2k 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
347 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
1k 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
3k 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,208
1 vote
0 answers
322 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
  • 518
4 votes
1 answer
1k 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
726 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
604 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
928 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
1k 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
2k 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
552 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
2k 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
70 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
19 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
228 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
189 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 ...
exodehm's user avatar
  • 131

1
2 3 4 5
11