Questions tagged [grub]
Console application permitting the user to choose between several installed operating systems.
23
questions
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 ...
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 ...
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 ...
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.
...
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 "...
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 ...
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 ...
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 ...
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], ...
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?
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 ...
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 ...
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
...
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 ...
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 ...
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 ...
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 ...
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, ...
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-...
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"...
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 ...
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 ...
-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 ...