Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [grub2]

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

0
votes
0answers
15 views

Unable to boot into Ubuntu 18.04

I have a MacBook Pro 2012 on which I had Sierra installed. I partitioned my Samsung 1 TB SSD to dual boot into Ubuntu. When I installed Ubuntu, grub2 seems to have overwritten Apple’s bootloader. ...
-2
votes
0answers
13 views

Grub2Win Entries for ext4 Linux Systems [on hold]

I run a Dell XPS 8700 Desktop with a Windows OS as my main, and I am interested in the various linux distros out there, mainly android x86 and its LineageOS counterpart. To this, I have 2 HDD's in my ...
0
votes
0answers
43 views

GRUB2 won't install into MBR from chroot

I got a blank screen after the "Welcome to GRUB" greetings. I ran grub-install and grub-mkconfig from a chroot, but still couldn't get to the GRUB menu. Because of the setup (former dual boot with ...
2
votes
1answer
49 views

How to create a GRUB entry for a FreeBSD on ZFS installation?

To be clear what I want is a FreeBSD GRUB2 entry that boots FreeBSD on a ZFS (name: zroot) with BIOS firmware (not UEFI). The operating system GRUB is installed on is Arch Linux if it helps, Arch is ...
0
votes
0answers
13 views

Recover Fedora 28 installation (GRUB reinstall) [closed]

I dual boot Fedora and Windows 10, while working on Windows I had a Blue Screen of Death and my battery died almost immediately after, when I rebooted my laptop I was greeted with a grub prompt. Now I ...
-1
votes
0answers
13 views

Creating bootable disk.img, not detecting grub EUFI boot loader

Here is my script to generate a bootable Debian disk. #!/usr/bin/env bash set -e # Download the debs to be used to install debian. if [ ! -e "debs.tar.gz" ]; then debootstrap --verbose \ ...
0
votes
0answers
20 views

Why am I prompted for LUKS password twice after kernel downgrade?

I am using elementaryOS Juno (Ubuntu Bionic). After having issues with a 4.19 Kernel I built myself, I switched back to 4.18 (by booting the old kernel and removing the new). Since then I keep ...
0
votes
0answers
53 views

GRUB black screen appeared instead of booting Windows 10

I installed Ubuntu 18.04 from USB drive onto another USB drive (installed with USB drive formatting and encryption - does this matter?). I can boot from both USB drives but my laptop failed to start ...
0
votes
0answers
30 views

How does GRUB detect operating systems

So once stage 2 of grub has been loaded, how does it scan for OS's, I assume it will look at the VBR of every partition, but how does it know what OS the code in the VBR pertains to, there seem to be ...
1
vote
0answers
45 views

Unable to boot a compiled kernel [closed]

I am working on a project where I have start of by adding some system calls to a kernel (Linux 3.13.11 to be particular), after adding the calls and writing their prototype in the correct locations ...
-2
votes
0answers
37 views

How to fix grub error after a linux kernel panic

After a kernel panic, Ubuntu will not reboot. When restarting, system freezes with Error: failure readung sector 0x48c02 from 'hd0'. Press any key to continue..... However, nothing happened on ...
0
votes
0answers
10 views

Designing a system with the option to switch to recovery mode remotely

Background: I am managing a remote Arch Linux system, I've originally setup but now it's XFS root file-system has become corrupted at certain locations. In order to fix it, I will need to boot for a ...
1
vote
1answer
43 views

How to know the chosen GRUB2 entry? [duplicate]

Is there a file that contains the option of the GRUB2 menu that was chosen for the current boot? This question is different from obtaining the Kernel boot sequence, for example, to differentiate two ...
0
votes
1answer
22 views

Fedora 28 not showing up in Grub2 menu after installing Gnome

I have an EFI computer dual-booted with Windows and Fedora/Cinnamon. I decided to install Gnome3 on my Fedora partition, and all seemed to be going well until I rebooted my computer. Previously, a few ...
1
vote
1answer
43 views

Boot into Windows from Linux

I'm running a system with dual boot of Windows and Ubuntu 18.04 with GRUB2. By default it's booting into Linux. I've set the PC to WoL so I can wake it up remotely. What I want is to run some ...
1
vote
1answer
42 views

Why am I not able to insmod or run any GRUB commands from a Debian Stretch DVD?

I can only run the rescue, install, graphical install, and so on with boot parameters. I am not able to insmod ls or echo and I can't change/edit the initrd to some-other-file. What is it about this ...
0
votes
0answers
10 views

How to delete LUKS header from a GRUB2 menu entry?

To allow quick deletion of LUKS header, it would be useful to be able to overwrite LUKS header from GRUB2 without requiring to start a complete system. Is it possible ? How ?
0
votes
2answers
26 views

Different EFIs and Windows dual booting

I have a 4-disk setup: 240GB NVMe SSD (/dev/sdd) 120GB Sata3 SSD (/dev/sdc) 2TB HDD 3TB HDD I installed Windows on /dev/sdd which is the 240GB NVMe SSD. After installing Arch several times I ...
0
votes
2answers
44 views

grub rescue ls – no partitions shown?

I’m trying to build a custom grub menu for an UEFI Windows/Linux multiboot setup. I’ve successfully tested the menu via a USB drive, containing: /EFI/boot/BOOTX64.EFI /grub/grub.cfg /grub/x86_64-efi/...
0
votes
2answers
33 views

Failed to open root LUKS device on LVM during boot

I have LVM partitions which are encrypted using LUKS. My root partition is /dev/HDD/root: LVM group "HDD" (at /dev/HDD): Encrypted LUKS device "root" at /dev/HDD/root I'm trying to decrypt it via ...
0
votes
1answer
30 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 ...
0
votes
1answer
66 views

Changing Grub2 resolution on Linux Mint 19 / Ubuntu 18.04 / derivatives

Hardware I have a 15.6-inch laptop with a UHD display (with resolution 3840 x 2160), which is a HiDPI. 282.42 PPI = Actually, an eXtra High density display according to this calculator. System ...
0
votes
2answers
97 views

How to boot an encrypted Debian, from an unencrypted Ubuntu?

I am trying to setup a full-encrypted Debian os, alongside my preinstalled unencrypted Ubuntu. so far, I have(traditional BIOS) installed the Debian with the following scheme.. /boot as extended ...
0
votes
0answers
34 views

What does 'GFX' mean in GRUB's 'gfxterm', 'GRUB_GFXMODE', 'GRUB_GFXPAYLOAD_LINUX' names?

I know, why xterm named this way: xterm is the standard terminal emulator for the X Window System, so X + Terminal = xterm. Is there similar logic in the gfxterm name, the GRUB's graphical terminal? ...
0
votes
1answer
34 views

Windows 7 loading with messed up graphics when loading from grub

I had a Manjaro, I shrinked its partition, changed the partition table to GPT (from MBR), installed Windows 7 in the space left from shrinking. The windows boot loader worked fine. (Everything up to ...
0
votes
2answers
80 views

GRUB disappeared from Boot Menu after UEFI (BIOS) upgrade on Thinkpad X1 Carbon gen5

I have dual boot system with Windows 10 and Arch linux (with grub) installed on Thinkpad X1 Carbon gen5. I've updated BIOS from version 1.22 to 1.34. Before Update I had several options in Boot Menu ...
1
vote
1answer
30 views

How can I recover grub2 (Fedora) that has been killed by Windows 10 using Fedora-LiveUSB, on Acer laptop?

Windows 10 has killed grub2, how can I recover the grub to access to Fedora again using a Fedora Live USB?, I'm sure that i installed fedora in uefi mode, I had used for some time Fedora in dual boot ...
0
votes
0answers
81 views

Yum update + not reboot

I have a simple VPS running on centos 7.5. When i run yum update and it update the kernel the machine won't reboot because the path of root=/dev/vda1 change for root=/dev/sda1 in the boot/grub2/...
1
vote
1answer
36 views

Is there a way to load the GRUB command line from within Linux?

Title. This is primarily for educational purposes, so I don't have to keep turning my computer on and off again.
1
vote
0answers
52 views

How to increase resolution or font size of minimal CentOS install (no GUI)?

I've a minimal installation of CentOS 7 on my laptop (dell xps 15 9560). The native resolution of the laptop's screen is 3840x2160, this makes the shell's text very small. How can I increase the size ...
0
votes
0answers
55 views

Boot and Install Ubuntu with rEFInd/syslinux instead of grub

I would like to install ubuntu/lubuntu on my cheap chinese laptop EzBook Jumper 3l pro in dual boot with existing windows Grub doesn't work on those so the live-usb doesn't boot I have a USB-drive ...
-1
votes
1answer
31 views

If GRUB2 doesn't play well with my PC, will an alternate bootloader work?

I have an Acer Spin 1 (trying to run only Ubuntu), and I've read that grub doesn't work well on that machine. This seems to be true, as I have spent hours fruitlessly trying to install it after ...
-1
votes
2answers
68 views

new kali installation (EFI), I can't start on kali OS without the “super grub 2” usb key

I got a new computer. This computer works before with a multi boot (ubuntu OS, kali OS and windows OS). I wanted to erase all datas for install only a Kali linux OS (no multi boot, just only Kali). ...
0
votes
0answers
87 views

How to boot a linux system on HP Probook x360 11 G1 EE. - GRUB2 installation fail

I am looking for a method to install a linux system on HP Probook x360 11 G1 EE. Each time grub2 installation is failing. Changing security/efi boot options in bios doesn't change at all. Issue is ...
1
vote
1answer
44 views

Error “grub-efi-amd64-signed” when installing Linux

I'm trying to install Lubuntu, first with dual boot with windows, then alone, and I'm not able to install it because I have always the same error when the process are going to create GRUB. This is ...
0
votes
0answers
200 views

How to install Windows 10 and Lubuntu

I have a laptop where I have installed Windows 10 and Lubuntu for several years. Three days ago I tried to update Lubuntu from 17 to 18 and I lost Grub and finally I decided to clean the hard drive ...
1
vote
1answer
37 views

Boot option for mounting read only and run script?

I would like to make a special boot option in grub2. When this boot option is selected as a boot target, it will mount as read only (instead of the normal read/write mode), and run a script that doesn'...
1
vote
0answers
64 views

GRUB Change EFI to BIOS legacy boot mode

I need to change the boot mode of an UNIX system from EFI to BIOS. This system (Fedora Atomic Host) uses GRUB as a default bootloader. I need to change the bootloader to BIOS, because I want to ...
1
vote
1answer
62 views

How to specify multiple schedulers on the kernel boot command line?

We have systems with both spinning mechanical disks, and NVME storage. We want to reduce the CPU overhead for IO by taking any IO scheduler out of the way. We want to specify this on the Linux boot ...
0
votes
0answers
21 views

Kali OS Update turns GRUB into a Terminal [duplicate]

A little while ago, I installed Kali Linux 2018.2 on my laptop via USB. I had to do some tweaking to fit my needs, but overall it worked fine. However, recently I got a notification from the Software ...
0
votes
0answers
46 views

How can I decrypt a partition, mount it, and decrypt others during boot?

I have a custom setup: /dev/sdb is the main usb: 1: EFI Partition 2: encrypt LUKS1 FAT32 /boot 3: encrypt LUKS1 ext4 / 4: encrypt LUKS2 ext4 /home Others not important /dev/sdc is another usb key: ...
0
votes
1answer
120 views

How to copy files with grub console?

I have a notebook which can't boot up Ubuntu and I want to copy all of the files to an external hard drive with USB connection to save them. After I want to install a new Ubuntu to the notebook, how ...
3
votes
1answer
81 views

Why grub-mkrescue doesn't accept the “--core-compress=xz” option?

Is lack some package or lack some other options? or just a bug of grub-mkresuce? Is some example for the --core-compress= option? $ grub-mkrescue --core-compress=xz --compress=xz -o grub.iso ./iso ...
1
vote
1answer
85 views

Linux 'Mint' Boot Problem

I'm new to linux based systems i guess mint is based on ubuntu. I hope it's a right place for this question. I have a old laptop and it was really slow so i decided to install mint. I have single ...
-2
votes
1answer
225 views

update-grub vs. grub-install?

Some examples found online say that update-grub should be run AFTER grub-install. Others reverse the order. Which is correct? If I have two Linux installations (one on sda and one on sdb), if I run ...
1
vote
1answer
62 views

After windows install, Fedora no longer boots up. Getting error: file '/vmlinuz' not found found. How do I fix the boot?

I had to install Windows 10. Because I was having difficulty with the install, I unplugged the first two of my drives (which had Fedora data). So with only one hard drive plugged in, I was able to get ...
0
votes
0answers
28 views

How setup keyboard layout in GRUB2 Shell with sabayon

I have an Italian keyboard and I want setup the right keyboard layout in grub shell. I found many tutorials online that make use of grub-kbdcomp or grub-mklayout, but those commands doesn't works on ...
1
vote
1answer
143 views

Convert a Ubuntu BIOS install to EFI/UEFI in USB stick

I have a linux installation (full installation not live) in a USB stick. When I set it up it uses BIOS to boot but now I need to change it to UEFI because some newer machines only boot in UEFI. I ...
1
vote
2answers
104 views

how to stop Linux from rebooting after a panic while booting

While trying to load the latest CentOS 7 (kernel 3.10.0-862), the system panics during the boot. It prints out what I hope is useful information then clears the screen and reboots. It turns out that I ...
1
vote
1answer
42 views

Bootable USB with windows in it fails to load on Ubuntu [closed]

My Current Problem:- *I have ubuntu 18 as my OS and when I try to boot from a USB containing windows 7 bootable hoping to dual boot my system, it fails to boot from USB and loads my Ubuntu after ...