Questions tagged [grub]

Console application permitting the user to choose between several installed operating systems.

346 questions
1
vote
1 answer

Gentoo and GPT Grub support

Grub seems to support GPT, or so it says, there is a patch for it, however when i try to boot after installing grub into the active boot partition (ext2) it starts to boot and before grub loads any stage 1.5 stuff it dies and hangs, got 1 big raid…
user7484
1
vote
3 answers

grub crc error after decompressing linux

I have a debian with a raid1 on it. Both HDDs have bootable flags and grub setup in MBR. If I only start up with sda, linux boots. If I only start up with sdb, grub shows up and says Decompressing Linux... crc error -- System halted I have…
w00t
  • 1,134
  • 3
  • 16
  • 35
1
vote
2 answers

Grub entry to boot from cd rom?

What would be the grub entry to boot from cd rom? (so the boot loader of the cd rom should be loaded and executed next) Grub is installed on the hard disk and should not live on the cd rom. I want to be able to boot an existing cd rom as it is from…
user12096
  • 917
  • 5
  • 23
  • 39
1
vote
2 answers

how to make grub always select the default option, even if first boot fails?

we have a temporary requirement to have several small PCs running ubuntu 9.10 running 24/7 in an environment where the mains power isn't very reliable. The machines are in a remote location and hard to get to. The problem I'm getting is when the…
Simon H
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
  • 3
1
vote
1 answer

Fastest way to migrate Linux data

I'm looking for a fast to migrate Linux installation to another hardware. As I wrote in another question (Unable to access resume device in CentOS), I moved 2 disks in software RAID to another hardware, and now it doesn't boot-up because the server…
SyRenity
  • 3,159
  • 11
  • 55
  • 79
1
vote
1 answer

Unable to access resume device in CentOS

I moved my CentOS soft-RAID1 drives to another box, and now it fails to boot. When I launched the boot process from the grub menu, I get the following error: "Unable to access resume device /dev/md1". (I should notice that before that I got another…
SyRenity
  • 3,159
  • 11
  • 55
  • 79
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,001
  • 2
  • 15
  • 29
1
vote
3 answers

Reducing Amazon EBS Root Volume Size on Amazon Linux 1

I have been trying to reduce the size of my Amazon Linux 1 AMI root volume using the procedure in this documentation (with some modifications made after failing to do so) and continuously run into errors with the step: $ sudo grub-install…
1
vote
0 answers

Converting sgdisk to sfdisk for old machine with MBR

I want to put ZFS on an old machine, however it apparently fails to boot with GPT. So I wanted to convert this script, mainly these 3 lines to sfdisk, which uses MBR. https://github.com/terem42/zfs-hetzner-vm (Debian11) sgdisk -a1 -n1:24K:+1000K …
Ne00n
  • 11
  • 3
1
vote
1 answer

Issue with customizing kernel cmdline option in Ubuntu 20.04.3

Im trying to add rootdelay=60 option in grub cmdline options by editing file /etc/default/grub as GRUB_CMDLINE_LINUX_DEFAULT="rootdelay=300" and also ran update-grub update-initramfs -u however i do not observe any delay after reboot and the root…
sherpaurgen
  • 608
  • 3
  • 10
  • 26
1
vote
1 answer

Upgrading to debian 11 (from debian 10) not add the kernel in /boot/ (Dedibox Server)

I have make upgrade on my server and reboot the server to use the last kernel, but after reboot, the server just use the old kernel (4.19.0-16-amd64). In /boot/, I just seen files for kernel 4.19.0-16-amd64. If I do apt install linux-image-amd64 the…
1
vote
1 answer

ubuntu 18.04 "grub-install: error: cannot find EFI directory"

I have this issue on multiple ubuntu 18.04 servers. During a regular apt update && apt upgrade I get this error: Setting up grub-efi-amd64-signed (1.167~18.04.1+2.04-1ubuntu44) ... Installing for x86_64-efi platform. grub-install: error: cannot find…
the_nuts
  • 412
  • 6
  • 18
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