Questions tagged [grub]

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

Filter by
Sorted by
Tagged with
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?
3 votes
0 answers
830 views

EC2 AMI instance store backup grub utility required

Working on backup of whole ec2 volume and image to upload to s3. Using RHEL7 and it internally uses Grub2 as bootloader. EC2 AMI tools requires grub legacy loader and I'm struck up in this loader. ...
0 votes
1 answer
856 views

OpenSuse 13.1 GRUB2 downgrade GRUB stuck on menu

I was trying to virtualize a opensuse server and discovered that GRUB2 is not supported by VMWare, at least without some fiddling. I went into Yast and changed the bootloader from GRUB to GRUB2, and ...
1 vote
0 answers
385 views

Verify architecture of kernel file

Note: I am NOT interested in the currently running kernel, but on a kernel that I am going to boot and which is in a file in the filesystem. I am going to boot a new kernel. I have prepared grub.conf ...
1 vote
1 answer
934 views

Where to install GRUB 2 boot loader?

I have: sda and sdb which partitions is forming mirror RAID md0 md1 md2 md3 During update process, I was prompted where to install GRUB boot loader - on sda, sdb, md's or all together? What choice ...
15 votes
2 answers
5k views

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 ...
1 vote
2 answers
2k views

RHEL 6.4 custom dvd boot issue

I'm creating a custom RHEL 6.4 iso to save myself time while rebuilding standalone hosts. Before I customize the menus and add the extra kickstart files in I have tried a simple unpack -> repack to ...
5 votes
2 answers
7k views

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 ...
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], ...
0 votes
3 answers
670 views

Grub to boot USB HDD

My machine is using Ubuntu 8.04 (=> legacy grub). It is backed up regularly and I would like to check I am able to restore the backup. This backup includes everything on the system, including /boot (...
1 vote
1 answer
824 views

Regular apt-get update broke grub

I ran a regular update (aptitude safe-upgrade) on my wife's server yesterday (a Hetzner root server with Hardware RAID) and the server hasn't booted properly since. I'm able to boot the server using ...
1 vote
1 answer
3k views

Grub giving Error 2: Bad file or directory when I try to locate the kernel

I'm trying to boot a VM with grub-legacy and I'm getting a grub prompt. If I run root (hd0,0) it says Filesystem type is ext2fs, partition type 0x83, but then if I do kernel /TAB it says Error 2: Bad ...
0 votes
1 answer
171 views

Did grub updating bring my server down?

I have an Ubuntu 12.04 server. Last night I installed a few updates using apt-get dist-upgrade, including grub, and rebooted. After rebooting, I couldn't boot into Ubuntu. I just get a big flashing ...
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 ...
0 votes
1 answer
139 views

Use old raid drive as boot device without data loss

There were two disks in sw-raid. There were /dev/md1 as swap, /dev/md2 as boot and a /dev/md3 with ext4. The sw-raid was disabled by stopping and removing mdadm and then zeroing the superblock on ...
0 votes
2 answers
843 views

stock arch linux with pv-grub on linode

I am attempting to use pv-grub on a stock arch linux instance on linode by following this post:- http://forum.linode.com/viewtopic.php?p=49387 Unfortunately, I am unable to get my pv-grub enabled ...
0 votes
0 answers
215 views

Debian server does not get to grub on boot (possible raid issue)

First a bit of backstory. I'm working at a small business that runs their own web/mail/file server. The server is running on Debian lenny and I have been trying to update it, I ran into a problem with ...
2 votes
1 answer
1k views

Fedora 11 System - Failed Hard Drive Removed, and Boot gets GRUB Hard Disk Error [closed]

Greetings, I have a machine with a 120GB ATA drive that has what I thought to be non-essential data on it. I also have a 320GB SATA hard drive with the OS/Application/Files (good data I want to keep)....
0 votes
2 answers
4k views

removed files from /tmp/ directory - can't login anymore

I'm a system integrator(evidently noob), and today i've made my first scan with rkhunter, a tool that look into the system for check the presence of rootkits. After that scan i -foolishly- decided to ...
1 vote
2 answers
3k views

Which vmlinuz and initrd.img should I use for 'headless' CentOS installation?

I am pondering reinstalling a CentOS Linux server remotely, by installing CentOS' installer into /boot (GRUB) as per this tutorial: ganesh.me: Install Linux Servers Remotely I notice that there are ...
1 vote
2 answers
327 views

Automatic OS rotation using GRUB

I have several test servers that perform unit tests and hardware tests on some PCI and PCIe boards my company produces. These servers are multi-boot with a number of various Linux distributions and ...
1 vote
1 answer
2k views

KVM virtual machine boot messages

Just wondering if anyone knows of a way to stop the following boot messages with a centos 6.5 vm created with qemu-kvm When I start the vm there is a slight delay as the vm posts the following boot ...
6 votes
1 answer
5k views

How to configure GRUB loader after apt-get upgrade on Ubuntu 12.04

I have a box with Ubuntu 12.04, and just did a apt-get upgrade. I'm presented with a dialogue to update my GRUB bootloader, but with the following message: The GRUB boot loader was previously ...
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-...
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. ...
0 votes
0 answers
147 views

CentOS grub.conf template?

I want to add some parameters to the kernel line in grub.conf, but I want to make sure that when the kernel is updated that those parameters persist. How is the format determined? Is there a template ...
11 votes
3 answers
18k views

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 ...
5 votes
2 answers
21k views

X86 Solaris boot failure

We had a power outage last weekend that seems to have done some very bad things to one of our x86 Solaris machines. It is refusing to boot, and dropping me to the "grub>" prompt when started. I can ...
1 vote
4 answers
6k views

skip fsck on boot on ubuntu 10.04 server

We are sitting here in front of an ubuntu 10.04 server who insists doing a lengthy checkdisk during reboot. We see one option to edit the kernel boot options line in grub to skip the check. What ...
3 votes
0 answers
3k views

How can I determine if nohz=off (CentOS 6.4 64bit - Hyper-V)

I've edited /boot/grub/grub.conf and added nohz=off to the command line of the default kernel. I do not see any difference, kernel is compiled with 1000Hz, but when I test with the following tool: ...
2 votes
2 answers
4k views

Does the initramfs image file need to be updated whenever grub.conf is modified?

I am trying to puzzle out a linux boot configuration problem involving legacy grub (0.97), LVM2, and dracut and trying to eliminate a few red herrings. My trial and error process goes like so: ...
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 ...
0 votes
2 answers
4k views

grub always will boot to grub command line

I have a remote CentOS 6.4 server (with KVM access), when I received the server it was running with LVM on single disk (sda) I managed to remove LVM and install raid 1 in sda and sdb disks the ...
0 votes
1 answer
2k views

Accidentally ran grub-install incorrectly, now have a grub prompt but no menu

tl;dr: I fat-fingered grub-install, then "correctly" re-issued it targeting the /boot filesystem on /dev/sda1 but it isn't reading grub/grub.conf unless I expressly tell it where to look using the ...
1 vote
3 answers
7k views

How can one choose a new kernel on boot, running a dedicated server?

As part of installing proxmox on a dedicated server running Debian, it installed a new kernel. As part of the install instructions, I am supposed to choose the new kernel in grub. However I dont have ...
0 votes
1 answer
912 views

Ubuntu 12.04 - Grub1 won't load new kernel

For some reason I can't get grub to load the new kernel. I tried removing the old kernels with aptitude and running update-grub but it still loads the old kernel - even though I've removed it! I ...
0 votes
1 answer
5k views

Fixing a failed grub upgrade on RAID

We just upgraded out dedicated server from Debian Lenny (5.0) to Debian Squeeze (6.0). In the process, the grub upgrade failed. I (perhaps foolishly) followed the advice at https://askubuntu.com/a/...
0 votes
1 answer
3k views

How to boot RHEL5 into failsafe mode from GRUB?

I'm locked out of a Red Hat Linux 5 machine and need to "break in" to reset the root password. I've done this before by interrupting GRUB and putting the machine in failsafe to get to root, but I can ...
11 votes
6 answers
16k views

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 ...
0 votes
1 answer
2k views

An Error Occurred Installing Boot Loader (SLES 10.1)

I am trying to install SLES (SuSE Linux Enterprise Server) SP 1 onto a server but I'm having an issue with the bootloader. I go through the install, more a less default options except Gnome Desktop ...
2 votes
2 answers
1k views

fix kernel on Xen Server hypervisor vps

I have a cloud server hosted at Rackspace, and they use Xen Server hypervisor. I was running Ubuntu 12.04, and really messed up by attempting to do a release upgrade manually. The hypervisor ...
0 votes
3 answers
2k views

Installing grub2 on ubuntu with software raid mirroring

Can someone help me out on this? I accidentally installed grub on usb flash drive during ubuntu server installation. Now I cant boot system without drive attached to server. I want to install grub on ...
1 vote
2 answers
1k views

Strange Ubuntu boot up warning

I have a VM (Xen based), I can boot up the machine but there are some warning during the boot up. Are they normal? If not, how to solved? md: Scanned 0 and added 0 devices. ...
5 votes
1 answer
16k views

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 # ...
0 votes
1 answer
1k views

/usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sdam1

When upgrading the kernel I get: /usr/sbin/grub-probe: error: cannot find a GRUB drive for /dev/sdam1. Check your device.map. Auto-detection of a filesystem of /dev/sdam1 failed. Please report this ...
2 votes
0 answers
644 views

CentOS 6 won't load default (new) kernel, loads (another) older one instead

I am having a weird issue with a CentOS 6 system. I have upgraded the kernel twice now and when I reboot the system it still loads the older kernel. I also had a dc tech watch the screen as it ...
1 vote
0 answers
597 views

GRUB is not loading - error: two disks with number 3

After rebooting my Debian 6.0 server I am getting these errors on load (captured it through kvm console): error: found two disks with number 3 error: superfluous RAID member (2 found) error: file not ...
1 vote
1 answer
166 views

Does Ubuntu 12.04 LTS support booting from RAID 6?

I'm setting up a new Ubuntu server using 12.04.2 LTS. I have five drives that I am setting up in a RAID 6 with LVM. Can I use this for bootup? Or should I make a separate RAID 1 partition for bootup (...
2 votes
1 answer
745 views

I'm stuck on choosing the right Linux bootloader for software RAID-10

I'm installing Gentoo on a SOHO server with 4 500GB Hitachi hard drives. I was able to boot from Live USB, created RAID-10 array /dev/md0 with the following command: mdadm --create /dev/md0 --assume-...
1 vote
0 answers
126 views

Fresh debian squeeze software raid install wont boot

I am following these instructions: http://www.iprobot.net/linux-tutorial/how-to-setup-software-raid-in-debian-ubuntu/ (I used debian-live-6.0.6-amd64-gnome-desktop.iso and DD'd that onto a usb key, ...

1
4
5
6 7 8