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.

Grub (GRand Unified Bootloader) is a bootloader package.

Briefly, a boot loader is the first software program that runs when a computer starts. It is responsible for loading and transferring control to the operating system kernel software (such as the Hurd or Linux). The kernel, in turn, initializes the rest of the operating system (e.g. GNU).

Official page

165 questions
1
vote
1 answer

Unable to boot after updating to kernel-3.1.4-1 in fedora 16

I was using kernel-3.1.2-1 in fedora 16. then updated to kernel-3.1.4-1. after reboot now grub shows command prompt instead of boot menu. i tried to load manually with: set root=(hd0,msdos3) linux /vmlinuz-3.1.4-1.fc16.x86_64 initrd…
Majid Azimi
  • 547
  • 1
  • 13
  • 29
1
vote
0 answers

squeeze with lvm on top of raid 0 fails to boot using grub2

GRUB Loading Welcome to GRUB! error: no such device: . Entering rescue mode... grub rescue> ls (hd0), (hd0,msdos2) (hd0,msdos1) grub rescue> set prefix=(hd0,msdos1)/grub root=hd0,msdos1 grub rescue> ls /boot error: file not found. grub…
ene.andrei
  • 11
  • 1
1
vote
1 answer

Ubuntu 10.10 unattended grub2 downgrade

I've got to install a few machines with grub legacy on them due to issues with symantec ghost (ghost is a requirement that can't be dropped). i've got a script that prepares machines, but there's a slight problem: apt-get purge grub-pc comes up with…
Baczek
  • 195
  • 1
  • 7
1
vote
1 answer

How do I add a boot parameter to grub2 in Ubuntu 10.10?

I got my Ubuntu server built and working, but I have to manually add a boot parameter ("no-hlt") into grub to start. I'm running maverick so it's grub2..and I can't figure out how to put it in so I don't have to manually override it on every boot.…
1
vote
1 answer

Ubuntu Server Won't Boot to Raid 1 Array

I have a 4 drive RAID array. A small part of each disk is partitioned and used in RAID 1 for /boot. Everything else is RAID 5. When I start the computer GRUB2 shows up and I can use its command line and view each of my RAID arrays (ls (md0)/ or ls…
Brad
  • 213
  • 1
  • 2
  • 8
1
vote
0 answers

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 get lost. I've tried to modify original menu…
Boban P.
  • 705
  • 1
  • 6
  • 20
1
vote
0 answers

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 /dev/sda: 447,1 GiB, 480103981056 bytes, 937703088…
Chris9834
  • 151
  • 1
  • 11
1
vote
0 answers

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 echo "play2" return 1 # this also does not work …
Wang
  • 292
  • 1
  • 2
  • 11
1
vote
0 answers

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 failed with cannot find (hd0,gpt2)/test. Does this means the…
Wang
  • 292
  • 1
  • 2
  • 11
1
vote
0 answers

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 GRUB_FONT line to my…
Swiss Frank
  • 121
  • 4
1
vote
0 answers

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:148:Unknown TPM error Searching the internet I…
estonolose
  • 11
  • 4
1
vote
1 answer

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 efforts in rebuilding them / it (I really only need…
ylluminate
  • 1,155
  • 2
  • 17
  • 35
1
vote
2 answers

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 boot normally anymore. My server has 2 disks: Disk…
Jorge O.H.
  • 19
  • 1
1
vote
0 answers

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 updates was apache2, upgraded to 2.4.46. Since…
1
vote
0 answers

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 modules may be missing from core…
Infoposter
  • 11
  • 2