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.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

GRUB2 - In read command not working backspace. delete. arrows keys

In GRUB2 I have this simple menuentry: menuentry "Ubuntu 20.04 Company Autoinstall" { read userinput linux /vmlinuz [...] automatic-ubiquity some=${userinput} --- [...] } I need in menuentry ...
0
votes
0answers
7 views

How can I relocate and resize grub editor?

I have a 1024x768 monitor that has been literally cut down to 1024x100. So the physical size of the monitor is 1024x100 but it is recognized as 1024x768. The grub menu items been located to the ...
1
vote
1answer
69 views

Auto boot degraded RAID1 on Debian 10 (Buster)

I want my server to boot without manual intervention on degraded RAID1 from second drive on Debian 10 (Buster). It boots when I detach the second hard disk but it doesn't boot when I detach the first ...
0
votes
0answers
13 views

grub/i386-pc/normal.mod not found centos 7

A CnetOS7 VM which is installed on top of ESXI is suddenly stopped booting and showing the screen as grub secure> I have tried the solution https://unix.stackexchange.com/questions/70538/grub-error-...
0
votes
1answer
31 views

Wrong grub2 prefix when booting over network

I have dnsmasq in proxy mode, serving pxe service and tftp server using this config: port=0 log-dhcp log-queries log-facility=/var/log/dnsmasq.log dhcp-range=192.168.0.0,proxy enable-tftp tftp-root=/...
0
votes
2answers
49 views

CentOS 7: small smiley face on boot?

I've got a problem with a CentOS 7 dedicated server. I've had it for years, and never had any problems with it until now. I did a yum update the other day, and then rebooted the machine, and it ...
0
votes
1answer
87 views

How to get rid of GRUB2 error “failure reading sector 0xb30 from `fd0'” on HP server

When I boot into my HP ProLiant DL120 G7 server's GRUB2 rescue shell, I get the following output: error: failure reading sector 0xb30 from `fd0'. error: failure reading sector 0x0 from `fd0'. error: ...
0
votes
3answers
69 views

unattended memtest: is it practical?

I will be building a medium scale cluster (20 nodes, expanding later) and for various reasons, using commodity hardware should give me a significant cost saving (even allowing for shorter operational ...
0
votes
0answers
148 views

Kernel panic - not syncing: VFS: unable to mount root after CentOS 7 yum update

I did a yum update on CentOS 7, and after it completed the server stopped working. I couldn't ping it, or ssh back into it. When I started the system up again, I got the finally messages on the ...
0
votes
0answers
45 views

No boot in Devuan after installation - EFI Shell

I installed Devuan ASCII on a virtual machine on VirtualBox. Installation went smooth, but after installation I get the following EFI shell See the image But any attempt to enter a BLK* device ended ...
2
votes
0answers
473 views

Booting a squashed filesystem from ISO

I am trying to create a UEFI bootable CD ISO with a squashed filesystem from a virtual machine, which I provisioned with the stuff I need. To explain: I use packer and a kickstart file to install ...
0
votes
0answers
25 views

GRUB - lvm module parameters

For some reason, grub is not "seeing" a disk that is part of a LVM array because the disk number is superior to eight - or at least, that's what I guess, since if you re-arrange the disks, and set ...
2
votes
1answer
293 views

In CentOS 7, is there a way to specify which block devices should be tuned with the scheduler (or ELEVATOR)?

In CentOS 6, there was /etc/tune-profiles/my-server/ktune.sysconfig with this text(I'm referring to the comments that explain what the code is doing): # This is the I/O scheduler ktune will use. ...
0
votes
0answers
14 views

FALLBACK logic needed for kernel Upgrade

The Ubuntu Linux system has one hard disk with three disks partition as below fdisk -l Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Sector size (logical/physical): 512 bytes / ...
0
votes
0answers
50 views

CentOS 7 and legacy grub?

Having several CentOS 7 based VPS from a provider (VMware virtualization).... I wonder why does the VM boot from /boot/grub/grub.conf and ignores settings in /boot/grub2/grub.cfg whenever I create it ...
0
votes
1answer
95 views

Centos 7 no input in grub serial console

I use serial over lan console on intel S1200V3RPL server board. It worked nicely, but filesystem got corrupted and I had to reinstall. I've setup serial console the same way,but there is no input in ...
0
votes
0answers
14 views

Downgrade to GRUB 0.97 on external drive

I am a total newb to GRUB so forgive me. I had a VCSA (vcenter appliance) get corrupted during a power outage. I was able to mount the vmdk in another machine, fsck the partition and recover it. GRUB ...
1
vote
0answers
521 views

Chainloading syslinux using grub2

I created a syslinux/isolinux hybrid CD iso to boot either legacy bios or eufi depending on what is needed. The legacy bios part works well and has worked for many years. I am using the newest (6.0.3) ...
2
votes
1answer
120 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
1answer
1k 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
1answer
581 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 ...
0
votes
1answer
190 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
422 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
2answers
1k 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
239 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
63 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
1answer
1k 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
1answer
1k 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
185 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 ...
1
vote
2answers
835 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
443 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
0answers
696 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
28 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
881 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
2answers
974 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
359 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, ...
1
vote
0answers
367 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
1answer
274 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
146 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
240 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
414 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
1answer
365 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
26 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
5k 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
3answers
1k 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
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
0answers
1k 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
437 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
63 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
331 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 ...