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
7 votes
3 answers
3k views

GRUB hangs before menu, after a HDD upgrade. How to debug?

I have a problem on a server with 4 x 1 TB drives running Debian wheezy and GRUB 1.99-27+deb7u3. sda and sdb have partitions mirrored using (Linux software) RAID1, including /boot. sdc and sdd have a ...
Cedric Knight's user avatar
7 votes
4 answers
8k views

Linux Software RAID1: How to boot after (physically) removing /dev/sda? (LVM, mdadm, Grub2)

A server set up with Debian 6.0/squeeze. During the squeeze installation, I configured the two 500GB SATA disks (/dev/sda and /dev/sdb) as a RAID1 (managed with mdadm). The RAID keeps a 500 GB LVM ...
flight's user avatar
  • 394
6 votes
2 answers
26k views

Grub rescue, will not boot from mdadm RAID, no such disk or device -- mduuid wrong?

I am running a 14 disk RAID 6 on mdadm behind 2 LSI SAS2008's in JBOD mode (no HW raid) on Debian 7 in BIOS legacy mode. Grub2 is dropping to a rescue shell complaining that "no such device" exists ...
ctrlbrk's user avatar
  • 310
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
4 votes
1 answer
3k views

Grub2 reports physical volume pv0 not found when probing/installing

I upgraded a Ubuntu Maverick to Precise server but I get the following error while updating grub: error: physical volume pv0 not found. Now, for my system I have /dev/sda through /dev/sde /dev/sda1 ...
rreg's user avatar
  • 43
4 votes
2 answers
4k views

update grub2 without hardware access (e.g. in a chroot)?

I'm writing a script that takes a master KVM image, converts it to VDI, makes a few changes to it, and offers it up for download. I need to update the kernel boot parameters for some of the newly ...
wryfi's user avatar
  • 161
2 votes
2 answers
4k views

XenServer 6.2 VM 100% CPU and 100% memory usage and won't boot

I had this problem today after a power failure. I had 2 vms and one of them won't boot and was using 100% of CPU and 100% of memory. Since it was very dificult to solve (at least for me) I want to ...
JorgeeFG's user avatar
  • 1,013
2 votes
1 answer
9k views

grub2 does not find /boot on RAID1 md0 device

I have RAID1 md0 for /boot consisting of 4 partitions (sda2, sdb2, sdc2, sdd2). I'm using GPT on 2TB HDDs, so first partitions on each disk (sda1, ...) are 1-megabyte bios_grub partitions. I also ...
chronos's user avatar
  • 578
1 vote
0 answers
199 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
1 vote
1 answer
5k views

How to remotely initiate netinstall of CentOS 7?

I've got 50+ machines running either CentOS 6.4 or 6.8. I wish to re-install these machines with CentOS 7 using a configuration script (for example using the "basic server" template and setting ...
fredrik's user avatar
  • 751
1 vote
1 answer
289 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)...
code_onkel's user avatar
1 vote
1 answer
947 views

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 ...
Matt Stratton's user avatar
0 votes
1 answer
1k views

How to add systemd.setenv in GRUB2

I would like to add systemd.setenv=NSS_HASH_ALG_SUPPORT=+MD5 parameter in grub2 for centos7? I don't know which files I've to modify, and which lines I've to insert this parameter. Thaks for your ...
dubis's user avatar
  • 113