Questions tagged [grub]

Console application permitting the user to choose between several installed operating systems.

Filter by
Sorted by
Tagged with
16 votes
4 answers
99k views

Debian boot to single-user mode

I forgot my root password and am attempting to change it by booting into single-user mode, however when booting I get this screen: Then I press "e" to edit the boot configuration and I get ...
xorinzor's user avatar
  • 320
4 votes
1 answer
9k views

How to boot after RAID failure (software RAID)?

Previously I had a software raid set up using (mdadm) of drives sda and sdb. sdb failed and the only way to reboot the system was by unplugging the second hard drive. Now I've added fresh sdb and sdc ...
jaynp's user avatar
  • 235
2 votes
3 answers
5k views

How to install grub on a completely empty hard drive?

Normally, there are solutions available out there to restore grub or install grub provided that linux in installed first. How can I install grub while not having any partition which has an installed ...
Uthman's user avatar
  • 263
0 votes
1 answer
2k views

Why is my machine not showing anything when booting?

I'm using Ubuntu Server 11.10 x86, and after I make my normal selection (Ubuntu, with Linux 3.0.0-12-generic-pae) from the GRUB menu, the screen just goes blank - there's not even a cursor showing up. ...
s g 's user avatar
  • 621
13 votes
1 answer
38k views

KVM gets stuck at "Booting from hard disk"

I am trying to run Ubuntu-server-16.04 virtual machine on a KVM converted from .vhdx (Hyper-V) to .qcow2 (KVM). When I import my virtual disk image and start virtual machine, the KVM hangs on "...
Miodrag's user avatar
  • 131
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
6 votes
1 answer
5k views

Cannot install grub, segmentation fault, unable to identify filesystem, superfluous RAID member, found two disks with same index — Debian 7

A server was recently transported from location A to B, a long journey that took six months. Things have gone wrong due to nothing being labeled prior to shipment. Yes, I know --- it was done by ...
ctrlbrk's user avatar
  • 310
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
5 votes
2 answers
14k views

Linux RAID 1: How to make a secondary HD boot?

I have the following RAID 1 on a Centos 6.5 server: # cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sdb1[3] 974713720 blocks super 1.0 [2/1] [_U] bitmap: 7/8 pages [28KB], ...
Fernando's user avatar
  • 1,229
5 votes
3 answers
9k views

how to force grub to boot (no human input) regardless previous booting failure

When previous boot was failed. (because of power failure, hardware failure) booting will hang at the grub menu for human prompt. Can you set option to force boot up no matter what happened?
c2h2's user avatar
  • 768
4 votes
2 answers
7k views

grub.conf missing initrd path after kernel update

I updated a server this morning and the latest kernel panics during boot. Upon review of the grub.conf file I found the initrd path was missing. Is there a way to fix this issue? Or should I remove ...
prodigerati's user avatar
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
3 votes
3 answers
8k views

Change kernel of Centos OVH

I'm using a server of OVH with OS centos7. OVH has its own linux kernel: 3.14.32-xxxx-grs-ipv6-64 Now I try to configure another Centos7 kernel. I installed the other kernel(s). yum install kernel ...
DenCowboy's user avatar
  • 323
3 votes
1 answer
894 views

How to keep specific old kernels around after a yum update

I know that in CentOS 6.x, you can put the following line in /etc/yum.conf which tells yum to keep the last N kernels (by default this is set to five): installonly_limit=5 However, there are cases ...
tgharold's user avatar
  • 639
3 votes
1 answer
17k views

How do I mount a raid disk

So I screwed up my grub.conf file on a CentOS system and I'm in recovery right now (it's only a test dedicated server). My disks are /dev/sda1 and /dev/sdb1 (RAID 1). Now I need to mount /dev/sda1 and ...
Devator's user avatar
  • 1,483
2 votes
2 answers
3k views

Serial terminal over ethernet

Well, my idea is I would like to have access to grub over Ethernet/Internet, I've found two possible solutions: Converter RS232 to Ethernet (1) which looks like to have its own live, I mean it is ...
Ency's user avatar
  • 1,241
2 votes
1 answer
1k views

How can I generate/or edit a grub.cfg on each EFI partition that refers to the ubuntu installation on the same physical disk?

I have an install of Ubuntu 16.04 server set up on two disks with software raid across two large partitions. The start of each disk contains an EFI partition. I would like to be able to boot from ...
ezekiel's user avatar
  • 265
2 votes
2 answers
7k views

Linux boot: Can I prevent the loading of a module using a boot parameter?

I know that I can blacklist a module in /etc/modprobe.conf or /etc/modprobe.d/blacklist, but I have a nasty module which loads before the filesystems are mounted (except /boot of course), so I assume, ...
java.is.for.desktop's user avatar
2 votes
3 answers
3k views

Creating a partitioned raid1 array for booting a debian squeeze system

I'd like to have the following raid1 (mirror) setup: /dev/md0 consists of /dev/sda and /dev/sdb I created this raid1 device using mdadm --create --verbose /dev/md0 --auto=yes --level=1 --raid-...
gucki's user avatar
  • 828
1 vote
1 answer
6k views

Unable to access resume device in CentOS

I moved my CentOS soft-RAID1 drives to another box, and now it fails to boot. When I launched the boot process from the grub menu, I get the following error: "Unable to access resume device /dev/md1"...
SyRenity's user avatar
  • 3,189
1 vote
2 answers
383 views

GRUB for windows while not having a Linux root partition?

I want to use GRUB for loading Windows. I know about the chainloading that needs to be done but the thing is that I don't have any Linux system installed and I don't want to install it. I have two ...
Uthman's user avatar
  • 263
1 vote
1 answer
899 views

CentOS only detecting 50% of ram on IBM Server

I have IBM server with 16 GB RAM installed. Initially it showed 16 GB with free | grep Mem | awk '{print $2}' but now it shows only 8116136 but it must show 16439208 When I do dmidecode -t ...
JyotiPrakash's user avatar
-1 votes
0 answers
36 views

How do I get myself out of docker hijacked network situation on my Debian VM?

I ran into a problem with wg-easy docker in trying to set up Wireguard using docker on my Debian VM so I changed network_mode to host as a last resort without learning about the consequences... The ...
Max's user avatar
  • 1