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

155 questions
55
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
  • 2
  • 9
  • 17
17
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…
pythonimus
  • 367
  • 1
  • 3
  • 12
10
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…
ThE_-_BliZZarD
  • 301
  • 1
  • 4
  • 11
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
  • 2,546
  • 1
  • 18
  • 25
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…
Meeshkah
  • 81
  • 3
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…
Cedric Knight
  • 1,098
  • 6
  • 20
7
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,050
  • 14
  • 49
  • 78
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.
  • 532
  • 1
  • 8
  • 17
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…
chrishiestand
  • 974
  • 12
  • 23
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
  • 384
  • 3
  • 14
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
  • 1
  • 4
  • 9
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…
Antonius Bloch
  • 4,480
  • 6
  • 28
  • 41
4
votes
1 answer

GRUB_DEFAULT seems to be ineffectual when trying to boot a custom kernel by ID on Debian 8

I've built a custom kernel on a Debian 8 machine, and I want to set it as the default. A seemingly simple task, but I can't get it to work for the life of me. I built my kernel using the official source code (via git), not using the vendor tarball…
Edd Barrett
  • 943
  • 3
  • 9
  • 19
4
votes
1 answer

kickstart over HTTPS only

Background: Kickstarting RHEL7 on powerppc (IBM pSeries) So I've kickstarted unattended for years, and had to use yaboot, NFS, etc. for kickstart in the past. Trying to modernize now. I have a working kickstart using HTTP (Apache) only (and TFTP).…
zenfridge
  • 41
  • 5
1
2 3
10 11