Skip to main content

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
1 answer
250 views

Grub showing "attempt to read or write outside of disk 'hd0'" error when running in a proxmox VM

After installing a Debian 11 in a proxmox VM (with packer), grub would fail to boot into the newly created VM showing the error attempt to read or write outside of disk 'hd0'. When installing a VM ...
toydarian's user avatar
  • 140
0 votes
0 answers
259 views

Linux network OS boot from grub bootloader ISO

I have an idea to boot the system with network files for automated installation of OS I have created an ISO with gub-mkrescure with just a grub inside it, so when it boots the grub menu will appear ...
Atif Faraz's user avatar
0 votes
1 answer
286 views

Grub2 Error grub-boot-success.service: Main process exited, code=exited, status=1/FAILURE

I'm running a VPS with Alma Linux 8.8.0 with WHM/cPanel and 60 or so users, multiple websites etc. I'm regularly seeing these in the server 'messages' log: Nov 16 11:39:01 ark grub2-set-bootflag[...
Claud's user avatar
  • 101
4 votes
2 answers
4k views

Debian 12 (bookworm): Installing a software RAID 1 fails with grub error

For a while I have been trying to set up a new server system with a RAID 1 as boot source. That RAID consists of two 4TB Harddisks. So I boot from an USB stick that I have prepared with the ...
LudgerH's user avatar
  • 43
1 vote
0 answers
556 views

How to use grub as netboot menu with ipxe?

I am setting up a small office’s netboot solution. I have the machines configured to pxe boot an initial ipxe.efi nbp with an embedded ipxe script to chain request against a matchbox server for my k8s ...
vox.nero's user avatar
0 votes
1 answer
354 views

pbkdf2 password on grub doesn't work on my Ubuntu 22.04 Vm

I installed a Ubuntu 22.04.3 LTS on a VirtualBox VM. After install process, I configured pbkdf2 as explained here https://help.ubuntu.com/community/Grub2/Passwords. I also verified grub.cfg after I ...
gabolander's user avatar
0 votes
0 answers
18 views

not possible run windows from other this after install grub

I have this disks sudo fdisk -l [sudo] password for grek: Disk /dev/loop0: 91.69 MiB, 96141312 bytes, 187776 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / ...
grek's user avatar
  • 1
0 votes
0 answers
140 views

Grub2 unable to detect MBR disks

While adding a new SSD to my system I went to GPT / UEFI and installed new Ubuntu as well as grub2. Grub2 is working and is able to boot ubuntu/win bootmanager on this new SSD. I'd like to boot my old ...
Reimer's user avatar
  • 1
1 vote
1 answer
820 views

Changes in grub.cfg custom Ubuntu 22.04 ISO not present on boot

I'm trying to follow instructions on how to make autoinstall Ubuntu ISO, but however I modify linux line in grub.cfg configuration file during customization of Ubuntu Server 22.04 ISO, modifications ...
Boban P.'s user avatar
  • 735
1 vote
0 answers
225 views

How to boot debian from both drives from a MD-RAID1 with LVM

i use a debian box with a MD-RAID1 with two drives and a LVM. My problem is that, obviously, i#m only able to boot from the first drive, but not the second. root@myhost:/home/myuser# fdisk -l Disk /...
Chris9834's user avatar
  • 181
0 votes
0 answers
314 views

Fixing LVM boot after disk clone

I have a NVME boot disk that was running low on space in my proxmox server. After using Clonezilla to clone the disk to another larger NVME things are unstable. The boot disk has 2 Logical volumes on ...
Doug's user avatar
  • 283
0 votes
0 answers
593 views

Cannot boot on Arch Linux after modifying kernel parameters with GRUB

Looking for a way to set my backlights on my laptop running Arch Linux (and Windows on a dual boot), I edited the /etc/default/grub file to change a kernel parameter. Here is what I changed: # before ...
Romain T-BIGOT's user avatar
2 votes
1 answer
1k views

Fix kernel issues in rescue mode

I have updated the kernel in a VPS Centos 7, and after rebooting, the machine is not responding anymore, including with SSH. I connected to the VPS via a temporary rescue linux machine from where I ...
AFA Med's user avatar
  • 627
2 votes
1 answer
257 views

GRUB fails to start kernel after net_dhcp

I originally ran into this problem trying to redeploy a machine using MAAS, but I can reproduce it just with the already-installed OS and GRUB, with Ubuntu 20.04. The machine is set up for UEFI boot. ...
Bruce Merry's user avatar
1 vote
0 answers
58 views

is it possible to go back one level depends on some condition in grub menuentry?

It looks like it is not possible to abort a menuentry content, for example: submenu test1 { menuentry test2 { echo "play1" cmd1 # even this failed, it still continue to next line ...
Wang's user avatar
  • 322
1 vote
0 answers
151 views

Can grub2 chainloader a efi application on a filesystem other than FAT32?

I have a efi application in XFS partition. (hd0,gpt2)/test/EFI/BOOT/BOOTX64.EFI I try to chainloader it by: set root="(hd0,gpt2)/test" chainloader /EFI/BOOT/BOOTX64.EFI But chainloader ...
Wang's user avatar
  • 322
1 vote
0 answers
307 views

grub2 font advice doesn't work

I'm running Fedora 31 on a Lenovo T470p, with GNU GRUB version 2.03 platform x86_64-efi . I wish to have a far larger font. As many, many suggestions on the internet advise: 1] I've added the ...
Swiss Frank's user avatar
0 votes
1 answer
968 views

Fedora 31 Grub2 configuration change isn't being applied

I've changed GRUB_TIMEOUT=-1 in my /etc/default/grub because I want the grub boot loader to wait forever for me to choose my operating system. Most of the internet says to run update-grub after ...
Swiss Frank's user avatar
1 vote
0 answers
1k views

Grub error with tpm module in Fedora

I have a problem booting my fedora 36 (in version 35 the same thing happens to me and I have tried to reinstall from 0 with the same result). When I boot the grub I get this error. error ..... tpm.c:...
estonolose's user avatar
1 vote
1 answer
2k views

How to recover from the GRUB losing its entries and faced with only "grub> _" at boot?

I performed a system upgrade from CentOS 7 to AlmaLinux 8 rather successfully (as noted here). During the process something strange happened and GRUB lost its boot entries entirely and my limited ...
ylluminate's user avatar
  • 1,197
0 votes
1 answer
2k views

dpkg: error processing package linux-image-4.15.0-175-generic (/boot/grub/menu.lst not found)

I have this issue on Ubuntu 18.04 Server, probably because /boot/grub/menu.lst doesn't exist: root@myserver:~# apt install -f Reading package lists... Done Building dependency tree Reading ...
Francesco Galgani's user avatar
0 votes
1 answer
720 views

How would I configure grub to skip the menu or set a timeout?

I was able to successfully configure PXE and pressed to get an entirely automated install running except for 1 issue: The GRUB menu pauses indefinitely until the user selects an option. I've got my ...
user3056541's user avatar
0 votes
2 answers
1k views

Tell Linux/GRUB to start iPXE on next boot?

I've just discovered the wonder that is iPXE. Im running various versions of Debian on many different computers, and would like to remotely tell them to reboot into iPXE, and have iPXE automatically ...
Moritz von Schweinitz's user avatar
3 votes
0 answers
1k views

How to prevent changes of GRUB_ENABLE_BLSCFG in /etc/default/grub

With Rocky Linux 8.4 (clone of RHEL 8.4) in /etc/default/grub I have GRUB_ENABLE_BLSCFG=false A “dnf update” that included grub2-tools changed it back to GRUB_ENABLE_BLSCFG=true Is there some way to ...
cen2rocky's user avatar
2 votes
0 answers
1k views

Changing your kernel in AWS appears to break boot sequence (grub config issue?)

Using Ubuntu 20.04 on AWS (ec2), I wanted to change my kernel from AWS to a generic one. When I try it the suggested way with changing the Grub Config, it stops the machine. This is because Jibri (...
PaltryDrought's user avatar
0 votes
0 answers
505 views

Why does grub's os-prober add entries with `linux` instead of `linuxefi`

On my system, I have two copies of CentOS 7 installed, and one copy of Windows 10 Pro. Every system is bootable and works correctly, and is fully up to date (kernels, packages, the works). When I run ...
Grismar's user avatar
  • 127
0 votes
0 answers
503 views

Properly Configuring Grub for a Two-drive raid1 to Support Boot After a Drive Failure

Edit: So, I think the question still applies below, but I realized that the system is actually booting on the second drive, it's just missing /home, /boot and /etc/fstab. I am sure there is more ...
Will Roberts's user avatar
0 votes
1 answer
1k views

ESXi installation PXE boot with GRUB on BIOS (not EFI)

all documents mention syslinux/pxelinux as a way to pxeboot ESXi installation, but I'd like to stay with GRUB 2. How to do that? I'm able, of course, to load GRUB 2 via network (i386-pc/core.0 for non-...
Jiri B's user avatar
  • 587
0 votes
0 answers
111 views

How to avoid password change when boot GRUB in debian 10 system?

Per this post,I know it's easy to change password when boot GRUB. When I read set debian grub password ,I run command as below: cat << EOF >> /boot/grub/menu.lst timeout 3 password hackme ...
kittygirl's user avatar
  • 975
1 vote
2 answers
394 views

Urgent help needed with GRUB centos

Today I had an email of OVH saying my server was hacked (it was nothing more than a wordpress plugin of a client messing around) but it ended with my server forced to Rescue Mode and I'm not able to ...
Jorge O.H.'s user avatar
0 votes
1 answer
3k views

grub rescue on Ubuntu 18.04 with btrfs partition

I have a small server (HP ProLiant MicroServer Gen8) running Ubuntu 18.04 64 bit with the latest HWE generic kernel (5.4.0.74.83~18.04.67); it has two SATA drives, GPT partitioned but booting in ...
Matteo Italia's user avatar
0 votes
0 answers
34 views

Reshape root disk from raid1 to raid5 on live system

I have server with CentOS 7 and grub2. It is in hosting company so I can not reinstall it. Server root / is installed on (mdadm) RAID1. Size is 4 TB, but is made somehow without EFI. These is small /...
Nick's user avatar
  • 862
1 vote
0 answers
329 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 ...
simonelippolis's user avatar
0 votes
0 answers
209 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 --...
Destiny Fan's user avatar
1 vote
0 answers
920 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 ...
Infoposter's user avatar
1 vote
1 answer
1k 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 ...
azurepancake's user avatar
0 votes
0 answers
273 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 /...
badluck's user avatar
  • 103
1 vote
0 answers
258 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)/...
djuarezg's user avatar
  • 141
0 votes
0 answers
86 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 &...
djuarezg's user avatar
  • 141
1 vote
1 answer
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 ...
user855443's user avatar
1 vote
1 answer
626 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 ...
Trayan Momkov's user avatar
0 votes
1 answer
1k 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=/...
František Jeřábek's user avatar
0 votes
2 answers
186 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 ...
Codemonkey's user avatar
  • 1,148
0 votes
1 answer
5k 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: ...
nh2's user avatar
  • 908
0 votes
3 answers
219 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 ...
symcbean's user avatar
  • 22.5k
0 votes
0 answers
442 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 ...
JaKaiser's user avatar
3 votes
0 answers
6k 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 ...
Rudolfs Bundulis's user avatar
2 votes
1 answer
844 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. ...
Levi Uzodike's user avatar
0 votes
1 answer
978 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 ...
NickSoft's user avatar
  • 288
1 vote
0 answers
1k 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) ...
aseq's user avatar
  • 4,660