CentOS 5 :: Grub On DOMU Will Not See Any Drives

Apr 25, 2009

I have a problem with a VM running Centos 5.3 on a Centos 5.2 hypervisor. Any kernel install makes the system unbootable and I have to copy an old /boot directory to get it to boot again. After some investigation I found that grub was always failing. These are the partitions I have. xvda is the OS virtual drive. xvda1 is the /boot partitition and xvda2 is the LVM partition. A standard default install.

cat /proc/partitions
major minor #blocks name
202 0 14648448 xvda
202 1 104391 xvda1
202 2 14538825 xvda2
202 16 195313152 xvdb
202 17 195310206 xvdb1
253 0 11337728 dm-0
253 1 2031616 dm-1
253 2 190840832 dm-2

Apparently, this file could be suspect. But it seems to be OK according to what I have read.
cat /boot/grub/device.map
# this device map was generated by anaconda
(hd0) /dev/xvda

If I try to re-install grub I get...
Attempt 1)
grub-install hd0
/dev/xvda1 does not have any corresponding BIOS drive.

Attempt 2)
grub-install /dev/xvda
expr: non-numeric argument
/dev/xvda1 does not have any corresponding BIOS drive.

Attempt 3)
grub-install --recheck hd0
Probing devices to guess BIOS drives. This may take a long time.
No suitable drive was found in the generated device map.
Reverting to backed up copy.

Attempt 4)
grub-install --recheck /dev/xvda
Probing devices to guess BIOS drives. This may take a long time.
No suitable drive was found in the generated device map.
Reverting to backed up copy.

Attempt 5)
grub
Probing devices to guess BIOS drives. This may take a long time.

GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists the possible completions of a device/filename.]
grub> root (hd0,0)
root (hd0,0)
Error 21: Selected disk does not exist

This is my grub.conf file...
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that all kernel and initrd paths are relative to /boot/, e.g.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/xvda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-128.1.6.el5xen)
root (hd0,0)
kernel /vmlinuz-2.6.18-128.1.6.el5xen ro root=/dev/VolGroup00/LogVol00
initrd /initrd-2.6.18-128.1.6.el5xen.img

View 1 Replies


ADVERTISEMENT

CentOS 5 :: Installation Of Guest CentOS 5.5 DomU On Centos 5.5 Xen Dom0?

Aug 4, 2010

Problems with xen 3.1.2 creating and installing domU CentOS 5.5 I am trying to do a virt-install --prompt --paravirt, and the install error out while trying to download install RPMs. I have googled for xen centos virt-install and various permutations. I have found similar howtos for 5.4 and 5.3, but they resulted in the same outcome. I did find several posts with similar issues, but no solution was posted.[URL]..

View 4 Replies View Related

General :: Way To Boot A DomU Also From The Grub (if It Is Installed In A Disk Image)?

Mar 25, 2010

I wanna know how to boot a xen from grub2 ? and is there a way to boot a domU also from the grub (if it is installed in a disk image ex :- disk.img)

View 1 Replies View Related

CentOS 5 :: Can't Get Framebuffer On DomU

Mar 28, 2009

I installed Centos5.2 and have created 1 instance so far. It all works great, but when I created the new instance (using command line from ssh and "virt-install") it gave a message saying probing for video, not found, assuming headless and on I went with the install.

But now I have need for a framebuffer because I have a JBOSS/Java Captcha routine which throws an error if it can't use the X11 libraries or some such (I've resolved this before on a headless Amazon instance once by just running "Xorg"). But I can't run Xorg on my DomU because it can't find the fb device!

So, I searched around and did a makedev -d /dev/fb to create it, but it still doesn't work, because, I assume, the hardware isn't found anywhere. So... how do I get Xorg to work in this case? Or do I need to re-do the virt install and somehow force it to find video hardware (but how?)

Here is some salient output:

root@virty{/etc/X11}: uname -a
Linux virty 2.6.18-92.1.22.el5xen #1 SMP Tue Dec 16 12:26:32 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
root@domU{/etc/X11}: uname -a

[Code].....

View 1 Replies View Related

CentOS 5 Networking :: DomU Virbr0 Can't Access Internet?

Feb 1, 2009

I'm running a CentOS 5.2 on dom0 and two CentOS 5.2 on domU.The domU use virbr0.I install domU via GUI interface and did not change anything ... the domUcan ping and connect to dom0 but can't access to Internet !!I search google and find someone mentioned that I need to enable IP forwardin dom0 ... I did but my domU still can't access to Internet.What else I need to do ?The routing table of dom0 is:

# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface

[code]....

View 1 Replies View Related

CentOS 5 Server :: Xen Run Existing Vista Partition In DomU

Oct 8, 2009

I have CentOS 5.3 dual booting with Vista on a machine with AMD-V support. I'm looking to get my existing Vista partition running as a DomU Xen machine. Can this be done without having a dedicated video card?I've got a Xen kernel (from the repositories) installed and running perfectly with my nVidia graphics card. I tried to set up a new DomU through virt-manager and set it up as Vista, pointed it at the physical partition (fakeRAID mapper device) and gave it 2Gb RAM (I have 8Gb total). I got it to do a PXE network boot, knowing that this would fail and therefore no installation would be attempted, as no installation is needed.

This worked well in that the initial PXE boot failed and the machine shut down. When I start it now it seems to actually boot Vista, but I just can't see it! It goes as far as saying "Booting from Hard Disk..." in the viewer window and then doesn't update, although the disk activity and CPU usage are very similar to a machine booting Vista to the login prompt.

View 4 Replies View Related

CentOS 5 :: CentOS 5.5 Start Error On Xen DomU "Installation Not Started" ?

Dec 22, 2010

I installed CentOS 5.5 x86_64 on server as xen dom0. When i try to install CentOS 5.5 x86_64 as guest (hardware virtualization) i see "Kernel panic"...Installation not started: i see install cd's boot menu, press Enter... that's all.

Dom0 kernel: 2.6.18-194.26.1.el5xen, xen 3.0.3
Only standart installation, repo's and update's...

Code: 8b 72 40 48 8d 4c 24 1c 48 8b 7a 20 ba c4 01 00 00 e8 5f 77
RIP [<ffffffff8008192f>] cpuid4_cache_lookup+0x256/0x356
RSP <ffff81010fc75d60>[code]....

View 2 Replies View Related

CentOS 5 Networking :: When I Change Dom0's Firewall Setup, The DomU Will Fail To Connect To Internet?

May 17, 2010

I'm using virtual network (NAT network) for my domU.When I change dom0's firewall setup, the domU will fail to connect to Internet anymore.So far, the only way to bring the network back is reboot dom0 !I try to restart service network and libvirtd on dom0 ... it doesn't work.How can I bring the domU network back without reboot dom0 ?

View 1 Replies View Related

CentOS 5 :: Install DomU 5.3 64bit On 5.4 64bit

Mar 5, 2010

I did a full install on 5.4 64bit. the installation aborted with the following errors:

View 1 Replies View Related

CentOS 5 :: Accessing Windows Desktop And Drives From Centos And Vice Versa?

Oct 3, 2009

i find this is an issue which might be tiresome for everyone except for those experts. Esp. for the computers which are dual booting(both windows xp and centos installed in the same computer), that when we are in CentOS we need to switch onto windows immediately. and vice versa. i see this is possible only by shutting down the centos/windows and then restarting onto the other OS.

Can anyone tell me the the solution to work simultaneously both xp and centos without the need of shutting down and restarting There maybe or may not be the solution...but i find the pleasure to know if there is for example, remote desktop connection in windows xp, is there any solution, we can work on windows via centos or vice versa ( in the same machine),

View 2 Replies View Related

Red Hat :: Booting Centos 5.4 - CentOS CD Not Found In Any Of The Media Drives

Apr 7, 2010

Since RHEL is similar to CentOS posting it here.

Upon booting from DVD, i get the below error: "CentOS CD Not found in any of the media drives. Please insert CentOS CD and press OK."

I have IDE Sony DVD RW AW-G170.

BIOS Setting:

Downloaded the CentOS-5.4-i386-bin-DVD image from centos.org from DVD.torrent using bittorrent file.
When booting from the DVD, it gives me the boot prompt:

Upon pressing enter, the log messages of the boot detect the media drive as: hdc: Sony DVD RW AW-G170 IDE ATAPI CD.

The below steps occur:
1) Select the keyboard type: selected us

2) Select the Language : selected us

3) Select the image:
- Local CDROM
- Hard Drive
- NFS Image
...
...
selected Local CDROM

Then the above error "CentOS CD Not found in any of the media drives. Please insert CentOS CD and press OK."

The booting steps does not ask the for media check step.

The below methods have been tried to solve the problem:

- Burnt the image in another 2 DVDs but the same error "CentOS CD Not found in any of the media drives. Please insert CentOS CD and press OK."

- Upon burning the DVD image , selected the DVD read speed: 8x. Upon burning the DVD selected 18x for burning. and then tried to boot with that DVD

- At the boot prompt entered : linux hdc=cdrom replaced hdc=hdb but the error remains.

View 1 Replies View Related

CentOS 5 :: Install Of Centos Onto A Pair Of 750GB Drives?

Jul 9, 2010

I have run into a bit of a problem. Trying to get a new install of Centos onto a pair of 750GB drives.

These were once part of a software raid setup. The installer reconises them as a ddf1 raid set. so it does not list the drives as 2 individual drives. I can get around this with the nodmraid

View 7 Replies View Related

CentOS 5 Hardware :: Hard Drives - Creating "alternate" Boot Partitions And "alternate" Root File-systems On The New Drives

Aug 10, 2010

I have a Centos 5.5 system with 2* 250 gig sata physical drives, sda and sdb. Each drive has a linux raid boot partition and a Linux raid LVM partition. Both pairs of partitions are set up with raid 1 mirroring. I want to add more data capacity - and I propose to add a second pair of physical drives - this time 1.5 terabyte drives presumably sdc and sdd. I assume I can just plug in the new hardware - reboot the system and set up the new partitions, raid arrays and LVMs on the live system. My first question:

1) Is there any danger - that adding these drives to arbitrary sata ports on the motherboard will cause the re-enumeration of the "sdx" series in such a way that the system will get confused about where to find the existing raid components and/or the boot or root file-systems? If anyone can point me to a tutorial on how the enumeration of the "sdx" sequence works and how the system finds the raid arrays and root file-system at boot time

2) I intend to use the majority of the new raid array as an LVM "Data Volume" to isolate "data" from "system" files for backup and maintenance purposes. Is there any merit in creating "alternate" boot partitions and "alternate" root file-systems on the new drives so that the system can be backed up there periodically? The intent here is to boot from the newer partition in the event of a corruption or other failure of the current boot or root file-system. If this is a good idea - how would the system know where to find the root file-system if the original one gets corrupted. i.e. At boot time - how does the system know what root file-system to use and where to find it?

3) If I create new LVM /raid partitions on the new drives - should the new LVM be part of the same "volgroup" - or would it be better to make it a separate "volgroup"? What are the issues to consider in making that decision?

View 6 Replies View Related

Ubuntu Servers :: Getting Grub On Multiple Drives?

Jun 6, 2010

(tangent to my other thread "Karmic -> Lucid not booting"). I have four hard drives on a Lucid box, and (as it happens) the fourth drive is the boot and root. Could I also install grub on the other three (ext4) hard drives, keeping the same root? Will this disturb the data there? How would the machine decide which copy to use, anyway?

View 2 Replies View Related

Ubuntu Installation :: How Does GRUB Enumerate Drives

Jan 21, 2011

I need to know how GRUB is enumerating my drives. My disk layout as seen by the System Monitor is thulsy (??):

[Code]...

View 9 Replies View Related

General :: Reinstall Grub After Merging Drives?

Nov 22, 2009

I used to have 5 drives on my 120GB Hard disk. I had Windows XP and Kubuntu 9.10 installed.today I started merging the drives after I have finished the process I found that grub menu is not loading instead I get something like thisgrub rescue>I am currently using Mepis 7.0 Live CD how can I restore the grub menu so I can boot to Linux or WindowsThe current HardDisk configuration is

Code:
# fdisk -l
Disk /dev/sda: 120.0 GB, 120034123776 bytes

[code]...

View 6 Replies View Related

OpenSUSE Install :: Re-Installing GRUB With Only NTFS Drives?

May 18, 2011

I used to dual boot openSuse and XP but I yanked out my linux HDD and now my Windows will not boot, I get a GRUB error 22 (missing partition).This PC does not have a CDrom so I can not simply use the fixmbr from an XP recovery console.I have booted into opensuse Live CD (Flash Drive) and tried to use Yast but it gives me an error it can not write because of the partitioning. I also tried the recover shell but am totally lost trying to re-write GRUB because I can not find the menu.lst file.

View 5 Replies View Related

Ubuntu Installation :: Drives From BIOS And Tried Putting GRUB On Both SSD And 1TB HDD

Mar 4, 2011

I'm having some issues getting Ubuntu to boot. I've installed it a bunch of times before, but dual booting and not. Right now though, I'm having issues installing it along with Windows 7, on separate hard drives. Here's my current configuration:

60GB SSD with windows 7
500GB HDD, NTFS, windows 7 data

I bought a 1TB HDD that I want Ubuntu on, but I only want Ubuntu to use 100 GB. I want the other 900GB for Windows 7. So, I put in the Ubuntu CD, chose to edit the partitions manually in the 1TB HDD, created a 100GB ext4 primary partition for linux and a 2GB swap partition, leaving the other 900GB unallocated. Ubuntu seemed to install fine, said it succeeded, and asked me to reboot. When I did, however, my computer boots straight into Windows (no GRUB screen at all). I've tried changing the boot priority to all three of my installed drives from BIOS and tried putting GRUB on both my SSD and 1TB HDD.

View 1 Replies View Related

Ubuntu Installation :: Multi Booting On Two Drives - How To Edit Grub

Apr 7, 2010

I have two hard drives windows 7 is on one of them and Ubuntu 9.10 is on the other. Both drives are 320GB, but different models of drives by Seagate. Both drives are detected by the BIOS and both drives are detected by Windows, but only one drive is detected by Ubuntu during the installation process. I had to literally disconnect the Windows drive to get Ubuntu to recognize the drive I wanted it on. Now that Ubuntu is completely installed and a new Kernel has been downloaded and installed it finally recognizes both drives as existing.

There is some kind of problem with the Installer and the original Kernel that kept it from seeing the second drive. I will literally have to manually edit Grub to get it to boot the Windows drive. How do I edit Grub? and what kind of Grub command would do the trick? I searched for "multi-boot" and literally read them all, there was one thread about multi-boot on multi-drives, but it did not fit because the Installer recognized both drives with that thread. I have to change the boot order in the BIOS to get the drive to boot that I want currently.

View 4 Replies View Related

Ubuntu Installation :: Booting With Grub With Multiple Hard Drives?

Jan 23, 2011

I have 3 hard drives installed to my system, 1TB, 2TB and 500GB drives with the following configuration:

ledi@ledi-ubuntu:~$ sudo parted /dev/sda print
Model: ATA SAMSUNG HD103UJ (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

[Code]...

I can boot to the Ubuntu installation in the 2TB drive. My problem reversed when I reinstalled grub to one of the Ubuntu installations in the 1TB drive. I can boot to any of the OS's in the 1TB drive, but not to the Ubuntu in the 2TB drive. The error message is the same as above. I have no idea what am I doing wrong and I would be really grateful for any assistance.

View 6 Replies View Related

Server :: GRUB Read Error After Adding SATA Drives?

Apr 2, 2010

I installed debian 5.0.4 server on a PC that has both IDE and SATA controllers. I used an IDE HD to install the OS. The input device was a USB DVD unit. The IDE drive showed as /dev/hda and the 4 SATA HDs showed as /dev/sda1, /dev/sda2, /dev/sda3 and /dev/sda4. After the OS was installed the reboot started which brought up an error: GRUB GRUB Read Error

I then disconnected the SATA HDs and rebooted successfully. So no PROBLEMS with just the IDE drive connected, grub works fine. If I reconnect the SATA HDs though grub fails with:

GRUB GRUB Read Error

The problem originated when the installation got to the GRUB implementation. Here the installer engine asked me If I wanted GRUB to be installed on the MBR, to which I said YES. The installer had listed the IDE drive (/dev/hda) before the SATA drives (/dev/sda, /dev/sdb, /dev/sdc, /dev/sdd). After the installation finished and the machine was restarted, BIOS looked at the SATA drives first could not find the grub stages and it displayed an "Read Error".

After realising what was happening I looked at the BIOS settings to see if the HD booting sequence could be altered. The BIOS did indeed list the 4 SATA drives first and the IDE HD last. BUT it would not let me alter the booting sequence. So I was stuck with what the BIOS doing. So I decided I take the IDE drive out and create a 20G partition on the first SATA to accommodate the OS. So now everything works OK.

View 2 Replies View Related

OpenSUSE Install :: 11.4 /Win7 2 Hard Drives - Grub Doesn't Work

Apr 20, 2011

The installation went smoothly however, I have installed SuSE11.4 on my 2nd Hard Drive. Now Grub doesn't work and I want to know where and how to install it.

View 9 Replies View Related

Ubuntu :: Force Grub To Prefer UUID - Drives Attached Fail

Mar 26, 2010

Is there something special I have to do to get grub to use UUID's? I am putting a couple of extra drives into a 9.10 system (default installation) with a SCSI drive for the OS. That SCSI drive was sda when I built the machine but of course gets bumped when I add these other drives. The fstab file contains UUID's. All attempts to boot with the other drives attached fail.

View 1 Replies View Related

CentOS 5 :: 5.6 On 3TB GPT Drives ?

May 30, 2011

I've got a some new servers populated with Hitachi 3tb disks. The disks use the GPT partition table with normal size sectors. I was able to complete an install by using Ubuntu Natty to format the drive and install Grub2, then run a patched version of the CentOS installer following these instructions here: [url]

It works, but I've installed Ubuntu on another partition just in case I need to make any changes to the disk. I'm wondering if I can upgrade to Grub2 and install GPT aware partitioning tools so that I don't have to reboot into Ubuntu to make those changes.

View 1 Replies View Related

Fedora Installation :: Configure Grub To Ended Up Messing Up MBRs Of Both Hard Drives

Aug 26, 2009

I currently have a clean installation of Windows on the Primary drive (13gbs) and I want to install Fedora 11 on the other (7gbs). Should I install grub on the Windows hard drive or will Windows hate on me for that? Earlier I tried installing grub on the slave with the Fedora system, but I had trouble configuring Grub in a way that it would understand and I ended up messing up the MBRs of both hard drives.

View 1 Replies View Related

CentOS 5 :: Grub Doesn't Automatically Boot OS After Install, Hangs At Grub Prompt?

Mar 21, 2011

I have used CentOS for a while and have never run into this issue. I searched all over and didn't see a similar issue anywhere, I did an install of CentOS as a server (no GUI) with only the base. Partition is /boot ext3, size of 100MB. The rest of the drive is partitioned as / with ext3. This is being done on a CompactFlash card of 32GB in size. The BIOS sees it as an IDE drive.

When the install completes and the system reboots, the grub stops at the grub> prompt. There is no menu for OS options. If I do the following commands:
grub>root (hd0,0)
grub>kernel /vmlinuz-2.6.18-194.el5 root=LABEL=/
grub>initrd /initrd-2.6.18-194.el5.img
grub>boot

View 19 Replies View Related

OpenSUSE :: Install Other Distro's In DomU Under Xen?

May 31, 2011

I've setup a server running OpenSUSE 11.4 64bit and configured as a Xen server. I was easily able to install another OpenSUSE 11.4 installation in a DomU and also a Windows DomU. However, I have major issues trying to install CentOS 5.6 in a DomU. For example, if I install right from the DVD, I get a kernel panic using HVM and a "can't find disk, choose disk driver" error using PVM. Some of our server applications require a RHEL5 host distro which is why I'm running CentOS 5.6 for those services.

View 2 Replies View Related

OpenSUSE Install :: 11.2 Crash As Xen-domU?

Nov 13, 2009

I've installed OpenSUSE 11.2 x64 on my Intel Core 2 Quad machine with 8GB of RAM nstallation went perfect. After the main installation, I've installed the XEN-kernel. Booting into the XEN-kernel goes fine.But, now I want to install the first domU (paravirtualized). I use the same installation disk but OpenSUSE 11.2 won't install. It crashes directly. Neither the x64 or the x86 version works.The strange thing is that I can install OpenSUSE 11.2 as "full virtualized".Also, OpenSUSE 11.1 (paravirtualized!) as a domU works perfect!!

View 9 Replies View Related

OpenSUSE Install :: Xen DOmu Not Booting Up?

Feb 9, 2011

problem booting into xen domu. THe console shows this.

[ 1.457957] PCI: Fatal: No config space access function found
[ 1.648029] bootsplash: found, but framebuffer can't handle it!
[ 1.677603] i8042.c: No controller found.

[code]....

View 1 Replies View Related

Debian Configuration :: DomU Freezes With Task

Apr 7, 2016

We have several systems (DELL-Server PowerEdgde) installed with Debian Jessie 8.4 (physical server and VM) and if the server has big Disk I/O (copy, backup with Backup Exec) the VMs freeze.

Console output:
[168960.072192] INFO: task jbd2/xvda2-8:139 blocked for more than 120 seconds.
[168960.072209] Not tainted 3.16.0-4-amd64 #1
[168960.072213] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[168960.072220] jbd2/xvda2-8 D ffff8803e72946e8 0 139 2 0x00000000

[code]....

The system installed: Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt25-1 (2016-03-06)

I installed Jessie with ext4 and ext3, same error!

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved