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

learn more… | top users | synonyms

26
votes
7answers
16k views

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 ...
19
votes
2answers
18k views

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 ...
10
votes
2answers
9k views

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

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 ...
7
votes
6answers
7k 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 ...
7
votes
3answers
130 views

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 ...
6
votes
3answers
163 views

Modifying grub.conf file in linux

I edited the 'grub.conf' file of my linux system and changed the 'timeout' value in it and added some other line so as to solve the timeout issue of 'xm console guest' command. I was fool to assume ...
6
votes
1answer
1k views

How Do You Non-Destructively Check if grub2 is Installed in The Boot Sector or is Being Chain-Loaded by grub1, Without Rebooting?

We're upgrading several systems from Debian Lenny to Squeeze and I'd like to ensure that I haven't missed any grub2 installations. By default, Squeeze chain-boot-loads from grub1 and you have to run ...
5
votes
4answers
431 views

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 ...
5
votes
4answers
1k views

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

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

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 ...
4
votes
2answers
3k 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 ...
4
votes
6answers
2k views

Easy Bootloader for USB Thumb Drives

Are there any bootloaders designed for usb drives that make it easy to boot multiple distributions and utilities. I've installed sysrescuecd, supergrub, ultimate boot cd and other various linux ...
4
votes
1answer
275 views

Grub 1.99 default?

I have been running into an issue. I have my grub set to run the only OS on power on, and the BIOS to automatically restart the machine if it dies. The issue is that if the machine dies (from say a ...
4
votes
3answers
21k views

How do I chain boot from grub to syslinux?

I am expanding my rescue usb flash disk. The USB's partition is bootable, and I have installed GRUB to the MBR of the jump drive. It works pretty well - I can boot Freedos and run some utilities,and I ...
4
votes
3answers
608 views

how to get a linux image and restore it on another computer

I am trying to use dd command to accomplish complete restore of a linux image on a new computer. I have two partitions sda1(main) and sda2(extended), I took a backup of mbr image using: dd ...
4
votes
2answers
582 views

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 ...
4
votes
1answer
939 views

Booting Nexenta root mirror results in GRUB error “Filesystem type unknown, partition type 0xbf”

I have a Nexenta system that's been running fine for the last few years. Recently one of the system disks failed --- the syspool was part of a ZFS mirror. If I configure the system's BIOS to boot ...
4
votes
1answer
3k 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 # ...
4
votes
2answers
1k views

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 ...
4
votes
2answers
2k 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 ...
3
votes
3answers
2k 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
1answer
939 views

EC2 issue using PV-Grub and custom kernel: error 21 selected disk does not exist

Over on EC2 I am trying to setup AMI's for PLD-Linux that use the new features that allow running custom kernels from inside the AMI using PV-Grub. I've setup custom AMI's many times before but can't ...
3
votes
2answers
3k views

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 ...
3
votes
1answer
799 views

Why does 'aptitude safe-upgrade' cause Ubuntu's boot to hang on “Waiting for root file system”?

I launched an Ubuntu EBS instance on Amazon EC2 using the Ubuntu's very own latest AMI for 10.04 Lucid, ami-ad36fbc4` After getting the instance up, I ran the command sudo aptitude safe-upgrade ...
3
votes
3answers
1k 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 ...
3
votes
1answer
212 views

prevent mounting of encrypted volume on EC2

I've got a secondary EBS volume attached to my EC2 instances that's encrypted. When restarted, it attempts to reload the volume and gets stuck on luksOpen requesting a passphrase (which, with no ...
2
votes
2answers
3k views

Run fsck -y everytime at startup on my main partition Linux

I have an embedded linux system. I use grub2 for the boot loader. I would like to run an fsck -y /dev/sda on /dev/sda every time it boots--even when the system had a power loss and the reboot command ...
2
votes
3answers
6k 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 this ...
2
votes
2answers
2k views

Kernel Upgrade - Grub default

I'm planning on compiling my own kernel, which I've done many times before but as always there's still a chance this could go wrong and the machine could fail to reboot. This machine is within a ...
2
votes
2answers
519 views

Time drift in Cloud Server - need to mainpulate GRUB config

We are hosting a VPS on a popular host and are experiencing a regular time drift of several minutes a day forward (approx 7). Linux Kernel: 2.6.18-164.11.1.el5 GNU/Linux Distro: CentOS release 5.4 ...
2
votes
1answer
440 views

Can't install grub, missing sda?

all. I've been struggling with this for a few hours. Can't seem to be able to install GRUB. I'm on a VPS, and what's in /dev looks weird to me: drwxr-xr-x 7 root root 1920 Sep 3 11:51 . ...
2
votes
5answers
804 views

Help fixing GRUB for linux/winxp dual boot scenario

a long story here, but basically I had windows xp on sda1 aka (hd0,0) and ubuntu on sdb5 aka (hd1,4) and they were booting fine. Something messed up with ubuntu, I reinstalled, and tried to fix grub.. ...
2
votes
3answers
1k views

Debian boot problems

I've got Debian server with one disk. No dual boot or anything fancy. Just Debian 6.0 (Squeeze). I rebooted the server today and now it doesn't boot. I get the following (from GRUB): error: ...
2
votes
3answers
1k views

Why is GRUB drive enumeration different before and after boot?

I'm looking at a system with Debian/Lenny on a couple of old IDE PATA drives (several RAID-1 partitions including /boot) and a relatively recently added SATA drive. The system works fine but I've ...
2
votes
1answer
919 views

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

How to boot GRUB2 so it mounts “root” on a different drive (remote server without kvm switch)

Summary: I created a copy of the root file system on a raid array (with one disk on it), and im trying to get the system to boot off that newly copied drive. Background: 2 disks of same size in ...
2
votes
1answer
1k views

Unattended grub-pc update

I would like to know how to update grub-pc on a ubuntu 10.04 derivative distro without the configure grub-pc ncurses based dialog. I have tried examining debconf-get-selections before and after as ...
2
votes
1answer
444 views

Debian - corrupted GRUB

I have installed Xen on Debian following the official manual from debian.org. After that I runned grub-update and some time later removed Xen, including xen kernel. I runned grub-update one more time, ...
2
votes
2answers
1k 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
2answers
349 views

how to restore grub

During copying files via lan my Ubuntu Server 10.04 hung up and I had to reset the computer. After reboot, I got: Grub error 17, so I tried the rescue alternate CD, but I got a info, that no ...
2
votes
2answers
4k views

Debian Lenny as Xen domU fails to boot

here's the thing: I have Debian Lenny running Xen dom0, and I want to install another Debian Lenny as domU. I followed the guide at Debian Wiki to the letter. Installation goes fine until Debian ...
2
votes
1answer
141 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 ...
2
votes
1answer
714 views

Linux server not booting after rebuilding software RAID

I have a dedicated server at 1and1 with a software RAID. I believe it's running CentOS. The hardware team at 1and1 replaced the secondary hard drive (sdb) and then I followed these instructions to ...
2
votes
1answer
285 views

Move grub from USB to HDD

I install Ubuntu from USB. After complete installation I reboot my PC, remove flash frive and try to boot to linux. But I can't. because grub installed into flash drive and I see text: grub ...
2
votes
1answer
2k 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 ...
2
votes
2answers
2k views

Cant boot newly created mdadm software raid in Debian linux squeeze

Hello I have very strange problem creating swraid on Debian Squeeze Linux. I started creating RAID1 from existing standard instalation of Debian on single drive. So I bought new drive and started ...
2
votes
1answer
1k views

Changes to grub in ubuntu 10

I've been running CentOS 5 for some years. I've decided to upgrade to Ubuntu, and with 10.04 just out, this seemed like a good time. I'm a tad paranoid, so I started off with a new set of drives - ...
2
votes
2answers
2k views

how to reinstall grub on ESX 4 system?

I rebooted my esx 4 server today and was greet by a single bit of text that said GRUB and it hung. I am attempting to restore the MBR GRUB partition, but am having difficulties. All i have is the ...