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
1
vote
0answers
65 views

Apache2 stopped working after upgrade to v2.4 ((38)Function not implemented: AH00141)

I was happily running apache2 and mysql on a Ubuntu 16.04 server with no problems, but yesterday I noticed that there were a bunch of updates available and I installed them using apt-get. One of the ...
0
votes
0answers
13 views

How to redirect GRUB2 output to a MMIO serial UART?

Is it possible to redirect GRUB2 output to a MMIO serial UART? For example I have a UART that is displayed in a Linux boot log as: AMDI0020:01: ttyS5 at MMIO 0xfedca000 (irq = 4, base_baud = 3000000) ...
0
votes
0answers
18 views

Virtualbox not recognizing GRUB

I ripped a Linux Mint partition into a file using the dd command: sudo dd if=PART_PATH of=OUTPUT_PATH/ubuntu.bin Then I converted it into a *.vdi VBoxManage convertdd PATH_TO_ubuntu.bin ubuntu.vdi --...
0
votes
0answers
106 views

Grub2-install: warning: Couldn't find physical volume in Centos 7

After replacing the disk with raid 1, I have this problem: grub2-install --recheck /dev/nvme0n1 Installing for i386-pc platform. grub2-install: warning: Couldn't find physical volume `(null)'. Some ...
1
vote
0answers
17 views

Create GRUB Entry for Booting into CentOS Installation Media

Normally when installing CentOS 7, you download the ISO, write it to a thumb drive and boot it. However, I have a unique scenario where I'd like to be able to place the CentOS 7 installation files on ...
0
votes
0answers
51 views

How to move /boot and / to different disk

I have Debian server with multiple HDDs. /, /home/, swap and others are LVM Logical Volumes. /boot is on a small partition at the beginning of one of the physical HDDs. fstab uses UUID for /boot and /...
0
votes
0answers
40 views

GRUB2 theme looks broken after update (2.02->2.04)

Coming from Grub 2.02, and upgrading to 2.04, adding it to our TFTP server for PXE booting; I built the new grub2 image as in: /tmp/rebuild_grub/bin/grub2-mkimage -c ./grub-embedded.cfg -p '(tftp)/...
0
votes
0answers
14 views

Detect different keys on GRUB2 menu

I have a GRUB configuration that looks like the following, where I would like to detect different key inputs so I can act accordingly, but this does not work by default: echo "" echo -n &...
0
votes
0answers
31 views

Unable to debug grub 2.0.2 cisco server, Boot is not happening ubuntu

I have a cisco server having ubuntu 18.0.4 which does not have a USB port I ran to grub problem I have tried everything from setting the root to prefix none of them works. Help really appreciated. I'm ...
0
votes
0answers
108 views

How to load image with Grub

I have vendor's rescue thumbdrive, which allows to boot into specialized Linux image and remove software from failed PC. contents of thumbdrive: . ├── bzImage ├── grub │   ├── fonts │   │   └── ...
0
votes
0answers
31 views

How to pass custom variables into bash from grub?

I use a custom iso for installing linux on virtual machines on a dedicated server. My only issue is I need to recompile a new iso for every new machine because the IP and mac address change, and the ...
1
vote
1answer
1k views

Move root partition from one disk to another in Debian 10

I have installed Debian 10 on a hard disk in a partition in a logical volume(name: deb10). Now I want to move the running installation to a logical volume on a SSD(name: deb10ssd). I copied the files ...
0
votes
0answers
22 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
8 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
250 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
1answer
360 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
79 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
2k 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
83 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
132 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
2k 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 ...
2
votes
1answer
431 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
1answer
337 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 ...
1
vote
0answers
886 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
133 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
1k 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
440 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
675 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
436 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
82 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
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
1answer
2k 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
281 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
2answers
3k 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
619 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
795 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
31 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
1k 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
1k 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
472 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
0answers
425 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
306 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
168 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
285 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
437 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
645 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
6k 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 ...