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

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 a system's /boot/ partition and create a custom…
azurepancake
  • 141
  • 1
  • 8
1
vote
1 answer

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 from the old to the new partition (with rsync…
user855443
  • 111
  • 3
1
vote
1 answer

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 one. I have: lsblk NAME MAJ:MIN RM SIZE RO…
Trayan Momkov
  • 163
  • 1
  • 7
0
votes
1 answer

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 grub2. Input works in BIOS and centos console…
NickSoft
  • 278
  • 6
  • 23
0
votes
1 answer

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 trying to install to. I've wiped the partition…
scojo5
  • 51
  • 1
  • 1
  • 5
0
votes
1 answer

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 server didn't boot properly and halted during the boot…
0
votes
1 answer

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 try, the array is either non-existent after reboot…
0
votes
1 answer

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 to connect to the virtual machine console using a…
leonardorame
  • 327
  • 3
  • 14
0
votes
0 answers

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-4-amd64 root=/dev/vda1 ro initrd …
Gary Green
  • 101
  • 1
  • 3
0
votes
1 answer

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 disk and applying a disk image (SLES 12 SP2) which…
azurepancake
  • 141
  • 1
  • 8
0
votes
0 answers

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 It displays the output: ### BEGIN…
supmethods
  • 287
  • 4
  • 16
0
votes
1 answer

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 messages zip by, and then the screen goes blank after…
HippoMan
  • 222
  • 1
  • 10
0
votes
2 answers

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 10 iso extracted directory in…
Dr. Essen
  • 121
  • 8
0
votes
2 answers

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 LSI card. Linux sees the drives completely fine,…
TheXDS
  • 13
  • 4
0
votes
1 answer

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, format the main partition as ext4, mount it and…
sknaumov
  • 101
  • 2