Stack Exchange Network

Stack Exchange network consists of 175 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]

GRUB (GRand Unified Bootloader) is a bootloader package to load operating systems. GRUB2 is a rewrite, and the dominant version since 2009.

0
votes
1answer
21 views

Grub incorrectly escapes $ character in its settings

Not sure where I make mistake but I can't escape $ correctly in /etc/default/grub. I'm on Ubuntu MATE 18.04. This is what I do: In console I edit confid by calling sudo mcedit /etc/default/grub I ...
0
votes
1answer
28 views

Auto-assemble RAID1 Array with mdadm on CentOS 7.6

I'm new to this particular area of the Stack Exchange network so please be kind. We are experiencing issues with auto-assembling a RAID1 Array created with mdadm on CentOS 7.6, and no matter what we ...
0
votes
1answer
570 views

CentOS7 not booting after “yum update” mokListRT fails

I updated CentOS 7 via yum update Didn't know about shim and mokutils so didn't exclude that from yum. Now I can't boot it, I can recover the files on it using another live distro (e.g. ubuntu), but ...
0
votes
1answer
27 views

Grub stuck at menu until I connect to console using VNC

I installed an Ubuntu 16.04 Server virtual machine on FreeNAS. Everything works as expected, except GRUB. When I reboot the machine with sudo reboot, it does not boot automatically. Every time I have ...
0
votes
0answers
24 views

Editing /boot/grub/grub.conf not recommended - yet how do you then change entries?

For example, our /boot/grub/grub.conf looks like this: ## ## End Default Options ## title Debian GNU/Linux, kernel 3.2.0-4-amd64 root (hd0,0) kernel /boot/vmlinuz-3.2.0-...
0
votes
1answer
233 views

How to fix “Setting up grub-pc” freezing during apt-get upgrade?

I have a packer script that builds up a virtual image using Ubuntu. The script today started getting stuck during apt-get dist-upgrade on amazon-ebs: Setting up grub-pc. I found many people on the ...
0
votes
1answer
247 views

What are the steps to convert an EBS boot volume from MBR to GPT without data loss? (Using Ubuntu)

I would like to extend one of my Ubuntu servers main/boot drive beyond 2TB. I know that I need to convert the drive to use GPT, and I'm confident that I can extend the size as needed once I'm able to ...
0
votes
1answer
65 views

GRUB2 Not Loading from MBR

I have a new computer that I have imaged using PXE. It loads a kernel, initrd and verifies if it needs to apply an image. If it does, it goes through some logic of partitioning (BIOS, non-GPT) the ...
0
votes
1answer
133 views

I deleted all the contents of /boot and now server is not booting

I did something stupid. My thinking was that /boot directory is empty and contents come to /boot each time the computer starts. My /boot drive was giving me error messages no space left so I thought ...
0
votes
0answers
232 views

grub2-mkconfig not working

I've updated the /etc/grub.d/40_custom for a custom menu entry as follows: menuentry "My OS"{ rootnoverify (hd1,0) chainloader +1 } I run this command: grub2-mkconfig –o /boot/grub2/grub.cfg ...
0
votes
0answers
41 views

Need a Grub Fix

I am running Fedora 27, but you wouldn't know it from this output: # cat /etc/os-release NAME=Generic VERSION="27 (Generic)" ID=generic ID_LIKE=fedora VERSION_ID=27 PRETTY_NAME="Generic 27 (Generic)"...
1
vote
0answers
361 views

Debugging boot loop after Ubuntu 18.04

I recently did a kernel update on a s2600cp server running Ubuntu 18.04. When booting into the latest installed kernel version from GRUB. My monitor displays a blinking cursor in the top left corner, ...
0
votes
1answer
21 views

linux/grub2: capturing boot errors for later analysis?

I'm running grub2 under my 4.15.0-30-generic x86_64 linux system. Every time I boot and select this system's entry in the grub menu (or any other system's entry), a screen or two of logged bootup ...
-1
votes
2answers
439 views

Sequence of Windows OS files read at the time of installation

I am installing Windows 10 OS through Ubuntu based Clonezilla Server in PXE UEFI mode. I need to add the windows os provision into the server using grub.cfg for clients deployment. I added the windows ...
-1
votes
2answers
224 views

Boot Linux in UEFI on a LSI card using GRUB2

Before this question is marked as a duplicate of 'Just installed LSI 9211; no drives showing up to Linux' or anything similar: No. My problem was with the UEFI firmware being unable to boot from the ...
0
votes
1answer
44 views

Grub2 fails to detect partitions if it was installed into file

I'm trying to prepare an image that I can dd into disk or boot using PXE. Some context: I create an image, partition it using sfdisk (MBR), create loop devices for the whole disk and main partition, ...
0
votes
0answers
76 views

Can /boot/efi partition causes issues for kernel boot?

I have a fresh installation of CentOS 7 on a server. I have manually partitioned system and, per installer suggestion, I have created /boot/efi (never asked for that before). After the installation ...
1
vote
0answers
158 views

Can't find (inactive?) LVM (with root FS) on boot

I'm running a Linux Server using ArchLinux, mostly for my own development needs. It runs Arch Linux on a SW-RAID1. There's two disk drives sda and sdb, each with 3 partitions sda1-sda3, sdb1-3. SDA1+...
0
votes
0answers
110 views

grub-mkconfig -o would not update grub.cfg

Problem is that when I want to generate grub.cfg to load Xen kernel it just ignore the priority set at /etc/grub.d/. As far as I know grub-mkconfig should put 10_linux_xen in the grub.cfg but it ...
0
votes
0answers
45 views

grubby - remove one of multiple existing args

I got the following Problem: To boot my RHEL7.5, i have the following arguments in my /etc/grub2.cfg: index=0 kernel=/boot/vmlinuz-3.10.0-862.el7.x86_64 args="[...]rd.lvm.lv=system/lv_root rd.lvm....
0
votes
0answers
51 views

Shell provisioner in Packer cannot set the default boot option in grubenv after installing a new kernel

I'm using Packer to build some CentOS 7 VM's. A part of this process is installing Linux Kernel ver. 4.15. Installing the Kernel has been pretty straightforward but getting the VM to recognize the new ...
0
votes
1answer
209 views

Grub2 after Upgrade to Fedora Server 27

I upgraded to F27 and went to emergency shell after reboot. After hours with google and experimentation, loaded recovery from install CD, found OS image and copied /usr/lib/os-release to /etc/os-...
1
vote
1answer
80 views

Find out exact location of GRUB / GRUB not working after copying disk image

I prepared an Ubuntu server image with VirtualBox. To transfer the image to the server's SSD I first dded the MBR (512 bytes) and then the LVM partition (PV containing the root partition shrunk to 3GB)...
0
votes
1answer
145 views

CentOS 7 ignores saved_entry in grubenv

I recently updated my kernel, but the system keeps booting into the old one. I checked /boot/grub2/grubenv and the only entry is saved_entry pointing to my new kernel. However, whenever I reboot it ...
0
votes
0answers
294 views

grub2 RAID1 disk failure - unable to boot

Background I am setting up a server with software RAID1. This includes the /boot partition being mirrored (mapped to md0). My aim is that if one of the two hard drives containing the OS (sdc and sdd) ...
-9
votes
1answer
172 views

How big is grub2?

Due to "Meltdown" I am in the progress of moving our CentOS7-XEN-PV-DomUs to HVM mode. See here on why I need to migrate to HVM This involves installing a bootloader - unnessesary on PV-DomUs, since ...
0
votes
1answer
21 views

Updated grub 2 config when win10 is updating, cannot continue update now, how to fix it?

I have win10 and fedora 27 on two different hard disks, and I use grub 2 as bootloader. Today win10 autorestart to update, and my default boot system is fedora, so I enter fedora to change grub 2 boot ...
1
vote
1answer
3k views

How to change grub2 in CentOS/RHEL7 from UUID to old style device?

With CentOS/RHEL 7 there are a couple of changes (compared to CO/RHEL 6). One of it is the use of grub2 instead of grub. Per default the OS seems to use a UUID to "find" the boot-device. Is there an ...
0
votes
0answers
251 views

Grub2 Does Not Recognize Filesystem on Fresh CentOS 7 Install

I'm installing CentOS7 on a Dell r510 server with UEFI. There is RAID 10 setup on it via a PERC 6i RAID controller. The proper drive space seems to be recognized with CentOS without issue, and is ...
7
votes
3answers
803 views

GRUB hangs before menu, after a HDD upgrade. How to debug?

I have a problem on a server with 4 x 1 TB drives running Debian wheezy and GRUB 1.99-27+deb7u3. sda and sdb have partitions mirrored using (Linux software) RAID1, including /boot. sdc and sdd have ...
1
vote
1answer
848 views

dracut: Switching root

After my hosting company did some changes (no technical description for them) I got the following boot error for my CentOS: What I must do to get my servers up! I tried to ask for support at the ...
1
vote
0answers
521 views

WDS + GRUB2 UEFI: most menu items not working

We are using WDS to deploy operating systems to several types of machines. As per this small guide, I got the UEFI clients to boot grub, but most of the menu items aren't working. When highlighting a ...
4
votes
1answer
222 views

GRUB_DEFAULT seems to be ineffectual when trying to boot a custom kernel by ID on Debian 8

I've built a custom kernel on a Debian 8 machine, and I want to set it as the default. A seemingly simple task, but I can't get it to work for the life of me. I built my kernel using the official ...
0
votes
1answer
54 views

Debian Jessie Kernel won't install, could be a grub2 issue?

I have an issue with one of my xen VMs that I would like resolved doing apt-get install -f shows following. Can anyone help me make sense of this? Reading package lists... Done Building dependency ...
0
votes
1answer
262 views

How to pass an ignition.json to a Xen CoreOS DOMU when using libvirt or `xl`

I have a baremetal server with Xen, and Debian 9 as DOM0. This server has libvirt, and I can happily create PV domains by using xl, virsh or remotely using virt-manager. I want to streamline coreos ...
0
votes
1answer
185 views

How can I get grub2/opensuse boot process to ignore raid partitions on non-primary disks?

I need to find out how I can get grub2/opensuse boot process to ignore raid partitions on non-primary disks. I have system with /dev/sda and /dev/sdb which are primary disks which boot UEFI from grub2 ...
0
votes
0answers
137 views

How to diagnose why Grub won't boot a Windows partition?

I just imaged a Windows partition onto a new drive with dd. Then I changed the NTFS UUID to a new one. Then I ran update-grub (using grub2) and restarted. Now there is a new menu entry in the Grub ...
1
vote
0answers
446 views

Problems with grub with our RAID10 Ubuntu installation

We have a Dell PowerEdge R730xd with 24 SSDs of 500GB each. We need to install Ubuntu 14.04 LTS on this machine, and use it as a database (postgresql). Our RAID controller is an Avago MEGARAID, and ...
0
votes
2answers
610 views

Grub fails to boot my barebone Arch BTRFS setup

I'm not sure what I'm doing wrong. I basically used the latest arch linux live disk in a VM (Linux KVM), booted the latest arch linux live disk in a VM (Linux KVM on Arch) made a single partition ...
1
vote
0answers
821 views

Debian 7 can not boot, grub rescue show error: out of partition

Debian 7 amd64 running in VirtualBox 5.0.10, on Windows 8.1 ent x64 host. This VM running more than 1 years. Use basic partition, NOT LVM or any Raid. Today it's suddenly auto umount all disk, and ...
5
votes
1answer
809 views

kickstart over HTTPS only

Background: Kickstarting RHEL7 on powerppc (IBM pSeries) So I've kickstarted unattended for years, and had to use yaboot, NFS, etc. for kickstart in the past. Trying to modernize now. I have a ...
2
votes
1answer
2k views

Install debian 8 on a LVM Volume with Type RAID1 GRUB2 cant find volume group

Hello Community! I tried the whole day long to setup up an LVM type Raid1 Volume on Debian 8.5, but the Server is not be able to boot from it. First of all here is the error i get from GRUB2: ...
0
votes
1answer
418 views

Why does my server not boot after moving root fs, inside LVM, to raid?

I'm trying to move my root partition to raid based physical volumes, and I seem to be failing. The procedure I'm using is somewhat complicated, but that's because my hosting provider has very limited ...
1
vote
1answer
3k views

Restore GRUB2 after Clonezilla

After restore from clonezilla backup, grub2 is broken. I see "GNU GRUB minimal BASH-like line editing is supported..".. I have one HDD, with two partition (/boot , and /) default settings How do I ...
0
votes
1answer
632 views

Add menu entry in grub2 for os on btrfs partition

How can I add a menu entry in grub 2 for an os on a btrfs partition? Currently update-grub does not detect an os on a btrfs partition.
1
vote
2answers
2k views

Centos grub bootloader missing after installing windows 10 [closed]

I first installed CentOS 7 on my laptop, 2nd I installed Windows 10 in same hard disk with different partition, but I couldn't get my Centos 7 info in windows boot loader. I tried easyBCD tool to get ...
2
votes
0answers
470 views

How to validate grub boot environment parameters with grubby

I am updating grub parameters in RHEL 7.0 with grubby command using /usr/sbin/grubby --update-kernel=ALL --args='isolcpus=14-24' followed by /usr/sbin/grub2-install /dev/sda and reboot I very well ...
1
vote
1answer
2k views

Bootloader password - existing content found in /etc/grub.d/01_users

I need to set a bootloader password and am apprehensive about changing the existing config (per warning about potentially making a system unbootable). RH documentation says to add the following lines:...
1
vote
1answer
3k views

How to remotely initiate netinstall of CentOS 7?

I've got 50+ machines running either CentOS 6.4 or 6.8. I wish to re-install these machines with CentOS 7 using a configuration script (for example using the "basic server" template and setting ...
1
vote
0answers
292 views

Problems installing software on AWS EC2 instance (Debian 7.8 'hvm')

After some issues due to the lack of support in required kernel for the network card in my machine (though I'm aware of how to compile the driver for my card, I don't want to do that, based on some ...