[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] LVM on dom0?

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
                      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:
title XEN (
        root (hd0,0)
        kernel /xen.gz dom0_mem=131072 noreboot
        module /vmlinuz-
root=/dev/mapper/VolGroup00-LogVol00 rhgb quiet
        module /initrd-
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
        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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.