Questions tagged [grub]

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

346 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
44
votes
3 answers

How do I tell if grub is installed on a device?

How can I tell if grub is installed on a disk, and if it is what settings it has (noteably, what it has for the root parameter) I need to check a lot of disks in software RAID1 arrays to make sure both disks have grub installed, with the grub on…
DrStalker
  • 6,676
  • 24
  • 76
  • 106
44
votes
2 answers

Damaged /vmlinuz and /initrd.img symbolic links after Kernel uninstall

OS: Ubuntu 8.04 LTS Server Edition We just rolled back an kernel update using the following command: sudo apt-get remove linux-image-2.6.24-24-server The uninstallation was successful, but it had the following message before apt-get exited: The…
maxyfc
  • 543
  • 1
  • 6
  • 6
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
15
votes
2 answers

Is there a way to create a "one-time" boot entry in grub?

I have the following issue: I have a small server (Debian based) to which I can connect remotely (VPN/SSH connection). Now I want to change some boot options (in fact I want to migrate my root file system to another partition) and therefore I have…
Christian Wolf
  • 308
  • 3
  • 9
14
votes
4 answers

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 this screen: However, in the tutorial I'm following it…
xorinzor
  • 269
  • 2
  • 4
  • 19
11
votes
6 answers

Install GRUB on NTFS

I would like to install 2 completely independent instances of Windows XP (no data should be shared) in my computer within 2 different primary partitions. I know that grub can handle booting them correctly, but I have no idea if it's possible to…
karatchov
  • 415
  • 2
  • 7
  • 11
11
votes
2 answers

Anyway to get GRUB failsafe to timeout?

I've got a bunch of headless servers installed in random (remote) locations all running Ubuntu 11.04. Sometimes the boxes go down and never come back up, eventually someone goes out to check on them to find them sitting at a GRUB screen. On a…
Jon
  • 632
  • 5
  • 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

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 "Booting from Hard Disk". I've already managed to import…
Miodrag
  • 91
  • 1
  • 1
  • 4
9
votes
5 answers

Disable THP and THP defrag on CentOS 7 EC2 instance

I want to disable transparent_hugepage (THP) on a CentOS 7 EC2 instance, which is enabled by default: # cat /sys/kernel/mm/transparent_hugepage/enabled [always] madvise never # cat /sys/kernel/mm/transparent_hugepage/defrag [always] madvise…
vcarel
  • 434
  • 4
  • 13
9
votes
2 answers

How do I set the default kernel parameters in CentOS for all existing and future kernels?

I'd like to remove the rhgb and quiet kernel parameters which are used by default when the kernel is booted in CentOS 6, but I want this to apply to all currently installed kernels as well as any kernels installed in the future. I need to do this…
mgorven
  • 30,036
  • 7
  • 76
  • 121
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
2 answers

mdadm raid 1 grub only on sda

I just finished setting up a CentOS 6.3 64bit server with mdadm however a lightbulb went on and I realised grub would only be installed on the first drive which is about as much use and an ashtray on a motorbike. I had a look to confirm my…
Backtogeek
  • 557
  • 2
  • 6
  • 14
7
votes
3 answers

How can I tell which of two very similar linux kernels I booted from?

I have recently compiled a new kernel for my linux server. It is almost identical with the previous kernel (I added cifs support). Because physical access to the server is limited, I configured grub to fallback to the old kernel if the new kernel…
Dominic Cronin
  • 670
  • 4
  • 21
1
2 3
23 24