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.
166
questions
2
votes
1
answer
279
views
Are my EFI partitions mutually bootable? How to interpret the output of efibootmgr -v
I have two GPT formatted disks both starting with EFI partitions and followed by a single physical raid partition. I installed ubuntu-server 16.04 with software raid over these two raid partitions and ...
0
votes
1
answer
2k
views
Ubuntu 18.04 server failed grub install
I am trying a fresh install of Ubuntu 18.04 server, without an internet connection (not Live) on my Dell PowerEdge R640. The machine came with a Boot Optimized Storage SSD (RAID 1), which is where I'm ...
0
votes
1
answer
3k
views
Centos server gets stuck on grub prompt
I have a server on OVH with Cpanel which has 2 x 2TB partitions and its lsblk command output looks like this. http://prntscr.com/nz4xd2
A few days back I ran some upgrades and after rebooting my ...
2
votes
2
answers
1k
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
1
answer
1k
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 ...
1
vote
2
answers
2k
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
1
answer
882
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
0
answers
210
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-...
2
votes
1
answer
2k
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 ...
1
vote
2
answers
3k
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
1
answer
644
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 ...
2
votes
2
answers
7k
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
0
answers
984
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
...
1
vote
0
answers
931
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
1
answer
233
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 ...
0
votes
2
answers
2k
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 ...
0
votes
2
answers
2k
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
1
answer
771
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, ...
2
votes
0
answers
697
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
1
answer
370
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
1
answer
289
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
1
answer
552
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
0
answers
528
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) ...
-8
votes
1
answer
1k
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
1
answer
34
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
1
answer
8k
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 ...
7
votes
3
answers
3k
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 a ...
1
vote
1
answer
2k
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
0
answers
2k
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
1
answer
2k
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
1
answer
116
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
1
answer
470
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
1
answer
451
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 ...
1
vote
0
answers
361
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
0
answers
846
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
2
answers
1k
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
0
answers
2k
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 ...
4
votes
1
answer
2k
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 ...
3
votes
1
answer
3k
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:
...
2
votes
1
answer
2k
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 ...
2
votes
2
answers
7k
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
1
answer
2k
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.
2
votes
2
answers
3k
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
0
answers
941
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
1
answer
3k
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
1
answer
5k
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
0
answers
498
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 ...
2
votes
1
answer
406
views
Setting bootloader password in EL7
Using this guide I am attempting to add a bootloader password to a CentOS7 install.
When prompted, enter the password that was selected and insert the
returned password hash into the appropriate ...
0
votes
1
answer
186
views
OpenSUSE Xen installlation is not in Grub 2
I'm sorry if this is a duplicate but somehow serverfault search action didn't work with my browser.
I have a functional recent OpenSUSE Tumbleweed installation and I want to turn it into a hypervisor....
0
votes
1
answer
3k
views
WDS&PXE booting using Grub2 - choosing menuentry
I have problem with booting to WDS using PXE with Grub2. Actually we are using WDS with DHCP (Windows) - on DHCP I have WDS IP and 'grldr' file as bootfile name (grub loader) with menu.lst file (on ...