WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] LVM on dom0?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] LVM on dom0?
From: "Lonny Selinger" <lonny@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 16 Feb 2007 15:01:36 -0600 (CST)
Delivery-date: Fri, 16 Feb 2007 13:00:58 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.5
I've spent the past while researching this but I'm just not finding a
solution. I've been trying to get my xen kernel booting on a pretty much stock
CentOS 4.4 installation. I installed Xen from src rpm and installed all the
requisite software and I'm sure it's with the ram disk but I can't figure out
how to resolve this.

With a stock kernel here is how my disk is layed out:


Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      219G  2.8G  206G   2% /
/dev/hda1              99M   25M   70M  27% /boot
none                  252M     0  252M   0% /dev/shm


Here is my grub.conf file:
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title XEN (2.6.16.33-zen)
        root (hd0,0)
        kernel /xen.gz dom0_mem=131072 noreboot
        module /vmlinuz-2.6.16.33-xen_3.0.4.1
root=/dev/mapper/VolGroup00-LogVol00 rhgb quiet
        module /initrd-2.6.16.33-xen_3.0.4.1b.img
title CentOS (2.6.9-42.0.8.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.0.8.EL ro root=/dev/VolGroup00/LogVol00 rhgb
quiet
        initrd /initrd-2.6.9-42.0.8.EL.img
title CentOS-4 i386 (2.6.9-42.EL)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-42.EL ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.9-42.EL.img

For my root assignment in the XEN definition I've treid what was originally
suggested and kept it the same as the other kernels
(root=/dev/VolGroup00/LogVol00) as well as what I had seen in someone elses
config and what my current configuration shows
(root=/dev/mapper/VolGroup00-LogVol00). I used the initrd created when I did
the initial install of Xen as well I created another one just to make sure
everything would be included but I'm still getting the error that VolGroup00
can not be found.

The error is the same no matter what I set root to which leads me to believe
I'm missing something else in the initrd.

Can anyone please shed some light here? I'm getting ready to manually create
an initrd but it's a bit extreme as I'm sure there is an easy solution to
this. Any help is greatly appreciated!!



-- 
"The glass is neither half empty nor half full ... it is twice as big as it
needs to be"


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>