Questions tagged [grub2]

GRUB2 is the second revision of the GRand Unified Bootloader, with versions numbered 1.9x and 2.yz.

Filter by
Sorted by
Tagged with
2
votes
2answers
151 views

move boot partition of proxmox (or debian) to USB flash, installed on two NVME disks in zfs-raid-1 on a non-bootable legacy bios

I am trying to setup proxmox on Dell r720xd, which does have UEFI boot option but can not boot from PCIe nvme drives. If I install proxmox (or any os) on a usb flash, it boots fine. For testing, I ...
2
votes
3answers
1k views

GRUB cannot find encrypted boot partition

Arch Linux Installation (On encrypted LVM) and attempt to encrypt boot partition. It's something that bothers me having a "Full disk encryption" with a non encrypted boot partition. This ...
1
vote
1answer
32 views

How can I “chain-load” grub from systemd-boot

So in the process of getting systemd-boot working on one partition, which is its own install, and having another install in parallel which is using grub, I'd like to make systemd-boot, boot to grub as ...
0
votes
0answers
15 views

Cannot access encrypted root partition after moving it

I had a Windows laptop with an additional Manjaro installed, on /dev/sda6 (somewhere wedged between the Windows 10 main partition and the recovery partiton). The Manjaro partition is using ext4, with ...
0
votes
1answer
2k views

Debian 9 VmWare Black Screen after reboot

I have installed a debian 9 x86 on a VmWare Workstation, and used it few times, then i have been messing with NetBeans and also gnutls library, i was trying to build static one to use in my program, ...
0
votes
1answer
410 views

“minimal BASH like line editing is supported”

I'm getting this error “minimal BASH like line editing is supported” instead of grub menu when I try to install GNU-Linux(Kali OS) as a dual boot. Can anyone help me in a easy understandable way? *I ...
1
vote
2answers
2k views

How to replace Ubuntu with Arch on a dual boot?

I want to replace Ubuntu Linux on my current set up. Currently I have a dual boot with Ubuntu Mate and Windows 10. I would like replace the Ubuntu installation with Arch. But before I do so I was ...
75
votes
4answers
199k views

How do I update GRUB in Arch Linux

In Ubuntu, we use this command to update GRUB: # update-grub But how do I update GRUB version 2.00 in Arch Linux?
1
vote
1answer
279 views

How can I get the 'ls' output to a variable in grub2?

I install Ubuntu into a SSD drive and when I insert the SSD into different computer I have to change manually the disk number. I would like to get the home directory of all the disks until I found the ...
2
votes
1answer
44 views

How to get grub command data to a variable?

I have a problem in grub2 to a variable. grub is bash like, but something id different. In grub script or shell mode. I can't do like this: diskinformation=$(ls) or set diskinformation=$(ls) Is there ...
0
votes
1answer
29 views

basic diferences between root and real_root boot arg

I notice that we have set root=, but deeper there are real_root too. Also why the real_root is rarely used? I mean why it more common to use root rather the real_root?
0
votes
1answer
31 views

How to install GRUB2 on shrunken RAID1 disks?

TL;DR: Trying to install GRUB2 on block devices that are in RAID1. Stuck at installing bootloader. Goal to replace HDD-s with smaller SSD-s. Here are the steps that I've taken: # Booted into rescue ...
4
votes
1answer
1k views

GRUB 2 scripting: convert device name in GRUB notation into a Linux device name

I'm trying to use partition labels (or UUIDs, that does not matter) to select root partition without use of an initrd/initramfs. With initramfs, this is fairly easy: root=LABEL=... or root=/dev/disk/...
1
vote
4answers
3k views

Broken apt-get and broken grub

So some time ago, I dual booted my computer with Windows 10 and Linux Mint 18:Sarah. Windows 10 created a hiberfil.sys file by default (to save system snapshots or whatever?) as I used Windows reboot ...
1
vote
1answer
15 views

GRUB selection menu is working, but not visible

I just finished a Manjaro/Windows10 dual boot set up on my Thinkpad W541, but then I ran into a strange problem. Whenever I boot up the system, instead of the GRUB menu showing up, it's stuck at the ...
21
votes
6answers
144k views

grub-probe: error: failed to get canonical path of /cow

I'm trying to re-install grub from a USB drive. I run the following: sudo mount /dev/sda6 /mnt sudo grub-install --root-directory=/mnt /dev/sda I get the following error: grub-probe: error: failed ...
0
votes
1answer
2k views

how to repair uefi boot option

I somehow erased all the boot options in my bios (maybe caused by some operation using super-grub disk). I have tried to fix my grub using boot-repair live-usb. After performing recommended repair and ...
3
votes
1answer
574 views

Signing grub for secureboot uefi: Secureboot forbids to load module (memdisk)/boot/grub/x86_64-efi/normal.mod

While trying to setup secureboot in custom Debian based system, grub is not loading if SB is on. I'm using shim (signed by MS) as first stage bootloader. Now I plan to use MOK to sign grub2 and ...
1
vote
0answers
20 views

Androidx86: /android-8.1-r6 not found

I'm new to linux and changing OS from computers, I wanted to have Lubuntu and Androidx86 in dual boot so partitioned the disk accordingly, both OS where installed but android86 didn't appeared in grub,...
0
votes
1answer
1k views

How to change linux text mode resolution? GRUB_GFXMODE didn't help

After I set GRUB_GFXMODE it affected GRUB menu and some of subsequent printouts, but in the middle of boot, text becomes very small again and I still want to make resolution smaller. Where else the ...
3
votes
4answers
19k views

System unbootable - grub error: disk lvmid not found

I'm gettind this error at boot: grub error: disk 'lvid/caoMWu-o417-GMgh-6vFj-1qrw-iJMi-ypwm0f/Z2eotR-N0HN-nrol-3hUd-odMB-GzHy-4PrsnL' not found. Entering rescue mode.. I can't even get the ...
1
vote
1answer
2k views

Error :hd1,gpt2 not found

i hv windows 8.1 and linux both in my computer.but when i tried to get into windows it wasn't showing me anything after a long wait ,also in Linux i got some errors related to grub.so i uninstalled it ...
1
vote
0answers
20 views

How can I run a Manjaro ISO from a LUKS encrypted root using Grub

My / including /boot is one fully encrypted LUKS partition, I want to reinstall Manjaro but I can't seem to get Grub to find the initramfs with whatever I try, which makes sense because I haven't ...
2
votes
1answer
2k views

grub-install on hybrid mbr disk

I followed the very detailed guide for making hybrid MBR record (GPT/MBR) taken from here Now, gdisk says I have hybrid mbr. But I can only boot in UEFI and cannot do that in BIOS (I use external ...
4
votes
1answer
8k views

How to fix a very broken grub?

I have a very broken Fedora 22 install. Everything was working absolutely fine until I decided to dual boot F22 and Linux Mint MATE. I had Fedora installed on an SSD, and I installed LM on a ...
1
vote
2answers
30 views

Unlock GRUB bootloader password remotely

Is it possible to unlock password protected grub loader remotely? For LUKS encrypted disk, I can unlock using dropbear-initramfs package installed in Debian in which dropbear will run a custom ...
69
votes
16answers
432k views

GRUB starts in command line after reboot

I installed Linux Mint on my laptop along with a pre-installed Windows 10. When I turn on the computer, the normal GRUB menu appears most of the time: But after booting either Linux or Windows then ...
1
vote
2answers
63 views

How should I enable discard and no workqueue for LUKS in Arch/Manjaro

So I've read the wiki and this answer, and I'm still a bit overwhelmed. In the wiki it feels like a lot of these are optional. Here's what I did. I used Manjaro to install into a single partition, ...
0
votes
0answers
15 views

Dual boot windows 10 suddenly stopped working

I had a nicely working dual boot setup with the factory Windows 10 that came with my computer and Ubuntu 20.04. However, suddenly the Windows stopped working with this error: Error: file /efi/...
0
votes
1answer
1k views

Dual booting ubuntu and manjaro: manjaro only boots in initramfs fallback kernel

I had ubuntu installed on my machine and dual booted manjaro. Once installed, manjaro wasn't showing up in the grub so I ran update-grub. Now manjaro shows in the grub, but is only able to boot in ...
2
votes
1answer
3k views

grub2 cannot see filesystem on alternate /boot partition

I have 2 (soon to be more) independent OSes. Right now it is just CentOS 6.6 and 7, but will be adding several more. I can boot CentOS 7 cleanly, but 6.6 will not boot. The error is: error: no such ...
0
votes
2answers
1k views

Fedora 24 USB Live Install ends with black screen

Just bought a new computer and assembled it today. Then as always I installed windows for all the graphic needs (Photoshop and Co) and now I wanted to install a dual boot with Fedora 24. Made a new ...
2
votes
1answer
2k views

CentOS 7 stuck at grub prompt after upgrading Kernel

I tried to upgrade the Kernel using YUM and when I ran [root@AFIBAMBOO bin]# grub2-mkconfig -o /boot/grub2/grub.cfg No path or device is specified. Usage: grub2-probe [OPTION...] [OPTION]... [PATH|...
1
vote
1answer
1k views

grub will not boot new kernel

For some time back I installed Linux mint 17 on my desktop machine, which is a dell studio 540. During the installation process, I did not have any internet connection, because my wireless card needed ...
1
vote
2answers
61 views

How to restore grub after cloning hard disk for a dual boot laptop

I had a dual boot (Windows/Linux Mint) laptop with a 500GB SSD, and replaced the SSD with a 1TB SSD using the procedure described below. When I reboot, it boots directly into Windows, without grub ...
2
votes
1answer
4k views

GRUB won't boot windows 10 in Dual Boot install

I've installed Elementary as dual boot with Windows 10 but cannot boot Windows 10 using GRUB. It loads fine if I change boot order in my UEFI on motherboard. Looked at and tried so many solutions ...
1
vote
1answer
1k views

grub2 lvm2 raid1 /boot

Is it possible to boot from a system where /boot is located within an lvm2 raid1 partition. I've tried a variety of configurations, but I have yet to discover how to do it. I am using two 2TB disks. ...
1
vote
1answer
1k views

How to install Grub on SD card?

I want to install grub on SD card because my laptop don't boot from external sata port. I've the SSD connected to the laptop through the external port sata to make it easier for me to boot the ...
1
vote
2answers
3k views

Working acpi kernel options for Asus FX503VD?

On kernel version 4.15.0-sabayon, the only way to load X is with the kernel options: acpi_osi=! acpi_osi='Windows 2009' (and acpi=off but that's radical and leaves me with no sensors). Otherwise I ...
1
vote
1answer
2k views

How to fix/reinstall grub from debian media, e.g. rescue mode?

How can one invoke grub-install from the debian netinst image? Or, does one need the live cd. (Situation: two disks: one degraded btrfs raid 1, another a blank disk I can install a new OS on, but ...
1
vote
1answer
1k views

GParted Live on Hard Disk with Ubuntu

Edit Please note that I fixed the original problem of not booting, but I still can't get it to run X-windows after being prompted for language, input, and display resolution. Original question I read ...
0
votes
1answer
391 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 ...
4
votes
2answers
2k views

How can I install GRUB to a different folder than /EFI/ubuntu?

How can I invoke grub-install from Ubuntu in a way that it installs its files to a custom directory and not, for example, to /EFI/ubuntu? Every method I try ends up (still) putting some .efi and .cfg ...
1
vote
2answers
2k views

GRUB fails to install to NVMe SSD - Debian Jessie 8.6

I'm getting essentially the same error as in this question except when I try to do the proposed solution, at this step: grub-install --target=x86_64-efi /dev/nvme0n1 I get this error: grub-install: ...
0
votes
1answer
43 views

/usr/bin/grub-probe: error: failed to get canonical path of `/'

I'm trying to install GRUB from a live USB onto a different drive. While grub-install works fine, grub-mkconfig -o /mnt/boot/grub/grub.cfg (/mnt being the mount-point of the drive I'm installing to) ...
2
votes
2answers
2k views

How to set default GRUB configuration file

I am booting four operating systems: Windows 7, Ubuntu, Kali Linux, and Linux Mint. They were installed in that order, with Linux Mint most recently and Windows 7 first. I am able to edit the /etc/...
0
votes
1answer
2k views

How to change grub black screen

I'm using dual boot Linux Mint 17.1 Cinnamon and Windows XP. So I want change grub2 black screen and I've tried to install gfxmenu theme for grub but it is not working; I see it's not installed in ...
1
vote
3answers
18k views

Installation Error : Unable to install grub on dev/sda1

I'm installing Ubuntu 18.04 LTS on a Dell Inspiron 5559 with 1 TB HDD where WIndows 10 is already installed, hence it's a dual boot. I have set up a Ubuntu bootable USB drive and booted Ubuntu in UEFI ...
1
vote
1answer
63 views

Configure grub2 to use a keyfile to unlock luks encrypted / and /boot

I'm using openSUSE and want to use full disk encryption and a USB device with a keyfile to decrypt the system. My whole system is encrypted in the same LUKS container (including /boot). Because /boot ...
0
votes
1answer
1k views

GRUB cannot mount ext4 logical partition

I am trying out different GNU/Linux distributions and I have several partitions on my disk, namely: /dev/sdc1 - primary, 83, ext4 /dev/sdc2 - primary, 83, ext4 /dev/sdc3 - primary, 82, swap /...

1
2 3 4 5
31