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
4
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
  • 161
  • 1
  • 3
4
votes
1 answer

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 is a Linux partition for /boot and /dev/sda5 is…
rreg
  • 43
  • 1
  • 5
4
votes
2 answers

How do I add xen kernel boot parameters in grub2?

I know that I can add command line parameters to the grub2 command line by editing /etc/default/grub according to this answer How do I add a boot parameter to grub2 in Ubuntu 10.10? However, that would apply to ALL kernels would it not? How do I…
hookenz
  • 14,472
  • 23
  • 88
  • 143
3
votes
0 answers

Booting a squashed filesystem from ISO

I am trying to create a UEFI bootable CD ISO with a squashed filesystem from a virtual machine, which I provisioned with the stuff I need. To explain: I use packer and a kickstart file to install CentOS 7 I use a packer provision script to compile…
3
votes
1 answer

Install debian 8 on a LVM Volume with Type RAID1 GRUB2 cant find volume group

Hello Community! I tried the whole day long to setup up an LVM type Raid1 Volume on Debian 8.5, but the Server is not be able to boot from it. First of all here is the error i get from GRUB2: GRUB2 lvm lvs & lvm pvs here are the steps i made, first…
timrose
  • 33
  • 1
  • 5
3
votes
0 answers

EC2 AMI instance store backup grub utility required

Working on backup of whole ec2 volume and image to upload to s3. Using RHEL7 and it internally uses Grub2 as bootloader. EC2 AMI tools requires grub legacy loader and I'm struck up in this loader. When i run ec2-bundle-vol, Stacktrace is as…
Sva
  • 31
  • 1
3
votes
1 answer

How do I use memtest86+'s "badram" output with GRUB2?

So after a while of things randomly crashing, I let memtest86+ run overnight, and it found errors. I enabled the "badram" error output, but every few seconds it shows me a differing selection of memory…
Sean
  • 151
  • 3
3
votes
1 answer

Setup grub2 on a GPT software raid 3 TB HDD

I like to setup grub2 on a GPT softare raid 3 TB HDD. Number Start (sector) End (sector) Size Code Name 1 2048 1050623 512.0 MiB FD00 Linux RAID 2 1050624 5860533134 2.7 TiB FD00 Linux…
burnersk
  • 2,056
  • 5
  • 27
  • 39
3
votes
2 answers

How to boot GRUB2 so it mounts "root" on a different drive (remote server without KVM switch)

Summary: I created a copy of the root file system on a RAID array (with one disk on it), I tried to get the system to boot off that newly copied drive. Background: 2 disks of the same size in server (sda, sdb) sdb not being used I tried to…
timh
  • 129
  • 1
  • 5
3
votes
3 answers

RAID6 mdraid -> LVM -> EXT4 root with GRUB2?

2012-03-31 Debian Wheezy daily build in VirtualBox 4.1.2, 6 disk devices. My steps to reproduce so far: Setup one partition, using the entire disk, as a physical volume for RAID, per disk Setup a single RAID6 mdraid array out of all of those Use…
Rotonen
  • 71
  • 1
  • 9
3
votes
1 answer

Package upgrade on Ubuntu raid server and grub setup issue

I have remote Ubuntu 10.10 server running on raid system. I did package upgrade yesterday night for security reasons. During the upgrade, grub installation screen appeared and asked me which partition I wanted to install grub. Options are…
Sencer H.
  • 562
  • 1
  • 8
  • 17
3
votes
3 answers

Getting Grub2 to recognize a Raid 10 boot/root

I've been trying to get my raid to boot from grub2 for about 2 days now and I don't seem to be getting closer. The problem appears to be that it doesn't recognize my raid at all. It doesn't see (md0) etc. I'm not sure Why or how to change this. I'm…
xenoterracide
  • 1,496
  • 2
  • 13
  • 26
2
votes
1 answer

In CentOS 7, is there a way to specify which block devices should be tuned with the scheduler (or ELEVATOR)?

In CentOS 6, there was /etc/tune-profiles/my-server/ktune.sysconfig with this text(I'm referring to the comments that explain what the code is doing): # This is the I/O scheduler ktune will use. This will *not* override anything # explicitly set on…
Levi Uzodike
  • 125
  • 6
2
votes
1 answer

Are my EFI partitions mutually bootable? How to interpret the output of efibootmgr -v

I have two GPT formatted disks both starting with EFI partitions and followed by a single physical raid partition. I installed ubuntu-server 16.04 with software raid over these two raid partitions and once it had installed, I cloned the EFI…
ezekiel
  • 265
  • 1
  • 3
  • 7
2
votes
2 answers

Grub incorrectly escapes $ character in its settings

Not sure where I make mistake but I can't escape $ correctly in /etc/default/grub. I'm on Ubuntu MATE 18.04. This is what I do: In console I edit confid by calling sudo mcedit /etc/default/grub I add memmap parameter so that string look like…
expert
  • 322
  • 1
  • 3
  • 14
1
2
3
10 11