Questions tagged [grub2]
Grub2 is Grub version 2, a multiboot bootloader from the GNU project.
502
questions
0
votes
2
answers
66
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) ...
1
vote
0
answers
30
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 ...
4
votes
1
answer
157
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 ...
0
votes
0
answers
24
views
initrd /casper/initrd: verbose output
In my previous question:
grub2: error: can't allocate initrd - chainload an NTFS partition from FAT32 without errors on initial ramdisk (initrd) file
I posted the error output:
error: can't ...
1
vote
0
answers
88
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
│...
0
votes
1
answer
21
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 ...
0
votes
1
answer
23
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 /...
0
votes
0
answers
49
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 ...
0
votes
0
answers
180
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 ...
1
vote
1
answer
53
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 -> ...
0
votes
0
answers
288
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 ...
0
votes
0
answers
80
views
Fedora Gnome not showing up in grub menu after installing fedora KDE
I tried to triple boot Fedora KDE on Windows+Fedora Gnome.I mounted / , boot/efi and swap (same as I did in fedora dual boot).While triple booting, I remember it to create a boot loader by itself.Now ...
0
votes
0
answers
23
views
How to boot back to Ubuntu within Windows by editing the Grub file when Grub Customizer is installed in Ubuntu?
I have a dual boot system with Windows and Ubuntu OS. Currently, Windows is the default OS. Within the Ubuntu environment, I use the Grub Customizer to change the order of OS. I have Linux File ...
0
votes
0
answers
22
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. ...
1
vote
0
answers
11
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}==...
0
votes
0
answers
11
views
GRUB2 and walking over CD Drive content
I need to check if file exist on cd-drive and take decision based on that in grub2 script. I discovered Grub2 do not contain CD-ROM module in security manner. How to repair this?
0
votes
1
answer
31
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-...
2
votes
1
answer
63
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 ...
0
votes
0
answers
21
views
Partitions and GRUB Bootloader gone after Windows auto updates
I had Windows 10 Pro and a couple Linux distros dual-booted on a Dell Precision M6800 laptop, which has an HDD (which had several partitions) and an SSD (which I think I might have partitioned as well)...
0
votes
0
answers
89
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
...
0
votes
0
answers
586
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 ...
0
votes
1
answer
62
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 ...
0
votes
0
answers
32
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 ...
0
votes
0
answers
99
views
How to build GRUB 2.06 to handle ubuntu on efi-luks-btrfs
I want to build GRUB 2.06 on a efi-system with ubuntu 20.04 on luks-btrfs.
I've built GRUB with:
./configure --with-platform=efi
On grub-install /dev/sda this error interrupt the execution:
...
1
vote
0
answers
26
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 ...
0
votes
0
answers
259
views
Trapped in grub rescue
I have a laptop that originally had windows, I then replaced it with Ubuntu, and later installed Kali for a dual boot. I botched up the Kali installation WiFi-wise, so I tried to uninstall it. I ...
0
votes
1
answer
501
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
20
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 ...
0
votes
0
answers
14
views
Acer monitors not showing boot menu on startup
I have two Acer monitors (KC242Y Abi) connected to my desktop gpu (Asus R9 270), one through hdmi and the other through displayport. My OS is running a dual boot system (Windows 10 and Linux Mint) ...
0
votes
1
answer
60
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 ...
0
votes
0
answers
98
views
How do I hide the Grub menu on Chromium OS?
I was change ‘set timeout =2’ to ‘set timeout = 0’ in grub.cfg but I can not hide Grub menu on chromium os (arnoldthebat)
Here's the grub.cfg:
defaultA=0
defaultB=1
gptpriority $grubdisk 2 prioA
...
0
votes
2
answers
117
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?
0
votes
0
answers
28
views
GRUB2 nativedisk command not found
I have an older Dell server. I'm trying to use a USB stick as the bootloader and then load Ubuntu from a PCIe -> M.2 drive. When I try to use nativedisk GRUB simply returns an error and says it can'...
0
votes
0
answers
33
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. ...
0
votes
1
answer
96
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. ...
0
votes
0
answers
45
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 ...
0
votes
0
answers
34
views
Unable to fix dual boot (grub menu)
I have dual boot with Windows10 and Pop OS, after last upgrade of Pop OS appeared grub menu and I only be able to continue writing "exit". After that boots in Pop OS (Ubuntu based), but I ...
0
votes
0
answers
20
views
Artix linux forcing focus of tty7/8
Recently, I accidentally allowed windows to run it’s “disk checking” procedure, which when combined with a Linux dualboot, has a habit of completely erasing the Linux bootloader and messing with the ...
1
vote
0
answers
70
views
Resurrect dead linux (debian-based), caused by misplaced
Mainly is to resurrect dead linux, which dead by accident.
The last time I use it, I am opening 3 GUI terminal with some sudo. I am not sure but I just learning to use pushd and popd at that time, my ...
0
votes
0
answers
21
views
Grub2 configuration: Moving boot to separate partition, renumbering root
OS: Centos 8
I wanted to move /boot to a separate partition and put it first so the partition renumbered.
Originally, everything was on /dev/vda1.
After: /dev/vda1=/boot /dev/vda2=/
My steps were:
...
0
votes
0
answers
179
views
How to add Clonezilla iso entry to grub?
I would like to be able to boot into Clonezilla and backup/restore an entire partition/drive by using grub.
I saw Phil Webster's suggestion here, but I don't understand where I should place the iso ...
1
vote
1
answer
1k
views
GRUB2 boot broken after Fedora 34
I just upgraded my HP zBook to Fedora 34. After the upgrade, Grub booting failed. The machine now just boots into a plain Grub prompt
grub2>
I can't see any error message during boot, maybe ...
1
vote
1
answer
778
views
Increasing screen resolution of linux terminal using GRUB2
I need to change the screen size of Linux terminal, particularly increase the resolution and thus increase the space for output.
Target environment:
V.Platform : Oracle VirtualBox 6.1
Guest OS ...
1
vote
1
answer
64
views
Can Windows Bootmgr load Ubuntu without needing a second reboot?
I have Windows 10 on an SSD in a DVD caddy (/dev/sdb) and Ubuntu mate on an HDD (/dev/sda). Both are Legacy BIOS/MBR on a Dell Laptop.
I made a dual boot set up and tested putting GRUB on the Linux ...
1
vote
0
answers
83
views
Making an API call in a GRUB script to select OS to boot
I have a computer with multiple operating systems and GRUB installed. The system is often woken up over LAN using a magic packet, but without someone being physically present, it's not possible to ...
1
vote
0
answers
32
views
Bootable partition is not shown in the boot picker or the BIOS
So i couldn’t find my USB drive anywhere, and i thought i’d install Linux from my internal hard drive. Created a new partition, formatted as FAT32, and dd-ed the image onto it.
I rebooted, and the ...
0
votes
1
answer
118
views
Booting Windows Installer on separate Partition via Grub2
I have the following (dumb) Problem: I have set a BIOS Supervisor password on my Laptop and forgot it. Because I have a modern ThinkPad a BIOS password reset is not possible without desoldering chips ...
2
votes
2
answers
2k
views
grub-install: error: embedding is not possible, but this is required for RAID and LVM install
On a Debian 10 (buster) system I've just tried to install the recent grub-pc update and for the first time I received this error:
Installing for i386-pc platform.
grub-install: warning: your core.img ...
1
vote
0
answers
14
views
re-mounting a HDD after grub failed
I have a SCSI hdd caddy (that replaces my cd drive in my laptp) in my computer that is running manjaro with grub2 as the bootloader and this stack of software refuses to connect or mount the /dev/sdX ...
0
votes
0
answers
219
views
Fedora stuck in grub command line
My pc not starting and asks for selections:
list
After entering command line, i could not find proper boot and grub folder. These are my file system folders:
folder
folders
So, how can set proper boot ...