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
2
votes
1 answer

How to fix "Setting up grub-pc" freezing during apt-get upgrade?

I have a packer script that builds up a virtual image using Ubuntu. The script today started getting stuck during apt-get dist-upgrade on amazon-ebs: Setting up grub-pc. I found many people on the net complaining about similar situations with…
Sampo
  • 261
  • 3
  • 9
2
votes
2 answers

I deleted all the contents of /boot and now server is not booting

I did something stupid. My thinking was that /boot directory is empty and contents come to /boot each time the computer starts. My /boot drive was giving me error messages no space left so I thought there might be junk files. I deleted all the…
Dr. Mian
  • 151
  • 3
  • 11
2
votes
0 answers

Can't find (inactive?) LVM (with root FS) on boot

I'm running a Linux Server using ArchLinux, mostly for my own development needs. It runs Arch Linux on a SW-RAID1. There's two disk drives sda and sdb, each with 3 partitions sda1-sda3, sdb1-3. SDA1+SDB1 and SDA2+SDB2 are SW-RAID1 using dmraid /…
Mastacheata
  • 140
  • 6
2
votes
1 answer

Why does my server not boot after moving root fs, inside LVM, to raid?

I'm trying to move my root partition to raid based physical volumes, and I seem to be failing. The procedure I'm using is somewhat complicated, but that's because my hosting provider has very limited installation capabilities, so I can't start with…
Huash7ee
  • 45
  • 1
  • 4
2
votes
2 answers

Restore GRUB2 after Clonezilla

After restore from clonezilla backup, grub2 is broken. I see "GNU GRUB minimal BASH-like line editing is supported..".. I have one HDD, with two partition (/boot , and /) default settings How do I restore the bootloader ? I did it! Right commands…
Anton Shevtsov
  • 191
  • 3
  • 12
2
votes
2 answers

Centos grub bootloader missing after installing windows 10

I first installed CentOS 7 on my laptop, 2nd I installed Windows 10 in same hard disk with different partition, but I couldn't get my Centos 7 info in windows boot loader. I tried easyBCD tool to get Centos 7 info in windows bootloader but failed to…
2
votes
0 answers

How to validate grub boot environment parameters with grubby

I am updating grub parameters in RHEL 7.0 with grubby command using /usr/sbin/grubby --update-kernel=ALL --args='isolcpus=14-24' followed by /usr/sbin/grub2-install /dev/sda and reboot I very well understand the process to manually configure and…
Waqas
  • 131
  • 3
2
votes
1 answer

Setting bootloader password in EL7

Using this guide I am attempting to add a bootloader password to a CentOS7 install. When prompted, enter the password that was selected and insert the returned password hash into the appropriate grub2 configuration file(s) under /etc/grub.d…
a coder
  • 789
  • 4
  • 20
  • 38
2
votes
1 answer

Can't get rid of mystery kernel

Just noticed that despite having the kernel updated regularly, the version in use is quite outdated: $ uname -a Linux test 2.6.31-302-rs #7 SMP Thu Oct 29 22:57:03 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux Strangely, this version of the kernel…
ejain
  • 243
  • 2
  • 7
2
votes
2 answers

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 detail here the steps I've made to fix it, mixing…
JorgeeFG
  • 993
  • 8
  • 13
2
votes
0 answers

grub2 password protection does not work with plain text

I am using centos 7 and I am trying to configure grub password protection, when using pbkdf2 encryption everything is ok but using plain text password it does not work. I have taken care of syntax and use the mkconfig tool to replace the grub.conf…
nighter
  • 51
  • 4
2
votes
2 answers

how to disable serial console after successful boot (systemd/grub2)

I enable the serial console during the boot process on centos7 which uses grub2 and systemd (instead of inittab) I would like to undo that serial input/output at the very end of the boot, after a completely successful start, for security…
ck_
  • 459
  • 1
  • 7
  • 20
2
votes
3 answers

Ubuntu/Grub2: Crypted grub password doesn't work, what could be the reason?

I've used the command grub-mkpasswd-pbkdf2 in order to encrypt my password, then I took the hashed password and placed it in my Ubuntu 14.04 /etc/grub.d/00_header: cat << EOF set superusers="itaig" password itaig…
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
2
votes
3 answers

Ubuntu Grub fails with: unknown command recordfail

I installed some patches on a Ubuntu 10.04 Server (LTS) system today. After rebooting the newly patched server the boot process is now hosed with an unknown command 'recordfail' message. If I hit a key, the machine just reboots and gets stuck at…
Koko
  • 171
  • 1
  • 7
2
votes
0 answers

Debian Wheezy hangs before GRUB menu after successful install on Dell C-Series Server

I've just installed Debian Wheezy on a Dell C-Series Server w/o any problems. However, at first reboot, I don't even get a GRUB menu. So I guess it's a problem with where GRUB was installed and maybe the RAID configuration. The server has 6 HD's, 2…
user214259
  • 21
  • 2
1 2
3
10 11