Console application permitting the user to choose between several installed operating systems.
Questions tagged [grub]
361 questions
5
votes
1 answer
Cannot install grub to RAID1 (md0)
I have a RAID1 array on my Ubuntu 12.04 LTS and my /sda HDD has been replaced several days ago. I use this commands to replace:
# go to superuser
sudo bash
# see RAID state
mdadm -Q -D /dev/md0
# State should be "clean, degraded"
# remove broken…

Andrew Answer
- 51
- 1
- 1
- 3
5
votes
2 answers
Moving an existing Linux into an LVM
We have a server with an existing Linux installation (CentOS 6) + boot partition on disk 1, and an empty disk 2. What we'd like to setup is this:
One disk (1 or 2, doesn't matter):
The main system in a snapshottable LVM (about 50%)
Backup space…

Bart van Heukelom
- 1,199
- 6
- 21
- 41
5
votes
3 answers
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
- 768
- 2
- 9
- 20
5
votes
2 answers
Setting up Linux softRAID10 so it can boot after a drive failure
I would like my RAID10 to survive the failure of the bootdisk. I want to write grub to the MBR of each disk in the array so that in the case of a failure the array will still boot on the remaining members.
I have a 4 disk array, so in theory I…

Antonius Bloch
- 4,680
- 6
- 29
- 41
5
votes
4 answers
The Gentoo live-cd shows my drives as "hda", but booting into my own kernel shows "sda" (therefore, boot fails). What should I do?
The Gentoo live-cd shows my drives as "hda", so I followed the Gentoo handbook and configured my partitions as "hda". However, the boot failed because, when booting into my kernel, it wanted to refer to the partitions as "sda".
So, I edited my…

Charlie Flowers
- 226
- 2
- 6
5
votes
2 answers
Can't Reset Password - Ubuntu 10.04 on Hyper-V
I have a virtual Ubuntu 10.04 machine running under Hyper-V which I have lost the password to. With a physical Ubuntu box it's rather easy to press ESC at the grub prompt and proceed to reset your password. Unfortunately I can't see a grub menu and…

JohnyD
- 1,614
- 3
- 20
- 29
5
votes
2 answers
How do I redirect the kernel console output on Ubuntu 10.04
When I reboot my Ubuntu 10.04 nodes, I'd like to be able to see the kernel boot messages when connecting to the IPMI interfaces using Serial Over LAN mode (ttyS0). What do I need to do to be able to redirect these messages to ttyS0?
Ideally, I'd…

Lorin Hochstein
- 5,028
- 15
- 56
- 72
5
votes
4 answers
Linux/Windows dual boot
I have a system running Ubuntu 9 and would like to install Windows 7 RC on it in a dual-boot configuration. Is there a way to make Windows play nice with grub or am I going to have to install Ubuntu again just to have its boot loader keep control.

Ferruccio
- 2,703
- 2
- 20
- 10
4
votes
2 answers
Can't get grub2 boot menu via COM2 port
I want to connect my "CentOS Linux release 7.6.1810 (Core)" device via COM2 port,then I modify '/etc/default/grub':
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g'…

mrco
- 179
- 6
4
votes
0 answers
How to modify the grub default timeout for CoreOS?
I am trying to reset the root password for my CoreOS machine for which I need access to the machine's grub. However, I don't see the grub at all and the machine boots up. I am on CoreOS stable (1010.5.0) and have added set timeout=15 to…

jobin
- 233
- 1
- 3
- 9
4
votes
1 answer
Is it possible and wise to put the grub bios partition on a software raid?
in a two disk setup
/dev/sda
/dev/sdb
i created per disk 3 partitions
bios_grub 1mb
linux raid 512mb md0 (/boot - ext3)
linux raid rest md1 (physical volume for lvm)
the answer on https://unix.stackexchange.com/a/218384 states that it is…

c33s
- 1,515
- 3
- 21
- 39
4
votes
2 answers
Enabling AHCI in RHEL5 post-install
I have two servers running RHEL 5.4 quite happily. However, through simple oversight, AHCI/hotswap support was not enabled in BIOS at install time and is now needed. The machines are running ICH10R SATA controllers and kernel-xen-2.6.18-164.el5.
I…
user21066
4
votes
2 answers
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 the most recent kernel entry from grub.conf and…

prodigerati
- 174
- 1
- 8
4
votes
3 answers
What is the correct way to install software RAID 1 in CentOS 6.4?
I'm going to install CentOS 6.4 on HP ProLiant ML310e Gen8 server. This server has fakeraid controller so i decided to use software raid. The problem is that i don't know how to correctly install GRUB and/or boot sector with software RAID 1 to get…

Nikolai Zh
- 41
- 1
- 2
4
votes
1 answer
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 to my RAID setup. sda is the oldest (so most…

jaynp
- 235
- 3
- 9