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

169 questions
54
votes
7 answers

Headless Ubuntu server machine sometimes stuck at GRUB menu

I have Ubuntu 10.10 Server installed on a single-board machine in a semi-embedded environment; no keyboard or screen, just SSH access to it. So it's really frustrating when it occasionally boots up and gets stuck on the GRUB menu, waiting for a…
mikepurvis
  • 1,047
21
votes
6 answers

GRUB "Some modules may be missing from core image" warning

one HDD crashed from my RAID and I added a new HDD. Now I wanted to install GRUB to the new HDD: with grub-install /dev/sdb. I get these warnings: Installing for i386-pc platform. grub-install: warning: Couldn't find physical volume `(null)'. Some…
12
votes
3 answers

How to install grub on multiple disks?

I have weird situation - order of disks as reported by BIOS, is different than order of disks that Linux sees. Which makes for problematic run - grub installs to sda, but bios boots from sdd or something like this (this machine has 7 disks, 4 on…
user13185
9
votes
1 answer

How to force Debian to boot new Kernel?

I'm running Debian 6, Debian GNU/Linux, with Linux 2.6.32-5-amd64 under Grub2 ( 1.98+20100804-14+squeeze1) on a remote system (no possibility to view the pre-boot messages). I compiled and installed a new kernel, but I can not get it to boot. What I…
9
votes
1 answer

Ubuntu server, gpt partition table, mdadm, grub boot fail

Basic working system details: I used the Ubuntu 12.04 server CD to install a server. I have 4 disks. On all disks I did the following, similar to this howto : created a 2GB swap partition created a 256 GB /boot partition created a 64 GB RAID10…
Peter
  • 3,046
8
votes
2 answers

Grub2 reports physical volume pv0 not found on server non bootable anymore

I first installed my ubuntu server (11.10 amd64) using lvm but not fully mastering the concept of it. I think that's partly what made the mess of partitions on my two disks (seems to me). I installed everything using grub2 from the start to boot my…
7
votes
3 answers

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 single partition each, mirroring a LVM physical…
7
votes
1 answer

How can I find out where GRUB was installed?

I need to find where GRUB was installed, for example, which drive/partition. Is it possible to figure out where it was installed?
Sencer H.
  • 612
  • 1
  • 9
  • 18
7
votes
1 answer

How Do You Non-Destructively Check if grub2 is Installed in The Boot Sector or is Being Chain-Loaded by grub1, Without Rebooting?

We're upgrading several systems from Debian Lenny to Squeeze and I'd like to ensure that I haven't missed any grub2 installations. By default, Squeeze chain-boot-loads from grub1 and you have to run upgrade-from-grub-legacy to upgrade. So I'd like…
7
votes
4 answers

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 volume group (vg0). In the volume group, there's a…
flight
  • 404
6
votes
1 answer

CentOS 7: GPT and software RAID 1 without 'biosboot' partition

I have a CentOS 6 server with software RAID1 (2x3TB): - sda # parted /dev/sda unit s print Model: ATA TOSHIBA DT01ACA3 (scsi) Disk /dev/sda: 5860533168s Sector size (logical/physical): 512B/4096B Partition Table: gpt Number Start End …
HTF
  • 3,278
6
votes
2 answers

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 for…
ctrlbrk
  • 310
5
votes
2 answers

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 created images. Normally one would edit the…
wryfi
  • 171
5
votes
2 answers

Setting up Linux softRAID10 so it can boot after a drive failure

I would like my RAID10 to survive the failure of the bootdisk. I want to write grub to the MBR of each disk in the array so that in the case of a failure the array will still boot on the remaining members. I have a 4 disk array, so in theory I…
5
votes
2 answers

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 installation image of Debian 12. In the beginning…
LudgerH
  • 63
1
2 3
11 12