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.

-1
votes
2answers
22 views

Grub drops into rescue shell

I have both Linux and Windows installed on the same disk. Recently I decided to switch to a different Linux distribution. Since then Grub fails and drops into the rescue shell. I found out online that ...
1
vote
4answers
78 views
+100

Emergency mode after adding partitions and installing another Linux distribution

I had Linux Debian installed onto my computer. My partition table was as follows: sda1: __________________________________________________________________________ File system: vfat Boot sector ...
1
vote
1answer
35 views

What's the best way to automatically edit GRUB configuration after boot?

I am using a dual boot setup of Arch Linux and Ubuntu. GRUB is installed on the Ubuntu partition and this leads to unwanted changes to grub.cfg after installing updates from within Ubuntu (...
0
votes
0answers
16 views

Linux Mint 19 vfio PCI-Passthrough call causes freeze when booting

Goodday, For PCI-Passthrough I need to enable IOMMU support from the BIOS on my motherboard. After that I need to tell Grub to enable IOMMU by adding: intel_iommu=on into /etc/default/grub's ...
0
votes
0answers
47 views

Fresh Arch install - Boot gets stuck at 'Loading initial ramdisk'

I'm trying to install Arch with LVM encryption on my HP Spectre x360. These are my installation notes. I tried doing it these three ways Using window's EFI part so here the EFI partition is ...
1
vote
0answers
71 views

Can't boot on Win10 with dual-boot Fedora 29 + Win10 (both encrypted partitions)

Did install Fedora 29 on a different partition than Win10, usual dual boot configuration that I already used a good number of times. The new parameter is that I use encryption on Windows system (...
1
vote
1answer
33 views

Is it possible to boot from one GRUB installation to another GRUB installation?

For example, I have one main GRUB installation, and I want to have a menu entry in there that boots me into a second GRUB installation. This is probably an XY problem. My main GRUB installation doesn'...
0
votes
1answer
67 views

Keep kernel files in different directories

Is it possible to copy standard vmlinuz-3.10..... kernel file to another directory, rename it and load it during booting the system? I'm on CentOS7 and I have a class task. "Copy vmlinuz-... and ...
0
votes
1answer
17 views

Grub2 is showing filesystem type instead of partition content

I tried to list partition with ls (hd1,gpt7) command and I got filesystem is btrfs output instead of partition content. What am I doing wrong?
0
votes
0answers
17 views

Configure Grub Option to Boot With iGPU or dGPU

I'm running Manjaro 18 KDE and I've configured it to use the optimus-manager, and it works quite well. However, I find it a nuisance to have to log back out when I want to switch to the other Graphics ...
0
votes
3answers
208 views

Install Grub when ssd is hd1

I have a Dell G3 17 3779 laptop. It has sata HDD as hd0 and m.2 ssd as hd1. Both in GPT. I deleted everything in the ssd and installed Windows 10. I used 4 partitions: Windows recovery ...
0
votes
2answers
73 views

I can't make a GRUB config

A few weeks ago, I accidentally updated my kernel, and out of nowhere I got these strange pixelated lines all over my screen. So, I decided to try and use the linux-lts kernel. But, when I tried to ...
0
votes
1answer
39 views

grub2 no such device (Win10 / Fedora)

I have Win10 installed on a nvme drive. I have installed Fedora 29 on another ssd with LVM. When grub boots, it shows Fedora & Windows 10 on the list, as it should. But starting with Windows ...
0
votes
0answers
18 views

grub2-mkconfig creates grub2-efi.cfg different from the existing one, but why?

On Fedora 29 on a machine with UEFI hardware. Trying to generate a new /etc/grub2-efi.cfg. Dry run first! Change nothing in /etc/default/grub. (Actually wanted to remove rhgb quiet from the ...
0
votes
1answer
65 views

How to move my Linux installation /boot/ and other important parts to SSD

i was using dual boot system with mint and windows 10(on separate SSD). I simply dont want Windows anymore and deleted all windows related boot and data from my SSD with gparted. Now it sits ...
3
votes
1answer
42 views

Clone Debian installation

I want to clone an existing Debian installation and restore on a new machine with a hard drive of different size. The partioning is very easy - /dev/sda1 for EFI, /dev/sda2 for Linux and /dev/sda3 ...
1
vote
1answer
98 views

How to boot linux kernel from network through GRUB2 console?

My test hw, on which I want to boot, is MinnowBoard Max Turbot which is an x86 machine with UEFI and so far, I have successfully built GRUB2 from source and it successfully boots kernel from USB. ...
1
vote
3answers
118 views

Drive won't boot from its Grub, but will from another drive's Grub, after cloning, why?

It was a month ago, so if you ask me on details, I might still remember, but better act on information that can be given as of now. Due to the lack of time, I did not ask for help here. I have cloned ...
1
vote
0answers
37 views

Rename LVM group and volumes

I'm trying to rename my LVM group and volumes. The setup looks as follows: Primary: Windows Primary: /boot Logical: LUKS encrypted container LVM group (named bread-lvm) LVM volume / (named bread-...
1
vote
1answer
54 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 ...
1
vote
2answers
76 views

Bootloader installation failed

I am trying to install Debian in ASUS P2440UA laptop. Previously I was using Windows 7 and Linux Mint in dual boot without any issue (for 6 months). But I decided to format whole hard drive and ...
0
votes
0answers
25 views

Multibooting with LVM

Can Linux and/or Unix operating systems be booted from logical volumes inside of an LVM partition? Can they reside together in the same volume group, i.e., multiple Linux and BSD distros, each in ...
1
vote
2answers
124 views

Using grub to properly boot from an external backup drive

edit: I think I solved my own problem -- see bottom of question for details I have a copy of all the files under / on an external usb-connected harddrive. To test whether this backup works, i'm ...
1
vote
2answers
67 views

Grub menu wont show up after I did dual boot [duplicate]

I did a partition after uninstalling ubuntu and now that I installed kali linux it doesnt go into grub, it just goes directly into windows. I dont have the option to boto into kali linux, grub menu ...
2
votes
1answer
94 views

linux command fails with alloc magic is broken at 0xXXXXX

I have problems booting into my MacBookPro9,2 I have Ubuntu 18.04 LTS. When I try to boot manually I can set the root to (hd1,3) which is the partition I have for Ubuntu. I can’t proceed to boot ...
0
votes
0answers
76 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
233 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
376 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 ...
1
vote
0answers
72 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 ...
0
votes
0answers
13 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
49 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
39 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
54 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
48 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
19 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
36 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
190 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
108 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
106 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
250 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
134 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
101 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
40 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
312 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
41 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 ...
1
vote
1answer
42 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
174 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 ...
-1
votes
1answer
36 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
278 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). ...
1
vote
1answer
173 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 ...